mac
2024-05-30 2b805d413e924bc0a8e80e1280208d9af8d93cb1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
package com.hdl.photovoltaic.ui.bean;
 
import java.io.Serializable;
 
/**
 * 警告消息实体
 */
public class MessageBean implements Serializable {
 
    private Long msgId;//消息id
    private String type;//FAULT:故障,WARN:告警,EVENT:事件
    private String title;//标题
    private String homeId;//电站id
    private String homeName;//电站名称
    private String status;//UNTREATED:未处理,PROCESSED:已处理
    private Long createTime;//消息时间(报警时间)
 
    private String deviceOidId;//设备oid id
    private String deviceOid;//设备oid
    private String deviceDesc;//设备备注
 
 
    private String deviceType;//设备类型(INV : 逆变器, BMS : BMS控制盒, BATTERY : 电池单元)
    private String deviceTypeDesc;//设备类型描述
 
 
    private String typeDesc;//类型描述
    private String effectScope;//影响范围 NO_EFFECT : 无影响范围报警
    private String effectScopeDesc;//影响范围描述
 
    private String address;//详细地址
 
 
    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;
    }
 
    public void setDeviceOidId(String deviceOidId) {
        this.deviceOidId = deviceOidId;
    }
 
    public String getDeviceOid() {
        return deviceOid == null ? "" : deviceOid;
    }
 
    public void setDeviceOid(String deviceOid) {
        this.deviceOid = deviceOid;
    }
 
    public String getDeviceDesc() {
        return deviceDesc == null ? "" : deviceDesc;
    }
 
    public void setDeviceDesc(String deviceDesc) {
        this.deviceDesc = deviceDesc;
    }
 
    public String getTypeDesc() {
        return typeDesc == null ? "" : typeDesc;
    }
 
    public void setTypeDesc(String typeDesc) {
        this.typeDesc = typeDesc;
    }
 
    public String getEffectScope() {
        return effectScope == null ? "" : effectScope;
    }
 
    public void setEffectScope(String effectScope) {
        this.effectScope = effectScope;
    }
 
    public String getEffectScopeDesc() {
        return effectScopeDesc == null ? "" : effectScopeDesc;
    }
 
    public void setEffectScopeDesc(String effectScopeDesc) {
        this.effectScopeDesc = effectScopeDesc;
    }
 
    public String getAddress() {
        return address == null ? "" : address;
    }
 
    public void setAddress(String address) {
        this.address = address;
    }
 
    public HouseInfoBean.Location getLocation() {
        return location;
    }
 
    public void setLocation(HouseInfoBean.Location location) {
        this.location = location;
    }
 
 
    public Long getMsgId() {
        return msgId;
    }
 
    public void setMsgId(Long msgId) {
        this.msgId = msgId;
    }
 
    public String getType() {
        return type == null ? "" : type;
    }
 
    public void setType(String type) {
        this.type = type;
    }
 
    public String getTitle() {
        return title == null ? "" : title;
    }
 
    public void setTitle(String title) {
        this.title = title;
    }
 
    public String getHomeId() {
        return homeId == null ? "" : homeId;
    }
 
    public void setHomeId(String homeId) {
        this.homeId = homeId;
    }
 
    public String getHomeName() {
        return homeName == null ? "" : homeName;
    }
 
    public void setHomeName(String homeName) {
        this.homeName = homeName;
    }
 
    public String getStatus() {
        return status == null ? "" : status;
    }
 
    public void setStatus(String status) {
        this.status = status;
    }
 
    public Long getCreateTime() {
        return createTime;
    }
 
    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }
 
 
    public boolean isRead() {
        return isRead;
    }
 
    public void setRead(boolean read) {
        isRead = read;
    }
 
 
    /**
     * 电站完整的地址
     *
     * @return -
     */
    public String getLocationAddress() {
 
        return location.getNationName() + ">" + location.getProvinceName() + ">" + location.getCityName() + ">" + address;
 
    }
 
 
}