whycxzp
2025-06-11 02ccfc21d5d4f767bbd92ecda89cdfcc3283728c
src/main/java/com/whyc/dto/Real/TopDto.java
@@ -4,7 +4,68 @@
@Data
public class TopDto {
    private Integer systemState;
    private Integer devState;
    private Integer battState;
    private Integer systemState;  //系统状态
    private String systemStateName;
    private Integer devState;    //设备状态
    private String devStateName;
    private Integer battState;   //电池状态
    private String battStateName;
    private Integer pwrState;    //电源状态
    private String pwrStateName;
    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;           //预估剩余续航时间
    private String recordtime;         //更新时间
    private String stationName;
    private String provice;
    private String city;
    private String county;
    private String fullName;
    private String powerName;
    private String devName;
    private String battGroupName;
    public TopDto() {
        this.systemState = 0;
        this.systemStateName = "";
        this.devState = 0;
        this.devStateName = "";
        this.battState = 0;
        this.battStateName = "";
        this.pwrState = 0;
        this.pwrStateName="";
        this.vbusVol = 0.0f;
        this.onlineVol = 0.0f;
        this.battALmNum = 0;
        this.devALmNum = 0;
        this.pwrALmNum = 0;
        this.allALmNum = 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;
        this.recordtime = "1972-01-01 00:00:00";
        this.stationName = "";
        this.provice = "";
        this.city = "";
        this.county = "";
        this.fullName = "";
        this.powerName = "";
        this.devName = "";
        this.battGroupName = "";
    }
}