namespace ZR.Model.MES.qc.DTO { public class QcCommonFqcDto { public string Name { get; set; } } /// /// 首检,包装数据看板 /// public class QcCommonFqcBoardDto { /// /// 当前工单号 /// public string WorkOrderId { get; set; } /// /// 上一个工单号 /// public string LastWorkOrderId { get; set; } /// /// 工单位于列表的位置(当天工单) /// public int? WorkOrderIndex { get; set; } = 0; /// /// 工单列表总数(当天工单) /// public int? WorkOrderDayListCount { get; set; } = 0; /// /// 工单已完成数(当天工单) /// public int? WorkOrderFinishNum { get; set; } = 0; /// /// 工单未完成数(当天工单) /// public int? WorkOrderNotFinishNum { get; set; } = 0; /// /// 工单理论需要打标签的数量 /// public int? WorkOrderPackageCount { get; set; } = 0; /// /// 工单已打标签数量 /// public int? WorkOrderFinishPackageNum { get; set; } = 0; /// /// 工单未打标签数量 /// public int? WorkOrderNotFinishPackageNum { get; set; } = 0; /// /// 上一个工单理论需要打标签的数量 /// public int? LastWorkOrderPackageCount { get; set; } = 0; /// /// 上一个工单已打标签数量 /// public int? LastWorkOrderFinishPackageNum { get; set; } = 0; /// /// 上一个工单未打标签数量 /// public int? LastWorkOrderNotFinishPackageNum { get; set; } = 0; /// /// 更新时间 /// public DateTime? UpdatedTime { get; set; } = default; } /// /// 质量检测工单,生产线数据查询条件 /// public class QcCommonFqcWorkerOrderDataQuery : PagerInfo { /// /// 工单号 /// public string WorkOrderId { get; set; } /// /// 班组 /// public string Team { get; set; } /// /// 物料号(成品零件号) /// public string Partnumber { get; set; } /// /// 产品描述 /// public string Description { get; set; } /// /// 工单开始时间 做年周日转换 筛选工单 /// public DateTime? StartTime { get; set; } = default; /// /// 工单状态 -1 全部 0-初始状态 1-上线 2-包装完成 /// public int Status { get; set; } = -1; } /// /// 质量检测工单,生产线数据展示 /// public class QcCommonFqcWorkerOrderDataDto { /// /// 工单号 /// public string WorkOrderId { get; set; } = string.Empty; /// /// 班组 /// public string Team { get; set; } = string.Empty; /// /// 物料号(成品零件号) /// public string Partnumber { get; set; } = string.Empty; /// /// 产品描述 /// public string Description { get; set; } = string.Empty; /// /// 颜色 /// public string Color { get; set; } = string.Empty; /// /// 规格 /// public string Specification { get; set; } = string.Empty; /// /// 工单理论需要打标签的数量 首检合格数 /// public int? WorkOrderPackageCount { get; set; } = 0; /// /// 工单已打标签数量 /// public int? WorkOrderFinishPackageNum { get; set; } = 0; /// /// 是否已打完 理论 - 已打 >= 0 /// public bool IsFinish { get; set; } = false; /// /// 工单未打标签数量 理论 - 已打 = 未打 >= 0 /// public int? WorkOrderNotFinishPackageNum { get; set; } = 0; /// /// 工单开始时间 /// public DateTime? StartTime { get; set; } = default; /// /// 工单结束时间 /// public DateTime? EndTime { get; set; } = default; /// /// 工单状态 0-初始状态 1-上线 2-包装完成 /// public int Status { get; set; } = 0; /// /// 备注 /// public string Remark { get; set; } = default; } /// /// 产线,抛光,一次合格品质量报表看板查询条件 /// public class QcProductAndPolishAndOneTimeFqcBoardQuery { /// /// 物料号(成品零件号) /// public string Partnumber { get; set; } /// /// 开始时间 /// public DateTime? StartTime { get; set; } = default; /// /// 开始时间 /// public DateTime? EndTime { get; set; } = default; } /// /// 产线,抛光,一次合格品质量报表看板 /// public class QcProductAndPolishAndOneTimeFqcBoardDto { /// /// 打磨总数 /// public int SandingTotal { get; set; } = 0; /// /// 报废总数 /// public int DiscardTotal { get; set; } = 0; /// /// ====== 产线上件投入零件总数 ====== /// public int ProductRequireTotal { get; set; } = 0; /// /// 产线合格总数 /// public int ProductQualifiedTotal { get; set; } = 0; /// /// 产线合格率 /// public string ProductQualifiePassRate { get; set; } = "0%"; /// /// 产线门把手合格数 /// public int ProductDoorknobQualifiedTotal { get; set; } = 0; /// /// 产线倒车雷达 /// public int ProductParkingSensorbQualifiedTotal { get; set; } = 0; /// /// 产线抛光总数 /// public int ProductPolishTotal { get; set; } = 0; /// /// 产线打磨总数 /// public int ProductSandingTotal { get; set; } = 0; /// /// 产线报废总数 /// public int ProductDiscardTotal { get; set; } = 0; /// /// ======抛光仓库零件总数====== /// public int PolishWarehouseTotal { get; set; } = 0; /// ========================== 抛光 ================================== /// /// 抛光投入总数 /// public int PolishRequireTotal { get; set; } = 0; /// /// 抛光合格总数 /// public int PolishQualifiedTotal { get; set; } = 0; /// /// 抛光合格率 /// public string PolishQualifiePassRate { get; set; } = "0%"; /// /// 抛光门把手合格总数 /// public int PolishDoorknobQualifiedTotal { get; set; } = 0; /// /// 抛光倒车雷达数 /// public int PolishParkingSensorbQualifiedTotal { get; set; } = 0; /// /// 抛光打磨总数 /// public int PolishSandingTotal { get; set; } = 0; /// /// 抛光报废总数 /// public int PolishDiscardTotal { get; set; } = 0; /// ========================== 后道 ================================== /// /// ====== 后道检验零件投入总数 ====== /// public int AfterPolishRequireTotal { get; set; } = 0; /// /// 后道检验合格总数 /// public int AfterPolishQualifiedTotal { get; set; } = 0; /// /// 后道检验合格率 /// public string AfterPolishQualifiePassRate { get; set; } = "0%"; /// /// 后道检验门把手合格数 /// public int AfterPolishDoorknobQualifiedTotal { get; set; } = 0; /// /// 后道倒车雷达数 /// public int AfterPolishParkingSensorbQualifiedTotal { get; set; } = 0; /// /// 后道检验抛光总数 /// public int AfterPolishPolishTotal { get; set; } = 0; /// /// 后道检验打磨总数 /// public int AfterPolishSandingTotal { get; set; } = 0; /// /// 后道检验报废总数 /// public int AfterPolishDiscardTotal { get; set; } = 0; /// ========================== GP12 ================================== /// /// ====== 一次合格品仓库零件总数 ====== /// public int OneTimeWarehouseTotal { get; set; } = 0; /// /// 一次合格品GP12投入总数 /// public int GP12RequireTotal { get; set; } = 0; /// /// 一次合格品GP12检验合格总数 /// public int GP12QualifiedTotal { get; set; } = 0; /// /// GP12合格率 /// public string GP12QualifiePassRate { get; set; } = "0%"; /// /// 一次合格品GP12门把手数(需要清理) /// public int GP12DoorknobQualifiedTotal { get; set; } = 0; /// /// 一次合格品GP12倒车雷达 /// public int GP12ParkingSensorQualifiedTotal { get; set; } = 0; /// /// 一次合格品GP12检验抛光总数 /// public int GP12PolishTotal { get; set; } = 0; /// /// 一次合格品GP12检打磨总数 /// public int GP12SandingTotal { get; set; } = 0; /// /// 一次合格品GP12检验报废总数 /// public int GP12DiscardTotal { get; set; } = 0; /// /// ====== 成品仓库零件总数 ====== /// public int FinishProductPartTotal { get; set; } = 0; /// /// 成品仓库总箱数 /// public int FinishProductPackageTotal { get; set; } = 0; /// /// 成品仓库出库零件总数 /// public int FinishProductPartOutTotal { get; set; } = 0; /// /// 成品仓库出库总箱数 /// public int FinishProductPackageOutTotal { get; set; } = 0; /// ====== 二次统计数据 ====== /// /// 后道直接出库(后道跳过GP12投入数) /// public int AfterPolishOutTotal { get; set; } = 0; /// /// 后道直接入库(后道跳过GP12合格数) /// public int AfterPolishInTotal { get; set; } = 0; /// /// 总抛光合格数 = GP12抛光合格数 + 后道抛光合格数 /// public int StatisticsPolishQualifiedTotal { get; set; } = 0; /// /// 总合格数(二次合格数) = 总抛光合格数 + 产线合格数 /// public int StatisticsProductAndPolishQualifiedTotal { get; set; } = 0; /// /// 产线维修件(直接记入) /// public int StatisticsProductMaintenanceQualifiedTotal { get; set; } = 0; /// /// 抛光盘点时间 /// public DateTime? PolishStockTime { get; set; } /// /// 一次合格盘点时间 /// public DateTime? OneTimeStockTime { get; set; } /// /// 抛光盘点库存数 /// public int StockPolishWarehouseCount { get; set; } = 0; /// /// 一次合格盘点库存数 /// public int StockOneTimeWarehouseCount { get; set; } = 0; /// /// 抛光计算盘点时间后报表实际库存数 /// public int RealPolishWarehouseCount { get; set; } = 0; /// /// 一次合格计算盘点时间后报表库存数 /// public int RealOneTimeWarehouseCount { get; set; } = 0; /// /// 备注 /// public string Remark { get; set; } = string.Empty; /// /// 更新时间 /// public DateTime? UpdatedTime { get; set; } = default; } }