| | |
| | | private String homeName;//电站名称 |
| | | private String installedCapacity;//装机容量 |
| | | private String power;//发电功率 |
| | | private String todayElectricity;//今天发电量 |
| | | private String todayElectricity;//当日发电量 |
| | | private String monthElectricity;//当月发电量 |
| | | |
| | | |
| | | private int powerStationStatus;//电站状态(电站状态 1:正常(运行),2:离线,3:连接中,4:故障) |
| | | private String localSecret;//本地通讯秘钥 |
| | |
| | | |
| | | |
| | | private boolean state_select = false;//表示是否显示选中组件(true显示) |
| | | |
| | | private HouseInfoBean.Location location;//电站地址 |
| | | |
| | | |
| | | private String address;//详细地址 |
| | | |
| | | |
| | | public boolean isState_select() { |
| | |
| | | this.todayElectricity = todayElectricity; |
| | | } |
| | | |
| | | public String getMonthElectricity() { |
| | | return monthElectricity == null ? "" : monthElectricity; |
| | | } |
| | | |
| | | public void setMonthElectricity(String monthElectricity) { |
| | | this.monthElectricity = monthElectricity; |
| | | } |
| | | |
| | | public int getPowerStationStatus() { |
| | | return powerStationStatus; |
| | | } |
| | |
| | | this.localSecret = localSecret; |
| | | } |
| | | |
| | | public HouseInfoBean.Location getLocation() { |
| | | return location == null ? new HouseInfoBean.Location() : location; |
| | | } |
| | | |
| | | public void setLocation(HouseInfoBean.Location location) { |
| | | this.location = location; |
| | | } |
| | | |
| | | public String getAddress() { |
| | | return address == null ? "" : address; |
| | | } |
| | | |
| | | public void setAddress(String address) { |
| | | this.address = address; |
| | | } |
| | | |
| | | /** |
| | | * 拼住宅地址 |
| | | * |
| | | * @return 住宅地址 |
| | | */ |
| | | public String getHomeAddress() { |
| | | if (this.location == null) { |
| | | return this.address; |
| | | } |
| | | return this.location.getNationName() + this.location.getProvinceName() + this.location.getCityName() + this.address; |
| | | } |
| | | } |