From 696b0decc0c5140417608e4af12ba7ec16dfa877 Mon Sep 17 00:00:00 2001
From: zhouhongjun <565221961@qq.com>
Date: Wed, 28 May 2025 16:44:26 +0800
Subject: [PATCH] =?UTF-8?q?=E7=94=9F=E6=88=90=E7=94=9F=E4=BA=A7=E8=B4=A8?=
=?UTF-8?q?=E9=87=8F01=5F09=E5=AE=9E=E4=BD=93=E6=95=B0=E6=8D=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Dtos/01_09/Class1.cs | 12 +
.../Dtos/10_17/Class1.cs | 12 +
.../TaskManager.Contracts.csproj | 5 -
.../Entitys/01_09/SupplierProCps.cs | 6 +-
.../Entitys/01_09/SupplierProData.cs | 234 ++++++++++++++++++
.../01_09/SupplierProFirstPassyield.cs | 124 ++++++++++
.../01_09/SupplierProStationFirstPassyield.cs | 134 ++++++++++
.../TaskManager.Entity.csproj | 4 -
8 files changed, 519 insertions(+), 12 deletions(-)
create mode 100644 API/TaskManager.Contracts/Dtos/01_09/Class1.cs
create mode 100644 API/TaskManager.Contracts/Dtos/10_17/Class1.cs
create mode 100644 API/TaskManager.Entity/Entitys/01_09/SupplierProData.cs
create mode 100644 API/TaskManager.Entity/Entitys/01_09/SupplierProFirstPassyield.cs
create mode 100644 API/TaskManager.Entity/Entitys/01_09/SupplierProStationFirstPassyield.cs
diff --git a/API/TaskManager.Contracts/Dtos/01_09/Class1.cs b/API/TaskManager.Contracts/Dtos/01_09/Class1.cs
new file mode 100644
index 0000000..6caa457
--- /dev/null
+++ b/API/TaskManager.Contracts/Dtos/01_09/Class1.cs
@@ -0,0 +1,12 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace TaskManager.Contracts.Dtos._01_09
+{
+ internal class Class1
+ {
+ }
+}
diff --git a/API/TaskManager.Contracts/Dtos/10_17/Class1.cs b/API/TaskManager.Contracts/Dtos/10_17/Class1.cs
new file mode 100644
index 0000000..c8dfe71
--- /dev/null
+++ b/API/TaskManager.Contracts/Dtos/10_17/Class1.cs
@@ -0,0 +1,12 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace TaskManager.Contracts.Dtos._10_17
+{
+ internal class Class1
+ {
+ }
+}
diff --git a/API/TaskManager.Contracts/TaskManager.Contracts.csproj b/API/TaskManager.Contracts/TaskManager.Contracts.csproj
index 64f3785..3b5b170 100644
--- a/API/TaskManager.Contracts/TaskManager.Contracts.csproj
+++ b/API/TaskManager.Contracts/TaskManager.Contracts.csproj
@@ -10,9 +10,4 @@
-
-
-
-
-
diff --git a/API/TaskManager.Entity/Entitys/01_09/SupplierProCps.cs b/API/TaskManager.Entity/Entitys/01_09/SupplierProCps.cs
index 50578f4..dc08229 100644
--- a/API/TaskManager.Entity/Entitys/01_09/SupplierProCps.cs
+++ b/API/TaskManager.Entity/Entitys/01_09/SupplierProCps.cs
@@ -174,17 +174,17 @@ namespace TaskManager.Entity
///
/// CC项 , 是传Y,否传N
///
- public string Cc { get; set; }
+ public bool Cc { get; set; }
///
/// SC项 , 是传Y,否传N
///
- public string Sc { get; set; }
+ public bool Sc { get; set; }
///
/// SPC , 是传Y,否传N
///
- public string Spc { get; set; }
+ public bool Spc { get; set; }
///
/// 控制项标准值
diff --git a/API/TaskManager.Entity/Entitys/01_09/SupplierProData.cs b/API/TaskManager.Entity/Entitys/01_09/SupplierProData.cs
new file mode 100644
index 0000000..e3a99da
--- /dev/null
+++ b/API/TaskManager.Entity/Entitys/01_09/SupplierProData.cs
@@ -0,0 +1,234 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace TaskManager.Entity
+{
+ ///
+ /// 生产过程数据
+ ///
+ public class SupplierProData
+ {
+ ///
+ /// 供应商代码
+ ///
+ public string SupplierCode { get; set; }
+
+ ///
+ /// 供应商名称
+ ///
+ public string SupplierName { get; set; }
+
+ ///
+ /// 工厂代码
+ ///
+ public string PlantId { get; set; }
+
+ ///
+ /// 工厂名称
+ ///
+ public string PlantName { get; set; }
+
+ ///
+ /// 车间代码
+ ///
+ public string WorkshopId { get; set; }
+
+ ///
+ /// 车间名称
+ ///
+ public string WorkshopName { get; set; }
+
+ ///
+ /// 产线代码
+ ///
+ public string ProductionLineId { get; set; }
+
+ ///
+ /// 产线名称
+ ///
+ public string ProductionLineName { get; set; }
+
+ ///
+ /// 工位代码
+ ///
+ public string StationId { get; set; }
+
+ ///
+ /// 工位名称
+ ///
+ public string StationName { get; set; }
+
+ ///
+ /// 工位人员编号
+ ///
+ public string EmpCode { get; set; }
+
+ ///
+ /// 工位人员姓名
+ ///
+ public string EmpName { get; set; }
+
+ ///
+ /// 供应商总成零件名称
+ ///
+ public string VendorProductName { get; set; }
+
+ ///
+ /// 供应商总成零件号
+ ///
+ public string VendorProductNo { get; set; }
+
+ ///
+ /// 供应商总成批次号
+ ///
+ public string VendorProductBatch { get; set; }
+
+ ///
+ /// 供应商总成SN码
+ ///
+ public string VendorProductSn { get; set; }
+
+ ///
+ /// 子件编码
+ ///
+ public string SubProdNo { get; set; }
+
+ ///
+ /// 子件名称
+ ///
+ public string SubProdName { get; set; }
+
+ ///
+ /// 子件批次号
+ ///
+ public string SubBatchNo { get; set; }
+
+ ///
+ /// 子件分包号
+ ///
+ public string ChildPackageInfo { get; set; }
+
+ ///
+ /// 子件扣料数量
+ ///
+ public decimal SubProdNum { get; set; }
+
+ ///
+ /// 子件SN码
+ ///
+ public string SubProdSn { get; set; }
+
+ ///
+ /// 子件物料来源
+ ///
+ public string ChildSource { get; set; }
+
+ ///
+ /// 分供方代码
+ ///
+ public string SubSupplierCode { get; set; }
+
+ ///
+ /// 分供方名称(原注释“分分供方”可能为笔误,此处按“分供方”处理)
+ ///
+ public string SubSupplierName { get; set; }
+
+ ///
+ /// 奇瑞零件号
+ ///
+ public string CheryProductNo { get; set; }
+
+ ///
+ /// 奇瑞零件名称
+ ///
+ public string CheryProductName { get; set; }
+
+ ///
+ /// 奇瑞SN码
+ ///
+ public string CheryProductSn { get; set; }
+
+ ///
+ /// 生产工单号
+ ///
+ public string ManufactureNo { get; set; }
+
+ ///
+ /// 生产批次号
+ ///
+ public string ProductBatchNo { get; set; }
+
+ ///
+ /// 班次(白班,晚班,中班)
+ ///
+ public string WorkShift { get; set; }
+
+ ///
+ /// 进工位的时间,格式(yyyy-MM-dd HH:mm:ss)
+ ///
+ public DateTime MaterialInputTime { get; set; }
+
+ ///
+ /// 出工位的时间,格式(yyyy-MM-dd HH:mm:ss)
+ ///
+ public DateTime MaterialOutputTime { get; set; }
+
+ ///
+ /// 装配设备编号(原注释“vendorFieldNum”可能为“设备编号”,此处按业务逻辑命名)
+ ///
+ public string VendorFieldNum { get; set; }
+
+ ///
+ /// 装配设备名称
+ ///
+ public string VendorFieldName { get; set; }
+
+ ///
+ /// 设备判定的质量状态(合格与否,NG不合适 OK合适)
+ ///
+ public string InstrumentQualityStatus { get; set; }
+
+ ///
+ /// 人工判定的质量状态(合格与否,NG不合适 OK合适)
+ ///
+ public string ManualQualityStatus { get; set; }
+
+ ///
+ /// 最终质量状态(合格与否,NG不合适 OK合适)
+ ///
+ public string FinalQualityStatus { get; set; }
+
+ ///
+ /// 采集时间,格式(yyyy-MM-dd HH:mm:ss)
+ ///
+ public DateTime CollectTime { get; set; }
+
+ ///
+ /// 子件绑定扫码时间,格式(yyyy-MM-dd HH:mm:ss)
+ ///
+ public DateTime DateTime { get; set; }
+
+ ///
+ /// 父件硬件版本号
+ ///
+ public string ParentHardwareRevision { get; set; }
+
+ ///
+ /// 父件软件版本号
+ ///
+ public string ParentSoftwareRevision { get; set; }
+
+ ///
+ /// 子件硬件版本号
+ ///
+ public string ChildHardwareRevision { get; set; }
+
+ ///
+ /// 子件软件版本号
+ ///
+ public string ChildSoftwareRevision { get; set; }
+ }
+}
diff --git a/API/TaskManager.Entity/Entitys/01_09/SupplierProFirstPassyield.cs b/API/TaskManager.Entity/Entitys/01_09/SupplierProFirstPassyield.cs
new file mode 100644
index 0000000..b933eb3
--- /dev/null
+++ b/API/TaskManager.Entity/Entitys/01_09/SupplierProFirstPassyield.cs
@@ -0,0 +1,124 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace TaskManager.Entity
+{
+ ///
+ /// 产品一次合格率
+ ///
+ public class SupplierProFirstPassyield
+ {
+ ///
+ /// 供应商代码
+ ///
+ public string SupplierCode { get; set; }
+
+ ///
+ /// 供应商名称
+ ///
+ public string SupplierName { get; set; }
+
+ ///
+ /// 供应商总成零件号
+ ///
+ public string VendorProductNo { get; set; }
+
+ ///
+ /// 供应商总成零件名称
+ ///
+ public string VendorProductName { get; set; }
+
+ ///
+ /// 工厂代码
+ ///
+ public string PlantId { get; set; }
+
+ ///
+ /// 工厂名称
+ ///
+ public string PlantName { get; set; }
+
+ ///
+ /// 车间代码
+ ///
+ public string WorkshopId { get; set; }
+
+ ///
+ /// 车间名称
+ ///
+ public string WorkshopName { get; set; }
+
+ ///
+ /// 产线代码
+ ///
+ public string ProductionLineId { get; set; }
+
+ ///
+ /// 产线名称
+ ///
+ public string ProductionLineName { get; set; }
+
+ ///
+ /// 奇瑞零件号
+ ///
+ public string CheryProductNo { get; set; }
+
+ ///
+ /// 奇瑞零件名称
+ ///
+ public string CheryProductName { get; set; }
+
+ ///
+ /// 生产工单号
+ ///
+ public string ManufactureNo { get; set; }
+
+ ///
+ /// 生产批次号
+ ///
+ public string ProductBatchNo { get; set; }
+
+ ///
+ /// 批次计划数量:每个批次号对应的计划数量
+ ///
+ public decimal WorkOrderNumber { get; set; }
+
+ ///
+ /// 不合格数
+ ///
+ public decimal DefectiveNumber { get; set; }
+
+ ///
+ /// 合格数:当班次合格数汇总
+ ///
+ public decimal AcceptableNumber { get; set; }
+
+ ///
+ /// 一次合格率实际值
+ ///
+ public decimal OncePassRateRealValue { get; set; }
+
+ ///
+ /// 一次合格率目标值
+ ///
+ public decimal OncePassRateTagValue { get; set; }
+
+ ///
+ /// 班次(白班,晚班,中班)
+ ///
+ public string WorkShift { get; set; }
+
+ ///
+ /// 生产日期,格式(yyyy-MM-dd HH:mm:ss)
+ ///
+ public DateTime StatisticalTime { get; set; }
+
+ ///
+ /// 值统计时间,格式(yyyy-MM-dd HH:mm:ss)
+ ///
+ public DateTime DateTime { get; set; }
+ }
+}
diff --git a/API/TaskManager.Entity/Entitys/01_09/SupplierProStationFirstPassyield.cs b/API/TaskManager.Entity/Entitys/01_09/SupplierProStationFirstPassyield.cs
new file mode 100644
index 0000000..88e10a0
--- /dev/null
+++ b/API/TaskManager.Entity/Entitys/01_09/SupplierProStationFirstPassyield.cs
@@ -0,0 +1,134 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace TaskManager.Entity.Entitys._01_09
+{
+ ///
+ /// 工位一次合格率
+ ///
+ public class SupplierProStationFirstPassyield
+ {
+ ///
+ /// 供应商代码
+ ///
+ public string SupplierCode { get; set; }
+
+ ///
+ /// 供应商名称
+ ///
+ public string SupplierName { get; set; }
+
+ ///
+ /// 工厂代码
+ ///
+ public string PlantId { get; set; }
+
+ ///
+ /// 工厂名称
+ ///
+ public string PlantName { get; set; }
+
+ ///
+ /// 车间代码
+ ///
+ public string WorkshopId { get; set; }
+
+ ///
+ /// 车间名称
+ ///
+ public string WorkshopName { get; set; }
+
+ ///
+ /// 产线代码
+ ///
+ public string ProductionLineId { get; set; }
+
+ ///
+ /// 产线名称
+ ///
+ public string ProductionLineName { get; set; }
+
+ ///
+ /// 工位代码
+ ///
+ public string StationId { get; set; }
+
+ ///
+ /// 工位名称
+ ///
+ public string StationName { get; set; }
+
+ ///
+ /// 奇瑞零件号
+ ///
+ public string CheryProductNo { get; set; }
+
+ ///
+ /// 奇瑞零件名称
+ ///
+ public string CheryProductName { get; set; }
+
+ ///
+ /// 供应商总成零件号
+ ///
+ public string VendorProductNo { get; set; }
+
+ ///
+ /// 供应商总成零件名称
+ ///
+ public string VendorProductName { get; set; }
+
+ ///
+ /// 生产批次号
+ ///
+ public string ProductBatchNo { get; set; }
+
+ ///
+ /// 生产工单号(跟排产工单号关联)
+ ///
+ public string ManufactureNo { get; set; }
+
+ ///
+ /// 批次计划数量
+ ///
+ public decimal WorkOrderNumber { get; set; }
+
+ ///
+ /// 不合格数
+ ///
+ public decimal DefectiveNumber { get; set; }
+
+ ///
+ /// 合格数
+ ///
+ public decimal AcceptableNumber { get; set; }
+
+ ///
+ /// 一次合格率实际值(使用小数表示,如 0.9601 表示 96.01%,整数位最多10位,小数位最多3位)
+ ///
+ public decimal OncePassRateRealValue { get; set; }
+
+ ///
+ /// 一次合格率目标值(使用小数表示,如 0.96 表示 96.00%,整数位最多10位,小数位最多3位)
+ ///
+ public decimal OncePassRateTagValue { get; set; }
+
+ ///
+ /// 班次(白班,晚班,中班)
+ ///
+ public string WorkShift { get; set; }
+
+ ///
+ /// 生产日期,格式:yyyy-MM-dd HH:mm:ss
+ ///
+ public DateTime StatisticalTime { get; set; }
+
+ ///
+ /// 值统计时间,格式:yyyy-MM-dd HH:mm:ss
+ ///
+ public DateTime DateTime { get; set; }
+ }
+}
diff --git a/API/TaskManager.Entity/TaskManager.Entity.csproj b/API/TaskManager.Entity/TaskManager.Entity.csproj
index b11c8a0..3b5b170 100644
--- a/API/TaskManager.Entity/TaskManager.Entity.csproj
+++ b/API/TaskManager.Entity/TaskManager.Entity.csproj
@@ -10,8 +10,4 @@
-
-
-
-