whycrzg
2021-02-23 351b9a53cb9ecebdf8f79db0117f540d9c42c2a4
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
package com.fgkj.dto;
 
import org.apache.ibatis.type.Alias;
 
import java.io.Serializable;
import java.util.Date;
import java.util.Objects;
 
import com.fasterxml.jackson.annotation.JsonFormat;
@Alias("Batt_rtstate")
public class Batt_rtstate implements Serializable{
    private Integer num;
    private Integer  battGroupId;
    private Integer batt_count;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    private Date rec_datetime;
    private Float online_vol;
    private Float group_vol;
    private Float group_curr;
    private Integer batt_state;
    private Integer batt_test_type;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    private Date batt_test_starttime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    private Date batt_test_recordtime;
    private Integer batt_test_tlong;
    private Float batt_test_cap;
    private Float batt_real_cap;
    private Float batt_rest_cap;
    private Integer batt_rest_power1_time;
    private Integer batt_rest_power2_time;
    private String  note;    
     
    //电池组信息
    private String stationName;
    private String stationName1;
    private String stationName2;
    private String stationName3;
    private String stationName4;
    private String stationName5;
    private String stationId;
 
    public Integer getNum() {
        return num;
    }
 
    public void setNum(Integer num) {
        this.num = num;
    }
 
    public Integer getBattGroupId() {
        return battGroupId;
    }
 
    public void setBattGroupId(Integer battGroupId) {
        this.battGroupId = battGroupId;
    }
 
    public Integer getBatt_count() {
        return batt_count;
    }
 
    public void setBatt_count(Integer batt_count) {
        this.batt_count = batt_count;
    }
 
    public Date getRec_datetime() {
        return rec_datetime;
    }
 
    public void setRec_datetime(Date rec_datetime) {
        this.rec_datetime = rec_datetime;
    }
 
    public Float getOnline_vol() {
        return online_vol;
    }
 
    public void setOnline_vol(Float online_vol) {
        this.online_vol = online_vol;
    }
 
    public Float getGroup_vol() {
        return group_vol;
    }
 
    public void setGroup_vol(Float group_vol) {
        this.group_vol = group_vol;
    }
 
    public Float getGroup_curr() {
        return group_curr;
    }
 
    public void setGroup_curr(Float group_curr) {
        this.group_curr = group_curr;
    }
 
    public Integer getBatt_state() {
        return batt_state;
    }
 
    public void setBatt_state(Integer batt_state) {
        this.batt_state = batt_state;
    }
 
    public Integer getBatt_test_type() {
        return batt_test_type;
    }
 
    public void setBatt_test_type(Integer batt_test_type) {
        this.batt_test_type = batt_test_type;
    }
 
    public Date getBatt_test_starttime() {
        return batt_test_starttime;
    }
 
    public void setBatt_test_starttime(Date batt_test_starttime) {
        this.batt_test_starttime = batt_test_starttime;
    }
 
    public Date getBatt_test_recordtime() {
        return batt_test_recordtime;
    }
 
    public void setBatt_test_recordtime(Date batt_test_recordtime) {
        this.batt_test_recordtime = batt_test_recordtime;
    }
 
    public Integer getBatt_test_tlong() {
        return batt_test_tlong;
    }
 
    public void setBatt_test_tlong(Integer batt_test_tlong) {
        this.batt_test_tlong = batt_test_tlong;
    }
 
    public Float getBatt_test_cap() {
        return batt_test_cap;
    }
 
    public void setBatt_test_cap(Float batt_test_cap) {
        this.batt_test_cap = batt_test_cap;
    }
 
    public Float getBatt_real_cap() {
        return batt_real_cap;
    }
 
    public void setBatt_real_cap(Float batt_real_cap) {
        this.batt_real_cap = batt_real_cap;
    }
 
    public Float getBatt_rest_cap() {
        return batt_rest_cap;
    }
 
    public void setBatt_rest_cap(Float batt_rest_cap) {
        this.batt_rest_cap = batt_rest_cap;
    }
 
    public Integer getBatt_rest_power1_time() {
        return batt_rest_power1_time;
    }
 
    public void setBatt_rest_power1_time(Integer batt_rest_power1_time) {
        this.batt_rest_power1_time = batt_rest_power1_time;
    }
 
    public Integer getBatt_rest_power2_time() {
        return batt_rest_power2_time;
    }
 
    public void setBatt_rest_power2_time(Integer batt_rest_power2_time) {
        this.batt_rest_power2_time = batt_rest_power2_time;
    }
 
