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; } }