天一电厂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
package com.whyc.pojo;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
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_upspwrdev_alarm",value ="tb_upspwrdev_alarm")
@ApiModel("UPS电源实时告警表")
public class UpsPowerAlarm{
 
    @TableId(value = "num", type = IdType.AUTO)
    private Long num;
 
    private Long recordId;
 
    @ApiModelProperty(value = "电源id")
    private Long powerDeviceId;
 
    @ApiModelProperty(value = "告警id")
    private Integer almType;
 
    @ApiModelProperty(value = "告警等级")
    private Integer almLevel;
 
    @ApiModelProperty(value = "告警开始时间")
    private Date almStartTime;
 
    @ApiModelProperty(value = "告警结束时间")
    private Date almEndTime;
 
    @ApiModelProperty(value = "告警值")
    private Float almValue;
 
    @ApiModelProperty(value = "告警是否确认")
    private Integer almIsConfirmed;
 
    @ApiModelProperty(value = "告警确认时间")
    private Date almConfirmedTime;
 
    @ApiModelProperty(value = "告警状态0-实时告警  1-历史告警  2-取消的告警")
    private Integer almClearedType;
 
    public Long getNum() {
        return num;
    }
 
    public void setNum(Long num) {
        this.num = num;
    }
 
    public Long getRecordId() {
        return recordId;
    }
 
    public void setRecordId(Long recordId) {
        this.recordId = recordId;
    }
 
    public Long getPowerDeviceId() {
        return powerDeviceId;
    }
 
    public void setPowerDeviceId(Long powerDeviceId) {
        this.powerDeviceId = powerDeviceId;
    }
 
    public Integer getAlmType() {
        return almType;
    }
 
    public void setAlmType(Integer almType) {
        this.almType = almType;
    }
 
    public Integer getAlmLevel() {
        return almLevel;
    }
 
    public void setAlmLevel(Integer almLevel) {
        this.almLevel = almLevel;
    }
 
    public Date getAlmStartTime() {
        return almStartTime;
    }
 
    public void setAlmStartTime(Date almStartTime) {
        this.almStartTime = almStartTime;
    }
 
    public Date getAlmEndTime() {
        return almEndTime;
    }
 
    public void setAlmEndTime(Date almEndTime) {
        this.almEndTime = almEndTime;
    }
 
    public Float getAlmValue() {
        return almValue;
    }
 
    public void setAlmValue(Float almValue) {
        this.almValue = almValue;
    }
 
    public Integer getAlmIsConfirmed() {
        return almIsConfirmed;
    }
 
    public void setAlmIsConfirmed(Integer almIsConfirmed) {
        this.almIsConfirmed = almIsConfirmed;
    }
 
    public Date getAlmConfirmedTime() {
        return almConfirmedTime;
    }
 
    public void setAlmConfirmedTime(Date almConfirmedTime) {
        this.almConfirmedTime = almConfirmedTime;
    }
 
    public Integer getAlmClearedType() {
        return almClearedType;
    }
 
    public void setAlmClearedType(Integer almClearedType) {
        this.almClearedType = almClearedType;
    }
}