namespace F9WebAiTest.Application.Dtos.Prod; // ==================== 秤大丝(成筒丝 CDS) ==================== /// 秤大丝列表行(落丝记录 + 秤丝汇总) public class CdsListItemDto { public long LsjlId { get; set; } public DateTime WorkDate { get; set; } public long DeptId { get; set; } public string DeptName { get; set; } = ""; public int Jizu { get; set; } public int Huishu { get; set; } public string Guige { get; set; } = ""; public string ZhuangKouName { get; set; } = ""; public string Yanse { get; set; } = ""; public bool Isbanche { get; set; } public string IsbancheName { get; set; } = ""; public int Chetaishu { get; set; } public int ChetaiStart { get; set; } public int ChetaiEnd { get; set; } public double Hours { get; set; } public int Tongshu { get; set; } public int Meitongjianliang { get; set; } public int YingchengNum { get; set; } // 应秤数 = 车台数 × 4 × (半车 ? 0.5 : 1) public bool IsWeighed { get; set; } // 是否已秤 public int Num { get; set; } // 已秤数 public int Siliang { get; set; } // 已秤丝量(g) public int Jianliang { get; set; } // 茧量(g) public decimal Saozhe { get; set; } // 缫折 public decimal Taichan { get; set; } // 台产 } /// 秤大丝称重弹窗数据 public class CdsEditDto { public long LsjlId { get; set; } public string DeptName { get; set; } = ""; public int Jizu { get; set; } public int Huishu { get; set; } public string ZhuangKouName { get; set; } = ""; public string Yanse { get; set; } = ""; public bool Isbanche { get; set; } public string IsbancheName { get; set; } = ""; public string Guige { get; set; } = ""; public int ChetaiStart { get; set; } public int ChetaiEnd { get; set; } public int Chetaishu { get; set; } public int YingchengNum { get; set; } public List Chetais { get; set; } = new(); } /// 秤大丝车台明细 DTO public class CdsChetaiDto { public int Chetaihao { get; set; } public int Sl1 { get; set; } public int Sl2 { get; set; } public int Sl3 { get; set; } public int Sl4 { get; set; } public int Num { get; set; } // 个数 public int Siliang { get; set; } // 小计丝量 } /// 秤大丝保存请求 public class CdsSaveDto { public long LsjlId { get; set; } public List Chetais { get; set; } = new(); } // ==================== 公量纤度 ==================== /// 公量纤度列表行(落丝记录 + 纤度检验平均纤度 + 公量纤度) public class GlxdListItemDto { public long LsjlId { get; set; } public DateTime WorkDate { get; set; } public long DeptId { get; set; } public string DeptName { get; set; } = ""; public int Jizu { get; set; } public int Huishu { get; set; } public string Guige { get; set; } = ""; public string ZhuangKouName { get; set; } = ""; public string Yanse { get; set; } = ""; public bool Isbanche { get; set; } public string IsbancheName { get; set; } = ""; public int Chetaishu { get; set; } public double Avgxiandu { get; set; } // 平均纤度(来自纤度检验) public decimal Gongliangxiandu { get; set; } // 公量纤度 } /// 公量纤度批量保存请求 public class GlxdSaveDto { public DateTime Date { get; set; } public long DeptId { get; set; } public List Items { get; set; } = new(); } public class GlxdSaveItemDto { public long LsjlId { get; set; } public decimal Gongliangxiandu { get; set; } }