    public String getNote() {
        return note;
    }
 
    public void setNote(String note) {
        this.note = note;
    }
 
    public String getStationName() {
        return stationName;
    }
 
    public void setStationName(String stationName) {
        this.stationName = stationName;
    }
 
    public String getStationName1() {
        return stationName1;
    }
 
    public void setStationName1(String stationName1) {
        this.stationName1 = stationName1;
    }
 
    public String getStationName2() {
        return stationName2;
    }
 
    public void setStationName2(String stationName2) {
        this.stationName2 = stationName2;
    }
 
    public String getStationName3() {
        return stationName3;
    }
 
    public void setStationName3(String stationName3) {
        this.stationName3 = stationName3;
    }
 
    public String getStationName4() {
        return stationName4;
    }
 
    public void setStationName4(String stationName4) {
        this.stationName4 = stationName4;
    }
 
    public String getStationName5() {
        return stationName5;
    }
 
    public void setStationName5(String stationName5) {
        this.stationName5 = stationName5;
    }
 
    public String getStationId() {
        return stationId;
    }
 
    public void setStationId(String stationId) {
        this.stationId = stationId;
    }
 
    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        Batt_rtstate that = (Batt_rtstate) o;
        return Objects.equals(battGroupId, that.battGroupId) && Objects.equals(batt_count, that.batt_count) && Objects.equals(rec_datetime, that.rec_datetime) && Objects.equals(online_vol, that.online_vol) && Objects.equals(group_vol, that.group_vol) && Objects.equals(group_curr, that.group_curr) && Objects.equals(batt_state, that.batt_state) && Objects.equals(batt_test_type, that.batt_test_type) && Objects.equals(batt_test_starttime, that.batt_test_starttime) && Objects.equals(batt_test_recordtime, that.batt_test_recordtime) && Objects.equals(batt_test_tlong, that.batt_test_tlong) && Objects.equals(batt_test_cap, that.batt_test_cap) && Objects.equals(batt_real_cap, that.batt_real_cap) && Objects.equals(batt_rest_cap, that.batt_rest_cap) && Objects.equals(batt_rest_power1_time, that.batt_rest_power1_time) && Objects.equals(batt_rest_power2_time, that.batt_rest_power2_time) && Objects.equals(note, that.note) && Objects.equals(stationName, that.stationName) && Objects.equals(stationName1, that.stationName1) && Objects.equals(stationName2, that.stationName2) && Objects.equals(stationName3, that.stationName3) && Objects.equals(stationName4, that.stationName4) && Objects.equals(stationName5, that.stationName5) && Objects.equals(stationId, that.stationId);
    }
 
    @Override
    public int hashCode() {
        return Objects.hash(battGroupId, batt_count, rec_datetime, online_vol, group_vol, group_curr, batt_state, batt_test_type, batt_test_starttime, batt_test_recordtime, batt_test_tlong, batt_test_cap, batt_real_cap, batt_rest_cap, batt_rest_power1_time, batt_rest_power2_time, note, stationName, stationName1, stationName2, stationName3, stationName4, stationName5, stationId);
    }
 
    @Override
    public String toString() {
        return "Batt_rtstate{" +
                "num=" + num +
                ", battGroupId=" + battGroupId +
                ", batt_count=" + batt_count +
                ", rec_datetime=" + rec_datetime +
                ", online_vol=" + online_vol +
                ", group_vol=" + group_vol +
                ", group_curr=" + group_curr +
                ", batt_state=" + batt_state +
                ", batt_test_type=" + batt_test_type +
                ", batt_test_starttime=" + batt_test_starttime +
                ", batt_test_recordtime=" + batt_test_recordtime +
                ", batt_test_tlong=" + batt_test_tlong +
                ", batt_test_cap=" + batt_test_cap +
                ", batt_real_cap=" + batt_real_cap +
                ", batt_rest_cap=" + batt_rest_cap +
                ", batt_rest_power1_time=" + batt_rest_power1_time +
                ", batt_rest_power2_time=" + batt_rest_power2_time +
                ", note='" + note + '\'' +
                ", stationName='" + stationName + '\'' +
                ", stationName1='" + stationName1 + '\'' +
                ", stationName2='" + stationName2 + '\'' +
                ", stationName3='" + stationName3 + '\'' +
                ", stationName4='" + stationName4 + '\'' +
                ", stationName5='" + stationName5 + '\'' +
                ", stationId='" + stationId + '\'' +
                '}';
    }
}