wjc
6 天以前 923e59c7e538300d822eb7bf6d43a5465fb1743c
app/src/main/java/com/hdl/photovoltaic/ui/bean/MessageBean.java
@@ -13,11 +13,64 @@
    private String homeId;//电站id
    private String homeName;//电站名称
    private String status;//UNTREATED:未处理,PROCESSED:已处理
    private Long createTime;//消息时间(报警时间)
    private Long createTime = 0L;//消息时间(报警时间)
    private String deviceOidId;//设备oid id
    private String deviceOid;//设备oid
    private String deviceDesc;//设备备注
    public String getPowerStationImage() {
        return powerStationImage == null ? "" : powerStationImage;
    }
    public void setPowerStationImage(String powerStationImage) {
        this.powerStationImage = powerStationImage;
    }
    public Long getUnreadCount() {
        return unreadCount;
    }
    public void setUnreadCount(Long unreadCount) {
        this.unreadCount = unreadCount;
    }
    private String powerStationImage;//电站图片
    private Long unreadCount = 0L;//电站未读消息数
    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 : 无影响范围报警
@@ -26,9 +79,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;
@@ -167,9 +236,7 @@
     * @return -
     */
    public String getLocationAddress() {
        return location.getNationName() + ">" + location.getProvinceName() + ">" + location.getCityName() + ">" + address;
    }