wjc
2 天以前 db937c029a3f9dbaec86cbbc944ebbee3ece13be
app/src/main/java/com/hdl/photovoltaic/ui/bean/MessageBean.java
@@ -19,6 +19,39 @@
    private String deviceOid;//设备oid
    private String deviceDesc;//设备备注
    public String getDescription() {
        return description == null ? "" : description;
    }
    public void setDescription(String description) {
        this.description = description;
    }
    public String getRemark() {
        return remark == null ? "" : remark;
    }
    public void setRemark(String remark) {
        this.remark = remark;
    }
    public String getPlan() {
        return plan == null ? "" : plan;
    }
    public void setPlan(String plan) {
        this.plan = plan;
    }
    private String description;//事件内容
    private String remark;//备注
    private String plan;//处理方案
    private String deviceType;//设备类型(INV : 逆变器, BMS : BMS控制盒, BATTERY : 电池单元)
    private String deviceTypeDesc;//设备类型描述
    private String typeDesc;//类型描述
    private String effectScope;//影响范围 NO_EFFECT : 无影响范围报警
    private String effectScopeDesc;//影响范围描述
@@ -26,9 +59,25 @@
    private String address;//详细地址
    private boolean isRead;//是否已经读取
    private boolean isRead;//是否已经读取(true=读取)
    private HouseInfoBean.Location location = new HouseInfoBean.Location();//电站地址
    public String getDeviceType() {
        return deviceType == null ? "" : deviceType;
    }
    public void setDeviceType(String deviceType) {
        this.deviceType = deviceType;
    }
    public String getDeviceTypeDesc() {
        return deviceTypeDesc == null ? "" : deviceTypeDesc;
    }
    public void setDeviceTypeDesc(String deviceTypeDesc) {
        this.deviceTypeDesc = deviceTypeDesc;
    }
    public String getDeviceOidId() {
        return deviceOidId == null ? "" : deviceOidId;
@@ -161,4 +210,14 @@
    }
    /**
     * 电站完整的地址
     *
     * @return -
     */
    public String getLocationAddress() {
        return location.getNationName() + ">" + location.getProvinceName() + ">" + location.getCityName() + ">" + address;
    }
}