namespace MoviconWebApi.API.DeviceStateApi { /// /// 设备状态查询请求 /// public class DeviceStateRequest { /// /// 设备编号 /// public string? DeviceCode { get; set; } /// /// 开始时间 /// public string? StartTime { get; set; } /// /// 结束时间 /// public string? EndTime { get; set; } } /// /// 设备状态分页请求 /// public class DeviceStatePagedRequest : DeviceStateRequest { /// /// 页码(从1开始) /// public int PageIndex { get; set; } = 1; /// /// 每页数量 /// public int PageSize { get; set; } = 10; } /// /// 设备状态响应 /// public class DeviceStateResponse { /// /// 设备编号 /// public string? DeviceCode { get; set; } /// /// 设备名称 /// public string? DeviceName { get; set; } /// /// 开机时长(分钟) /// public int? PowerOnTime { get; set; } /// /// 运行时长(分钟) /// public int? RunTime { get; set; } /// /// 待机时长(分钟) /// public int? StandbyTime { get; set; } /// /// 故障时长(分钟) /// public int? FaultTime { get; set; } /// /// 关机时长(分钟) /// public int? ShutdownTime { get; set; } /// /// 使用率 /// public string? UseRatio { get; set; } /// /// 故障次数 /// public int? FaultNum { get; set; } /// /// 作业次数 /// public int? JobNum { get; set; } /// /// 创建时间 /// public string? CreateTime { get; set; } } /// /// 设备状态分页响应 /// public class DeviceStatePagedResponse { /// /// 数据列表 /// public List Items { get; set; } = new(); /// /// 总记录数 /// public long Total { get; set; } } }