Merge branch 'hhk' into main
commit
60b20dfe43
@ -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