天一电厂UPS动环数据对接,SNMP协议
whycxzp
2024-02-29 ac476c867af05823e33c7746eb2ec37dd26abe7a
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
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
package com.whyc.pojo;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
 
import java.io.Serializable;
import java.util.Date;
 
@TableName(schema = "db_pwrdev_data_rt",value ="tb_upspower_sinal")
@ApiModel("ups电源遥信实时状态信息表")
public class UpsPowerSignal{
 
    @TableId(value = "num", type = IdType.AUTO)
    private Long num;
 
    private Integer powerDeviceId;
 
    @ApiModelProperty(value = "更新时间")
    private Date recordTime;
 
    @ApiModelProperty(value = "bit0:逆变供电;bit1:旁路供电")
    private Integer powerSupplyState;
 
    @ApiModelProperty(value = "bit0:电池自检中   bit1:电池浮充    bit2:电池均充")
    private Integer battState;
 
    @ApiModelProperty(value = "逆变器开机")
    private Integer inverterOn;
 
    @ApiModelProperty(value = "整流器供电状态:bit0:主逆变供电   bit:电池逆变供电")
    private Integer rectifierPowerSupply;
 
    @ApiModelProperty(value = "发电机接入")
    private Integer dynamoAccess;
 
    @ApiModelProperty(value = "输入空开  bit0:输入空开断开  bit1:输入空开不支持")
    private Integer inputSwitchState;
 
    @ApiModelProperty(value = "维修空开  bit0:空开断开   bit1:空开不支持")
    private Integer repireSwitchState;
 
    @ApiModelProperty(value = "旁路空开   bit0: 旁路空开断开    bit1:旁路空开不支持")
    private Integer passSwitchState;
 
    @ApiModelProperty(value = "输出空开   bit0:输出空开断开    bit1:输出空开不支持")
    private Integer outputSwitchState;
 
    @ApiModelProperty(value = "整机工作模式:bit0:正常模式   bit1:变频器模式  bit2:智能并机模式  bit3:智能并机演示模式  bit4:ECO模式   bit5:智能ECO模式   bit6:智能ECO演示模式")
    private Integer machineWorkMode;
 
    @ApiModelProperty(value = "模块在线  bit0:模块1在线  bit1:模块2在线 bit2:模块3在线  ...  bit11:模块12在线 ")
    private Integer modelOnline;
 
    //SNMP北向测点中不存在
    @ApiModelProperty(value = "内置电池空开断开")
    private Integer battInswitchOpen;
 
    //SNMP北向测点中不存在
    @ApiModelProperty(value = "BCB1状态   bit0:BCB1未接入   bit1:BCB1:闭合")
    private Integer bcb1State;
 
    //SNMP北向测点中不存在
    @ApiModelProperty(value = "BCB2状态   bit0:BCB2未接入   bit1:BCB2:闭合")
    private Integer bcb2State;
 
    //SNMP北向测点中不存在
    @ApiModelProperty(value = "BCB3状态   bit0:BCB3未接入   bit1:BCB3:闭合")
    private Integer bcb3State;
 
    //SNMP北向测点中不存在
    @ApiModelProperty(value = "BCB4状态   bit0:BCB4未接入   bit1:BCB4:闭合")
    private Integer bcb4State;
 
    @ApiModelProperty(value = "ups告警1 bit0:逆变器不同步  bit1:主路电压异常  bit2:整流器异常  bit3:逆变器异常  bit4:旁路异常  bit5:电池电压低于下限  bit6:电池电压过高  bit7:电池未接入  bit8:电池电压低于告警  bit9:电池接反  bit10:ParaMonCAN通讯异常  bit11:PowerCAN通讯异常  bit12:整流DSP程序错误  bit13:整流FPGA程序错误  bit14:逆变DSP程序错误  bit15:逆变FPGA程序错误  bit16:旁路DSP程序错误  bit17:旁路FPGA程序错误  bit18:机架内离散总线通讯异常  bit19:机架间离散总线通讯异常  bit20:主控模块设置不匹配  bit21:LBS异常  bit22:紧急关机  bit23:旁路晶闸管故障  bit24:旁路相序反")
    private Integer upsAlm1;
 
    @ApiModelProperty(value = "ups告警2  bit0旁路过流   bit1旁路异常关机  bit2切换次数限制  bit3ECO切换次数限制  bit4ParaPowerCan通讯异常  bit5电池放电限流  bit6放电器故障  bit7充电器故障  bit8LBS连接线异常  bit9电池需维护  bit10电池过温  bit11电池接地故障  bit12主路频率异常  bit13模块过温  bit14从控模块设置不匹配  bit15接口模块设置不匹配  bit16均充超时  bit17辅助电源掉电  bit18主路相序反  bit19整流器软启动失败  bit20用户操作错误  bit21输出熔丝断  bit22输出过载  bit23系统过载  bit24输出过载超时")
    private Integer upsAlm2;
 
    @ApiModelProperty(value = "ups告警3   bit0负载冲击转旁路   bit1并机均流异常   bit2母线异常关机   bit3临机请求转旁路   bit4直流母线过压   bit5MonCAN通讯异常   bit6输入缺零故障   bit7逆变继电器故障   bit8主路反灌   bit9输入电流异常   bit10输出电压异常   bit11输入电流超限   bit12旁路过温   bit13邻机旁路晶闸管故障   bit14并机连接线异常   bit15充电器过温   bit16电池端口短路   bit17电池房环境异常   bit18风扇异常   bit19旁路缺零故障   bit20旁路接管   bit21BCB1 状态异常   bit22BCB2 状态异常   bit23BCB3 状态异常   bit24BCB4 状态异常")
    private Integer upsAlm3;
 
