hxb
2023-12-15 3b47201d878ba8ff973b84baf15942475688e964
HDLLinkLocalSdk/src/main/java/com/hdl/sdk/link/core/bean/gateway/GatewayBean.java
@@ -77,9 +77,10 @@
    private String deviceId;
    /**
     * sid
     * 毫米波sid
     */
    private String sid;
    private String spk = "energy.hdl_inverter";
@@ -87,9 +88,14 @@
    private String systemStatusDesc;//云端-状态
    private String hwVersion;//云端-软件版本号
    private String categorySecondName;//云端-设备类型(产品二级分类名称)
    /**
     * 设备来源(自定义:0=表示网关;1=表示平台)
     */
    private String src;
    //子网号/设备号
    private String addresses;
@@ -100,6 +106,26 @@
    private String powerPvNow;//发电功率
    private String totalElectricityPvToday;//今日发电量
    /**
     * 房间归属
     */
    private List<String> uids = new ArrayList<>();
    public List<String> getUids() {
        return uids;
    }
    public void setUids(List<String> uids) {
        this.uids = uids;
    }
    public String getSrc() {
        return src == null ? "" : this.src;
    }
    public void setSrc(String src) {
        this.src = src;
    }
    public String getAesKey() {
        return aesKey == null ? "" : aesKey;
@@ -219,7 +245,7 @@
     */
    @NonNull
    public String getGatewayType() {
        return gatewayType == null ? "" : gatewayType;
        return gatewayType == null ? gateway_type == null ? "" : gateway_type : gatewayType;
    }
    /**
@@ -371,21 +397,26 @@
    }
    public String getSystemStatusDesc() {
        return systemStatusDesc == null ? "" : systemStatusDesc;
    }
    public void setSystemStatusDesc(String systemStatusDesc) {
        this.systemStatusDesc = systemStatusDesc;
    }
    public String getHwVersion() {
        return hwVersion == null ? "" : hwVersion;
    }
    public void setHwVersion(String hwVersion) {
        this.hwVersion = hwVersion;
    }
    public String getCategorySecondName() {
        return categorySecondName == null ? "" : categorySecondName;
@@ -395,42 +426,52 @@
        this.categorySecondName = categorySecondName;
    }
    public String getAddresses() {
        return addresses == null ? "" : addresses;
    }
    public void setAddresses(String addresses) {
        this.addresses = addresses;
    }
    public int getDeviceStatus() {
        return deviceStatus;
    }
    public void setDeviceStatus(int deviceStatus) {
        this.deviceStatus = deviceStatus;
    }
    public String getPowerPvNow() {
        return powerPvNow == null ? "" : powerPvNow;
    }
    public void setPowerPvNow(String powerPvNow) {
        this.powerPvNow = powerPvNow;
    }
    public String getTotalElectricityPvToday() {
        return totalElectricityPvToday == null ? "" : totalElectricityPvToday;
    }
    public void setTotalElectricityPvToday(String totalElectricityPvToday) {
        this.totalElectricityPvToday = totalElectricityPvToday;
    }
    public String getSpk() {
        return spk == null ? "" : spk;
    }
    public void setSpk(String spk) {
        this.spk = spk;
    }