whyclxw
2025-05-27 b1996cd1823d1fbd5c80f2f6d8f33db33a1bde18
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
package com.whyc.dto.Real;
 
import lombok.Data;
 
@Data
public class TopDto {
    private Integer systemState;  //系统状态
    private Integer devState;    //设备状态
    private Integer battState;   //电池状态
    private Integer pwrState;    //电源状态
    private Float vbusVol;      //母线电压
    private Float onlineVol;   //在线电压
    private Integer battALmNum;//电池组实时告警数
    private Integer devALmNum; //设备实时告警数
    private Integer pwrALmNum; //电源实时告警数
    private Integer allALmNum; //电源实时告警数
    //仅在设备状态为核容测试有效
    private Float captestGroupvol;     //组端电压
    private Float captestCurr;           //电池电流
    private Integer captestTimelong;    //测试时长
    private Float captestCap;           //测试容量
    private Float restCap;              //预估剩余容量
    private Float restTime;           //预估剩余续航时间
 
    public TopDto() {
        this.systemState = 0;
        this.devState = 0;
        this.battState = 0;
        this.pwrState = 0;
        this.vbusVol = 0.0f;
        this.onlineVol = 0.0f;
        this.battALmNum = 0;
        this.devALmNum = 0;
        this.pwrALmNum = 0;
        this.captestGroupvol = 0.0f;
        this.captestCurr = 0.0f;
        this.captestTimelong = 0;
        this.captestCap = 0.0f;
        this.restCap = 0.0f;
        this.restTime = 0.0f;
        this.allALmNum = 0;
    }
}