| | |
| | | |
| | | private String homeId; |
| | | private String homeName; |
| | | private String deviceType;//设备类型(INV逆变器,BMS控制盒,BATTERY电池单元) |
| | | private String outputActivePower;//逆变器输出有功功率 |
| | | private String address;//详细地址 |
| | | private HouseInfoBean.Location location;//电站地址 |
| | |
| | | this.location = location; |
| | | } |
| | | |
| | | public String getDeviceType() { |
| | | return TextUtils.isEmpty(deviceType) ? "" : deviceType; |
| | | } |
| | | |
| | | public void setDeviceType(String deviceType) { |
| | | this.deviceType = deviceType; |
| | | } |
| | | /** |
| | | * 拼住宅地址 |
| | | * |
| | |
| | | return this.location.getNationName() + this.location.getProvinceName() + this.location.getCityName() + this.address; |
| | | } |
| | | |
| | | public String getHomeNameAndDeviceName() { |
| | | return homeName + "_" + this.getName(); |
| | | } |
| | | |
| | | } |