feat:添加设备运行报表时间字段,新增首页设备运行状态接口
parent
27778698a2
commit
41f35456ec
@ -0,0 +1,36 @@
|
||||
package cn.iocoder.yudao.module.iot.controller.admin.device.vo;
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.ToString;
|
||||
|
||||
@Schema(description = "管理后台 - 设备运行状态 Resp VO")
|
||||
@Data
|
||||
@ToString(callSuper = true)
|
||||
public class DeviceOperationStatusRespVO {
|
||||
|
||||
@Schema(description = "总设备数")
|
||||
private int totalDevices;
|
||||
|
||||
@Schema(description = "运行")
|
||||
private int runningCount;
|
||||
|
||||
@Schema(description = "待机中(不运行、没故障)")
|
||||
private int standbyCount;
|
||||
|
||||
@Schema(description = "故障中(故障且待机)")
|
||||
private int faultCount;
|
||||
|
||||
@Schema(description = "报警中(故障且运行)")
|
||||
private int warningCount;
|
||||
|
||||
@Schema(description = "利用率")
|
||||
private String utilizationRate;
|
||||
|
||||
@Schema(description = "故障率")
|
||||
private String faultRate;
|
||||
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue