using System.Collections.Generic; namespace NPP.SmartSchedue.Api.Contracts.Services.Work.Output; /// /// 可用设备输出 /// public class AvailableEquipmentOutput { /// /// 任务ID /// public long WorkOrderId { get; set; } /// /// 任务代码 /// public string WorkOrderCode { get; set; } = ""; /// /// 可用设备列表 /// public List AvailableEquipment { get; set; } = new List(); /// /// 总可用设备数量 /// public int TotalAvailableCount { get; set; } /// /// 查询结果摘要 /// public string Summary { get; set; } = ""; } /// /// 可用设备信息 /// public class AvailableEquipmentInfo { /// /// 设备ID /// public long EquipmentId { get; set; } /// /// 设备名称 /// public string EquipmentName { get; set; } = ""; /// /// 内部编号 /// public string InternalNumber { get; set; } = ""; /// /// 设备型号 /// public string Model { get; set; } = ""; /// /// 设备类型 /// public string EquipmentType { get; set; } = ""; /// /// 房间号 /// public string RoomNumber { get; set; } = ""; /// /// 设备位置 /// public string Location { get; set; } = ""; /// /// 当前状态(0-正常,1-维护,2-校验,3-故障,4-报废) /// public int Status { get; set; } /// /// 状态描述 /// public string StatusDescription { get; set; } = ""; /// /// 设备负责人 /// public string ResponsiblePersonName { get; set; } = ""; /// /// 可用度评分(1-10,10分最优) /// public int AvailabilityScore { get; set; } /// /// 使用率(百分比) /// public double UsageRate { get; set; } /// /// 是否推荐使用 /// public bool IsRecommended { get; set; } /// /// 备注信息 /// public string Remarks { get; set; } = ""; }