| | |
| | | private HouseInfoBean.Location location;//电站地址 |
| | | private String localSecret;//所属电站的本地密钥 |
| | | |
| | | private boolean ogMaster;//离网逆变器才返回 |
| | | |
| | | public boolean isOgMaster() { |
| | | return ogMaster; |
| | | } |
| | | |
| | | public void setOgMaster(boolean ogMaster) { |
| | | this.ogMaster = ogMaster; |
| | | } |
| | | |
| | | |
| | | public String getSystemStatusDesc() { |
| | | return systemStatusDesc == null ? "" : systemStatusDesc; |
| | |
| | | } |
| | | |
| | | public String getSid() { |
| | | return sid == null ? "" : sid; |
| | | |
| | | return TextUtils.isEmpty(sid) ? "" : sid; |
| | | } |
| | | |
| | | public void setSid(String sid) { |
| | |
| | | */ |
| | | public String getHomeAddress() { |
| | | if (this.location == null) { |
| | | return this.address; |
| | | return this.getAddress(); |
| | | } |
| | | return this.location.getNationName() + this.location.getProvinceName() + this.location.getCityName() + this.address; |
| | | return this.location.getNationName() + " " + this.location.getProvinceName() + " " + this.location.getCityName() + " " + this.getAddress(); |
| | | } |
| | | |
| | | public String getHomeNameAndDeviceName() { |
| | | return homeName + "_" + this.getName(); |
| | | return this.getHomeName() + "_" + this.getName(); |
| | | } |
| | | } |