    @ApiModelProperty(value = "ups告警4   bit0旁路SCR风扇异常   bit1平衡电路故障   bit2平衡电路过流   bit3平衡电路过温   bit4失去冗余   bit5容量过载   bit6功率板设置不匹配   bit7旁路设置不匹配   bit8上抽风风扇异常   bit9系统A相输出熔丝断   bit10系统B相输出熔丝断   bit11系统C相输出熔丝断   bit12旁路无效   bit13整流器过流   bit14旁路过流超时   bit15输出零地过压   bit16输入熔丝断   bit17旁路熔丝断")
    private Integer upsAlm4;
 
    //SNMP北向测点中不存在
    @ApiModelProperty(value = "协转与UPS通信故障")
    private Integer upsConnErr;
 
    @ApiModelProperty(value = "并机系统供电状态 bit0-旁路供电  bit1-主路逆变供电  bit2-电池逆变供电")
    private Integer parallelsysPowerstate;
 
    public Long getNum() {
        return num;
    }
 
    public void setNum(Long num) {
        this.num = num;
    }
 
    public Integer getPowerDeviceId() {
        return powerDeviceId;
    }
 
    public void setPowerDeviceId(Integer powerDeviceId) {
        this.powerDeviceId = powerDeviceId;
    }
 
    public Date getRecordTime() {
        return recordTime;
    }
 
    public void setRecordTime(Date recordTime) {
        this.recordTime = recordTime;
    }
 
    public Integer getPowerSupplyState() {
        return powerSupplyState;
    }
 
    public void setPowerSupplyState(Integer powerSupplyState) {
        this.powerSupplyState = powerSupplyState;
    }
 
    public Integer getBattState() {
        return battState;
    }
 
    public void setBattState(Integer battState) {
        this.battState = battState;
    }
 
    public Integer getInverterOn() {
        return inverterOn;
    }
 
    public void setInverterOn(Integer inverterOn) {
        this.inverterOn = inverterOn;
    }
 
    public Integer getRectifierPowerSupply() {
        return rectifierPowerSupply;
    }
 
    public void setRectifierPowerSupply(Integer rectifierPowerSupply) {
        this.rectifierPowerSupply = rectifierPowerSupply;
    }
 
    public Integer getDynamoAccess() {
        return dynamoAccess;
    }
 
    public void setDynamoAccess(Integer dynamoAccess) {
        this.dynamoAccess = dynamoAccess;
    }
 
    public Integer getInputSwitchState() {
        return inputSwitchState;
    }
 
    public void setInputSwitchState(Integer inputSwitchState) {
        this.inputSwitchState = inputSwitchState;
    }
 
    public Integer getRepireSwitchState() {
        return repireSwitchState;
    }
 
    public void setRepireSwitchState(Integer repireSwitchState) {
        this.repireSwitchState = repireSwitchState;
    }
 
    public Integer getPassSwitchState() {
        return passSwitchState;
    }
 
    public void setPassSwitchState(Integer passSwitchState) {
        this.passSwitchState = passSwitchState;
    }
 
    public Integer getOutputSwitchState() {
        return outputSwitchState;
    }
 
    public void setOutputSwitchState(Integer outputSwitchState) {
        this.outputSwitchState = outputSwitchState;
    }
 
    public Integer getMachineWorkMode() {
        return machineWorkMode;
    }
 
    public void setMachineWorkMode(Integer machineWorkMode) {
        this.machineWorkMode = machineWorkMode;
    }
 
    public Integer getModelOnline() {
        return modelOnline;
    }
 
    public void setModelOnline(Integer modelOnline) {
        this.modelOnline = modelOnline;
    }
 
    public Integer getBattInswitchOpen() {
        return battInswitchOpen;
    }
 
    public void setBattInswitchOpen(Integer battInswitchOpen) {
        this.battInswitchOpen = battInswitchOpen;
    }
 
    public Integer getBcb1State() {
        return bcb1State;
    }
 
    public void setBcb1State(Integer bcb1State) {
        this.bcb1State = bcb1State;
    }
 
    public Integer getBcb2State() {
        return bcb2State;
    }
 
    public void setBcb2State(Integer bcb2State) {
        this.bcb2State = bcb2State;
    }
 
    public Integer getBcb3State() {
        return bcb3State;
    }
 
    public void setBcb3State(Integer bcb3State) {
        this.bcb3State = bcb3State;
    }
 
    public Integer getBcb4State() {
        return bcb4State;
    }
 
    public void setBcb4State(Integer bcb4State) {
        this.bcb4State = bcb4State;
    }
 
    public Integer getUpsAlm1() {
        return upsAlm1;
    }
 
    public void setUpsAlm1(Integer upsAlm1) {
        this.upsAlm1 = upsAlm1;
    }
 
    public Integer getUpsAlm2() {
        return upsAlm2;
    }
 
    public void setUpsAlm2(Integer upsAlm2) {
        this.upsAlm2 = upsAlm2;
    }
 
    public Integer getUpsAlm3() {
        return upsAlm3;
    }
 
    public void setUpsAlm3(Integer upsAlm3) {
        this.upsAlm3 = upsAlm3;
    }
 
    public Integer getUpsAlm4() {
        return upsAlm4;
    }
 
    public void setUpsAlm4(Integer upsAlm4) {
        this.upsAlm4 = upsAlm4;
    }
 
    public Integer getUpsConnErr() {
        return upsConnErr;
    }
 
    public void setUpsConnErr(Integer upsConnErr) {
        this.upsConnErr = upsConnErr;
    }
 
    public Integer getParallelsysPowerstate() {
        return parallelsysPowerstate;
    }
 
    public void setParallelsysPowerstate(Integer parallelsysPowerstate) {
        this.parallelsysPowerstate = parallelsysPowerstate;
    }
}