whyclxw
2024-11-29 a1acba74cdb0738bd1f1594c42cf6b976949b0d3
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
package com.whyc.pojo.db_power_fk_rt;
 
import com.baomidou.mybatisplus.annotation.IdType;
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.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
 
import java.io.Serializable;
import java.util.Date;
 
/**
 * <p>
 * 
 * </p>
 *
 * @author lxw
 * @since 2024-11-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@TableName(schema ="db_power_fk_rt", value="tb_power_state")
@ApiModel(value="PowerState对象", description="")
public class PowerState implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    @ApiModelProperty(value = "自增ID")
    @TableId(value = "num", type = IdType.AUTO)
    private Long num;
 
    @ApiModelProperty(value = "电源ID")
    private Integer powerId;
 
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date recordTime;
 
    @ApiModelProperty(value = "电源版本[V硬件.软件]")
    private String powerVersion;
 
    @ApiModelProperty(value = "开关状态")
    private Integer powerWorkstat;
 
    @ApiModelProperty(value = "电源工作方向")
    private Integer powerFlow;
 
    @ApiModelProperty(value = "总告警状态[重置全部告警]")
    private Integer allFault;
 
    @ApiModelProperty(value = "继电器状态")
    private Integer relayStat;
 
    @ApiModelProperty(value = "风机状态")
    private Integer fanStat;
 
    @ApiModelProperty(value = "设置的并网输出电流")
    private Float gridIrefCurrSet;
 
    @ApiModelProperty(value = "设置的VBus电压")
    private Float vbusVerfVolSet;
 
    @ApiModelProperty(value = "测试模式")
    private Integer testModelab;
 
    @ApiModelProperty(value = "设置的LLC Buck 电压")
    private Float llcBuckVolSet;
 
    @ApiModelProperty(value = "设置的LLC Buck电流")
    private Float llcBuckCurrSet;
 
    @ApiModelProperty(value = "母线电压")
    private Float vbusVol;
 
    @ApiModelProperty(value = "A相电压(IIC读取)")
    private Float vgridVolaIic;
 
    @ApiModelProperty(value = "B相电压")
    private Float vgridVolbIic;
 
    @ApiModelProperty(value = "C相电压")
    private Float vgridVolcIic;
 
    @ApiModelProperty(value = "A相电流")
    private Float vgridCurraIic;
 
    @ApiModelProperty(value = "B相电流")
    private Float vgridCurrbIic;
 
    @ApiModelProperty(value = "C相电流")
    private Float vgridCurrcIic;
 
    @ApiModelProperty(value = "A相电压(单片机ADC采样)")
    private Float iinvVolaAdc;
 
    @ApiModelProperty(value = "B相电压")
    private Float iinvVolbAdc;
 
    @ApiModelProperty(value = "C相电压")
    private Float iinvVolcAdc;
 
    @ApiModelProperty(value = "A相电流")
    private Float iinvCurraAdc;
 
    @ApiModelProperty(value = "B相电流")
    private Float iinvCurrbAdc;
 
    @ApiModelProperty(value = "C相电流")
    private Float iinvCurrcAdc;
 
    @ApiModelProperty(value = "BUS+正电压")
    private Float vmidVol;
 
    @ApiModelProperty(value = "交流频率")
    private Float gridFreq;
 
    @ApiModelProperty(value = "A相功率")
    private Float powerRmsa;
 
    @ApiModelProperty(value = "B相功率")
    private Float powerRmsb;
 
    @ApiModelProperty(value = "C相功率")
    private Float powerRmsc;
 
    @ApiModelProperty(value = "A相电流有效值")
    private Float igridrmsCurra;
 
    @ApiModelProperty(value = "B相电流有效值")
    private Float igridrmsCurrb;
 
    @ApiModelProperty(value = "C相电流有效值")
    private Float igridrmsCurrc;
 
    @ApiModelProperty(value = "A相电压有效值")
    private Float vgridrmsVola;
 
    @ApiModelProperty(value = "B相电压有效值")
    private Float vgridrmsVolb;
 
    @ApiModelProperty(value = "C相电压有效值")
    private Float vgridrmsVolc;
 
    @ApiModelProperty(value = "A散热器温度")
    private Float degreeTempa;
 
    @ApiModelProperty(value = "B散热器温度")
    private Float degreeTempb;
 
    @ApiModelProperty(value = "C散热器温度")
    private Float degreeTempc;
 
    @ApiModelProperty(value = "PCB板温度")
    private Float degreeTemppcb;
 
    @ApiModelProperty(value = "A相过流(0-正常 1-告警)")
    private Integer acinOverCurra;
 
    @ApiModelProperty(value = "B相过流")
    private Integer acinOverCurrb;
 
    @ApiModelProperty(value = "C相过流")
    private Integer acinOverCurrc;
 
    @ApiModelProperty(value = "BUS过压")
    private Integer busOverVol;
 
    @ApiModelProperty(value = "BUS欠压")
    private Integer busUnderVol;
 
    @ApiModelProperty(value = "A相过压")
    private Integer vgridOverVola;
 
    @ApiModelProperty(value = "B相过压")
    private Integer vgridOverVolb;
 
    @ApiModelProperty(value = "C相过压")
    private Integer vgridOverVolc;
 
    @ApiModelProperty(value = "A相欠压")
    private Integer vgridUnderVola;
 
    @ApiModelProperty(value = "B相欠压")
    private Integer vgridUnderVolb;
 
    @ApiModelProperty(value = "C相欠压")
    private Integer vgridUnderVolc;
 
    @ApiModelProperty(value = "A散热器温度过温")
    private Integer mosaOverTemp;
 
    @ApiModelProperty(value = "B散热器温度过温")
    private Integer mosbOverTemp;
 
    @ApiModelProperty(value = "C散热器温度过温")
    private Integer moscOverTemp;
 
    @ApiModelProperty(value = "风机故障")
    private Integer fanAlarm;
 
    @ApiModelProperty(value = "12V辅助电源故障")
    private Integer vdc12vFault;
 
    @ApiModelProperty(value = "总通信计数")
    private Integer commCountTotal;
 
    @ApiModelProperty(value = "总错误计数")
    private Integer errorCountTotal;
 
    @ApiModelProperty(value = "连续错误计数")
    private Integer errorCount;
 
 
}