Merge branch 'hhk' into main
commit
f24ccb46a5
@ -0,0 +1,32 @@
|
||||
package cn.iocoder.yudao.module.iot.controller.admin.deviceoperationrecord.vo;
|
||||
|
||||
|
||||
import cn.iocoder.yudao.framework.common.pojo.PageParam;
|
||||
import com.alibaba.excel.annotation.ExcelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.ToString;
|
||||
|
||||
@Schema(description = "管理后台 - 运行记录分页 Request VO")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ToString(callSuper = true)
|
||||
public class DeviceTotalTimeRecordReqVO extends PageParam{
|
||||
|
||||
@Schema(description = "设备编码")
|
||||
private String deviceCode;
|
||||
|
||||
@Schema(description = "设备名称")
|
||||
private String deviceName;
|
||||
|
||||
@Schema(description = "开始时间")
|
||||
private String startTime;
|
||||
|
||||
@Schema(description = "结束时间")
|
||||
private String endTime;
|
||||
|
||||
@Schema(description = "ids导出集合用")
|
||||
private String ids;
|
||||
|
||||
}
|
||||
@ -0,0 +1,43 @@
|
||||
package cn.iocoder.yudao.module.iot.controller.admin.deviceoperationrecord.vo;
|
||||
|
||||
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
|
||||
import com.alibaba.excel.annotation.ExcelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
@Schema(description = "管理后台 - 运行设备报表时间记录 Request VO")
|
||||
@Data
|
||||
@ExcelIgnoreUnannotated
|
||||
public class DeviceTotalTimeRecordRespVO {
|
||||
|
||||
@Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "4283")
|
||||
private Long id;
|
||||
|
||||
@Schema(description = "设备编码")
|
||||
@ExcelProperty("设备编码")
|
||||
private String deviceCode;
|
||||
|
||||
@Schema(description = "设备名称")
|
||||
@ExcelProperty("设备名称")
|
||||
private String deviceName;
|
||||
|
||||
@Schema(description = "运行时间(小时)")
|
||||
@ExcelProperty("运行时间(小时)")
|
||||
private double totalRunningTime;
|
||||
|
||||
@Schema(description = "待机时间(小时)")
|
||||
@ExcelProperty("待机时间(小时)")
|
||||
private double totalStandbyTime;
|
||||
|
||||
@Schema(description = "故障时间(小时)")
|
||||
@ExcelProperty("故障时间(小时)")
|
||||
private double totalFaultTime;
|
||||
|
||||
@Schema(description = "警告时间(小时)")
|
||||
@ExcelProperty("警告时间(小时)")
|
||||
private double totalWarningTime;
|
||||
|
||||
@Schema(description = "稼动率")
|
||||
@ExcelProperty("稼动率")
|
||||
private String utilizationRate;
|
||||
}
|
||||
Loading…
Reference in New Issue