wjc
2025-05-12 1dd74507e6e80abf235c1ea6c33bdda0987510af
app/src/main/java/com/hdl/photovoltaic/ui/bean/HouseIdBean.java
@@ -13,13 +13,27 @@
    private String homeId;//电站id
    private String powerStationImage;//电站图片
    private String homeName;//电站名称
    private String installedCapacity;//装机容量
    private String installedCapacity;//组串容量(创建电站时输入的组串容量)
    private String power;//发电功率
    private String todayElectricity;//当日发电量
    private String monthElectricity;//当月发电量
    private int powerStationStatus;//电站状态(电站状态   1:正常(运行),2:离线,3:连接中,4:故障)
    private String batteryCapacity;//电池容量
    private String invPower;//逆变器额定功率(单个逆变器额定功率*逆变器数量)
    public String getInvPower() {
        return invPower == null ? "" : invPower;
    }
    public void setInvPower(String invPower) {
        this.invPower = invPower;
    }
    private int powerStationStatus;//电站状态(1:正常(运行),2:离线,3:连接中,4:故障,5:离线有故障,6:部分离线)
    private String localSecret;//本地通讯秘钥
    private boolean isMove = false;//表示是否显示移动组件(true显示)
@@ -37,6 +51,32 @@
    private String address;//详细地址
    /**
     * 调试状态
     * Debugging = 调试中
     * WAIT_DELIVERED = 调试完成
     * Delivered = 已交付
     * SECONDARY_DEBUGGIN = 授权调试
     */
    private String debugStatus;
    public String getDebugStatus() {
        return debugStatus == null ? "" : debugStatus;
    }
    public void setDebugStatus(String debugStatus) {
        this.debugStatus = debugStatus;
    }
    public String getBatteryCapacity() {
        return batteryCapacity == null ? "" : batteryCapacity;
    }
    public void setBatteryCapacity(String batteryCapacity) {
        this.batteryCapacity = batteryCapacity;
    }
    public String getDeliverStatus() {
        return deliverStatus == null ? "" : deliverStatus;
@@ -190,8 +230,8 @@
     */
    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();
    }
}