first commit

This commit is contained in:
yanpeng200212
2026-10-08 10:43:59 +08:00
commit 8430ba0452
288 changed files with 29595 additions and 0 deletions
@@ -0,0 +1,86 @@
namespace F9WebAiTest.Application.Dtos.Prod;
// ---- 黑板检验 ----
/// <summary>黑板检验列表行(落丝记录 + 检验汇总)</summary>
public class HbjyListItemDto
{
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 string LuosiTime { get; set; }
public int Chetaishu { get; set; }
public int ChetaiStart { get; set; }
public int ChetaiEnd { get; set; }
public int YingluPianshu { get; set; } // 应录片数 = 车台数 × 20
public bool IsChecked { get; set; } // 是否已检验
public int Pianshu { get; set; } // 已录片数
public double Qingjie { get; set; } // 清洁分
public double Jiejing { get; set; } // 洁净分
public string Dengji { get; set; } // 等级
}
/// <summary>黑板检验编辑页数据</summary>
public class HbjyEditDto
{
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 YingluPianshu { get; set; } // 应录片数
public string Dengji { get; set; } // 等级
public List<HbjyRecordDto> Records { get; set; } = new();
}
/// <summary>黑板检验车台明细 DTO</summary>
public class HbjyRecordDto
{
public int Chetaihao { get; set; }
public int YdYidu { get; set; }
public int YdErdu { get; set; }
public int YdSandu { get; set; }
public int Jj100 { get; set; }
public int Jj95 { get; set; }
public int Jj90 { get; set; }
public int Jj85 { get; set; }
public int Jj80 { get; set; }
public int Jj75 { get; set; }
public int Jj70 { get; set; }
public int Jj65 { get; set; }
public int Jj60 { get; set; }
public int QjZycdTdc { get; set; }
public int QjCycdFs { get; set; }
public int QjCycdDc { get; set; }
public int QjCycdNfc { get; set; }
public int QjCycdDcj { get; set; }
public int QjCycdZlx { get; set; }
public int QjPtcdXc { get; set; }
public int QjPtcdCj { get; set; }
public int QjPtcdLx { get; set; }
public int QjPtcdHjls { get; set; }
public int Pianshu { get; set; } // 本车台片数(计算得出)
}
/// <summary>黑板检验保存请求</summary>
public class HbjySaveDto
{
public long LsjlId { get; set; }
public string Dengji { get; set; } = "";
public List<HbjyRecordDto> Records { get; set; } = new();
}
@@ -0,0 +1,41 @@
namespace F9WebAiTest.Application.Dtos.Prod;
public class LsjlDto
{
public long Id { get; set; }
public DateTime WorkDate { get; set; }
public long DeptId { get; set; }
public string DeptName { get; set; }
public long GyzkId { get; set; }
public string ZhuangKouName { get; set; }
public int Jizu { get; set; }
public string LuosiTime { get; set; }
public string Yanse { get; set; }
public int Huishu { get; set; }
public int ChetaiStart { get; set; }
public int ChetaiEnd { get; set; }
public int Chetaishu { get; set; }
public bool Isbanche { get; set; }
public string IsbancheName { get; set; }
public double Hours { get; set; }
public string Guige { get; set; }
public double Chesu { get; set; }
}
public class LsjlCreateDto
{
public DateTime WorkDate { get; set; }
public long DeptId { get; set; }
public long GyzkId { get; set; }
public int Jizu { get; set; }
public string LuosiTime { get; set; } = "";
public string Yanse { get; set; } = "";
public int Huishu { get; set; }
public int ChetaiStart { get; set; }
public int ChetaiEnd { get; set; }
public int Chetaishu { get; set; }
public bool Isbanche { get; set; }
public double Hours { get; set; }
public string Guige { get; set; } = "";
public double Chesu { get; set; }
}
@@ -0,0 +1,93 @@
using F9WebAiTest.Application.Dtos.Base;
namespace F9WebAiTest.Application.Dtos.Prod;
// ---- 纤度检验 ----
/// <summary>纤度检验列表行(落丝记录 + 检验汇总)</summary>
public class XdjyListItemDto
{
public long LsjlId { get; set; } // 落丝记录 Id
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 string LuosiTime { get; set; } // 落丝时间
public int Yingchengnum { get; set; } // 应秤数 = 车台数 × (半车?2:4)
public bool IsChecked { get; set; } // 是否已检验
public int Jiaoshu { get; set; } // 已秤数
public double Avgxiandu { get; set; } // 平均纤度
public double Junfangcha { get; set; } // 均方差
public double Zongcha { get; set; } // 总差
public double FanxianLv { get; set; } // 范纤率
public int FanweiNum { get; set; } // 范围数
public int XiaoyeNum { get; set; } // 小野数
public int DayeNum { get; set; } // 大野数
public int TeyeNum { get; set; } // 特野数
public int CenterNum { get; set; } // 中心数
public string Dengji { get; set; } // 等级
}
/// <summary>纤度检验编辑页数据</summary>
public class XdjyEditDto
{
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 string Dengji { get; set; } // 等级
public ShengsiGuigeDto GuigeConfig { get; set; } // 生丝规格(用于判定/颜色标识)
public List<XdjyRecordDto> Xdjy { get; set; } = new();
}
/// <summary>纤度检验车台明细 DTO</summary>
public class XdjyRecordDto
{
public int Chetaihao { get; set; } // 车台号
public double Xd1 { get; set; }
public double Xd2 { get; set; }
public double Xd3 { get; set; }
public double Xd4 { get; set; }
public int XdNum { get; set; } // 已称绞数
public double XdAvg { get; set; } // 平均纤度
public int FanweiNum { get; set; } // 范围
public int XiaoyeNum { get; set; } // 小野
public int DayeNum { get; set; } // 大野
public int TeyeNum { get; set; } // 特野
public int CenterNum { get; set; } // 中心
}
/// <summary>纤度检验保存请求</summary>
public class XdjySaveDto
{
public long LsjlId { get; set; }
public string Dengji { get; set; } = "";
public List<XdjySaveItemDto> Items { get; set; } = new();
}
public class XdjySaveItemDto
{
public int Chetaihao { get; set; }
public double Xd1 { get; set; }
public double Xd2 { get; set; }
public double Xd3 { get; set; }
public double Xd4 { get; set; }
}