安灯主界面部分字段赋初始值

yun-zuoyi
crish 6 years ago
parent 376700de0d
commit cba2cda2d4

@ -31,25 +31,25 @@ public class AndonBoardModel {
private String alarmName;
@ApiParam("故障时长 单位:分钟")
private Long exceptionTimeCount;
private Long exceptionTimeCount = 0L;
@ApiParam("响应时长 单位:分钟")
private Long responseTimeCount;
private Long responseTimeCount = 0L;
@ApiParam("解决时长 单位:分钟")
private Long resetTimeCount;
private Long resetTimeCount = 0L;
@ApiParam("安灯正常处理的次数")
private Integer inTime;
private Integer inTime = 0;
@ApiParam("安灯超时次数")
private Integer overTime;
private Integer overTime = 0;
@ApiParam("安灯总次数")
private Integer totalTime;
private Integer totalTime = 0;
@ApiParam("安灯类型百分比")
private float propagation;
private float propagation = 0;
@ApiParam("事件描述代码")
private String acCode;

@ -32,13 +32,13 @@ public class AndonMenuInterfaceModel{
private String alarmName;
@ApiParam("故障总时长 单位:分钟")
private Long exceptionTime;
private Long exceptionTime = 0L;
@ApiParam("当前安灯类型故障时长 单位:分钟")
private Long currentExceptionTime;
private Long currentExceptionTime = 0L;
@ApiParam("当前安灯类型故障比例")
private Double proportion;
private Double proportion = 0D;
@ApiParam("当前工厂的产线故障统计")
private List<AndonMenuInterfaceModel> andonWorkcenterList;

@ -39,10 +39,10 @@ public class CellGroupStatusModel{
private String cellGroupStatus;
@ApiParam(value = "横坐标")
private Float horizontalAxis ;
private Float horizontalAxis = 0f;
@ApiParam(value = "纵坐标")
private Float verticalAxis;
private Float verticalAxis = 0f;
@ApiParam(value = "异常图片")
private String abnormalSrc;

Loading…
Cancel
Save