wjc
6 天以前 86c0d87ee254c23eec2e2f530b996e9219deadb4
sdk/src/main/java/com/hdl/sdk/link/core/bean/gateway/GatewayBean.java
@@ -54,9 +54,15 @@
     */
    private String access_mode;
    /**
     * 是否主网关 true false
     * 是否主网关 true false,用于link网驱动
     */
    private String master;
    /**
     * 是否主网关 true false 用于光伏驱动
     */
    private boolean ogMaster;//离网逆变器才返回
    /**
     * 是否加密
     */
@@ -82,8 +88,7 @@
    private String sid;
    private String spk = "energy.hdl_inverter";
    private String spk = "";
    private String systemStatusDesc;//云端-状态
@@ -108,14 +113,65 @@
    private String deviceType;
    private String outputActivePower;//逆变器输出有功功率
    public boolean isActivate() {
        return activate;
    }
    public void setActivate(boolean activate) {
        this.activate = activate;
    }
    private boolean activate;//是否激活设备(true:激活;false:未激活)
    public String getWorkStatusDesc() {
        return workStatusDesc == null ? "" : this.workStatusDesc;
    }
    public void setWorkStatusDesc(String workStatusDesc) {
        this.workStatusDesc = workStatusDesc;
    }
    private String workStatusDesc;//工作状态(负载中心设备)
    private  boolean popUpgrade;//改设备是否有弹窗升级
    private  boolean subPopUpgrade;//下挂设备是否有弹窗升级
    public boolean isSubPopUpgrade() {
        return subPopUpgrade;
    }
    public void setSubPopUpgrade(boolean subPopUpgrade) {
        this.subPopUpgrade = subPopUpgrade;
    }
    public boolean isPopUpgrade() {
        return popUpgrade;
    }
    public void setPopUpgrade(boolean popUpgrade) {
        this.popUpgrade = popUpgrade;
    }
    /**
     * 房间归属
     */
    private List<String> uids = new ArrayList<>();
    public boolean isOgMaster() {
        return ogMaster;
    }
    public void setOgMaster(boolean ogMaster) {
        this.ogMaster = ogMaster;
    }
    public List<String> getUids() {
        return uids;
    }
    public void setUids(List<String> uids) {
        this.uids = uids;
@@ -399,7 +455,6 @@
    }
    public String getSystemStatusDesc() {
        return systemStatusDesc == null ? "" : systemStatusDesc;
    }
@@ -479,7 +534,7 @@
    }
    public String getDeviceType() {
        return deviceType==null?"":deviceType;
        return deviceType == null ? "" : deviceType;
    }
    public void setDeviceType(String deviceType) {