namespace BPA.MES.Base.Application.Services { /// /// 名 称 : /// 创 建 人 :yangxiao /// 创建时间 : 2023/7/20 14:29:09 /// 描 述 : /// public class WorkInfoDto : IMessage { /// /// 工单名称 /// public string Name { get; set; } /// /// 产线Id /// public string LineId { get; set; } /// /// 成品Id /// public string FinalId { get; set; } /// /// 产量 /// public string Number { get; set; } /// /// 批次号 /// public string BatchId { get; set; } /// /// 设备id /// public string DeviceId { get; set; } /// /// 创建时间 /// public string CreateTime { get; set; } public int MessageId { get; set; } public Version MsgVersion { get; set; } } /// /// 增加 /// public class WorkInfoAddInput : WorkInfoDto { } /// /// 更新 /// public class WorkInfoUpdateInput : WorkInfoDto { /// /// 主键 /// public string Id { get; set; } } /// /// 删除 /// public class WorkInfoDelInput { /// /// 主键 /// public string Id { get; set; } } /// /// 不分页查询条件 /// public class WorkInfoQueryInput { /// /// 名称 /// public string Name { get; set; } /// /// 主键 /// public string Id { get; set; } /// /// 工单状态 /// public WorkOrderStatusEnum?[] Status { get; set; } /// /// 起始时间 /// public DateTime? StartTime { get; set; } /// /// 结束时间 /// public DateTime? EndTime { get; set; } /// /// 批次计划Id /// public string BatchId { get; set; } } /// /// 分页 /// public class WorkInfoQueryPageInput : RequestPage { /// /// 名称 /// public string Name { get; set; } /// /// 编码 /// public string Id { get; set; } /// /// 工单状态 /// public WorkOrderStatusEnum?[] Status { get; set; } /// /// 批次计划Id /// public string BatchId { get; set; } /// /// 起始时间 /// public DateTime? StartTime { get; set; } /// /// 结束时间 /// public DateTime? EndTime { get; set; } } /// /// 工单下发 /// public class WorkPublishInput { } /// /// 输出 /// public class WorkInfoOutput : WorkInfoDto { /// /// 主键 /// public string Id { get; set; } /// /// 产品名称 /// public string FinalName { get; set; } /// /// 线名称 /// public string LineName { get; set; } /// /// 设备编码 /// public string DeviceCode { get; set; } /// /// 设备名称 /// public string DeviceName { get; set; } /// /// 工单状态 /// public WorkOrderStatusEnum? Status { get; set; } } /// /// 详情输出 /// public class WorkInfoDetailOutput : WorkInfoOutput { public WorkInfoDetailOutput() { CraftList = new(); MaterialList = new(); } /// /// 工艺状态 /// public RecipeStatus? CraftStatus { get; set; } /// /// 配方状态 /// public EBatchingStatus? MaterialStatus { get; set; } /// /// 工艺步骤 /// public List CraftList { get; set; } /// /// 物料信息 /// public List MaterialList { get; set; } } }