lxw
2023-05-25 f3c27fb78447449a950ba73c5e72ceda64ad8a12
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
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 com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
 
import java.io.Serializable;
import java.util.Date;
 
/**
 * <p>
 * 
 * </p>
 *
 * @author lxw
 * @since 2021-12-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName(schema = "db_pwrdev_data_rt",value ="tb_pwrdev_acdata")
@ApiModel(value="PwrdevAcdata对象", description="")
public class PwrdevAcdata implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    @TableId(value = "num", type = IdType.AUTO)
    private Long num;
 
    @TableField("PowerDeviceId")
    private Long PowerDeviceId;
 
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date recordDatetime;
 
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @TableField(value = "record_datetime2",exist = false)
    private Date recordDatetime2;
 
    @TableField("acIn1_volA")
    private Float acin1Vola;
 
    @TableField("acIn1_volB")
    private Float acin1Volb;
 
    @TableField("acIn1_volC")
    private Float acin1Volc;
 
    @TableField("acIn1_currA")
    private Float acin1Curra;
 
    @TableField("acIn1_currB")
    private Float acin1Currb;
 
    @TableField("acIn1_currC")
    private Float acin1Currc;
 
    @TableField("acIn2_volA")
    private Float acin2Vola;
 
    @TableField("acIn2_volB")
    private Float acin2Volb;
 
    @TableField("acIn2_volC")
    private Float acin2Volc;
 
    @TableField("acIn2_currA")
    private Float acin2Curra;
 
    @TableField("acIn2_currB")
    private Float acin2Currb;
 
    @TableField("acIn2_currC")
    private Float acin2Currc;
 
    private Float temprature;
 
    @TableField("is_acIn1_over_volA")
    private Integer isAcin1OverVola;
 
    @TableField("is_acIn1_under_volA")
    private Integer isAcin1UnderVola;
 
    @TableField("is_acIn1_less_A")
    private Integer isAcin1LessA;
 
    @TableField("is_acIn1_over_volB")
    private Integer isAcin1OverVolb;
 
    @TableField("is_acIn1_under_volB")
    private Integer isAcin1UnderVolb;
 
    @TableField("is_acIn1_less_B")
    private Integer isAcin1LessB;
 
    @TableField("is_acIn1_over_volC")
    private Integer isAcin1OverVolc;
 
    @TableField("is_acIn1_under_volC")
    private Integer isAcin1UnderVolc;
 
    @TableField("is_acIn1_less_C")
    private Integer isAcin1LessC;
 
    @TableField("is_acIn1_thunder_err")
    private Integer isAcin1ThunderErr;
 
    @TableField("is_acIn2_over_volA")
    private Integer isAcin2OverVola;
 
    @TableField("is_acIn2_under_volA")
    private Integer isAcin2UnderVola;
 
    @TableField("is_acIn2_less_A")
    private Integer isAcin2LessA;
 
    @TableField("is_acIn2_over_volB")
    private Integer isAcin2OverVolb;
 
    @TableField("is_acIn2_under_volB")
    private Integer isAcin2UnderVolb;
 
    @TableField("is_acIn2_less_B")
    private Integer isAcin2LessB;
 
    @TableField("is_acIn2_over_volC")
    private Integer isAcin2OverVolc;
 
    @TableField("is_acIn2_under_volC")
    private Integer isAcin2UnderVolc;
 
    @TableField("is_acIn2_less_C")
    private Integer isAcin2LessC;
 
    @TableField("is_acIn2_thunder_err")
    private Integer isAcin2ThunderErr;
 
    @TableField("is_acIn1_powerdown")
    private Integer isAcin1Powerdown;
 
    @TableField("is_acIn1_monitorerr")
    private Integer isAcin1Monitorerr;
 
    @TableField("is_acIn2_powerdown")
    private Integer isAcin2Powerdown;
 
    @TableField("is_acIn1_trip")
    private Integer isAcin1Trip;
 
    @TableField("is_acIn2_trip")
    private Integer isAcin2Trip;
 
    private Integer isFsw1Sw1trip;
 
    private Integer isFsw1Sw2trip;
 
    private Integer isFsw1Sw3trip;
 
    private Integer isFsw1Sw4trip;
 
    private Integer isFsw1Sw5trip;
 
    private Integer isFsw1Sw6trip;
 
    private Integer isFsw1Sw7trip;
 
    private Integer isFsw1Sw8trip;
 
    private Integer isFsw1Sw9trip;
 
    private Integer isFsw2Sw1trip;
 
    private Integer isFsw2Sw2trip;
 
    private Integer isFsw2Sw3trip;
 
    private Integer isFsw2Sw4trip;
 
    private Integer isFsw2Sw5trip;
 
    private Integer isFsw2Sw6trip;
 
    private Integer isFsw2Sw7trip;
 
    private Integer isFsw2Sw8trip;
 
    private Integer isFsw2Sw9trip;
 
    private Integer isTotalAlarm;
 
    @ApiModelProperty("字段判断是否数据有效,是否通讯超时")
    @TableField(exist = false)
    private Integer commStatus;
 
 
}