From 2d2342157638cab98a4c59b0c687808cc2f98ea1 Mon Sep 17 00:00:00 2001
From: 杨张扬 <634643841@qq.com>
Date: 星期五, 25 七月 2025 17:24:57 +0800
Subject: [PATCH] 增加空托堆叠和空托入货架的新逻辑,增加拆盘入库和回炉胶和废料的逻辑

---
 api/ApiModel.cs |   49 ++++++++++++++++++++++++++++++++++++++++++++++---
 1 files changed, 46 insertions(+), 3 deletions(-)

diff --git a/api/ApiModel.cs b/api/ApiModel.cs
index 6150bbc..94dd817 100644
--- a/api/ApiModel.cs
+++ b/api/ApiModel.cs
@@ -399,6 +399,7 @@
             public string EndLoc { get; set; }//缁堢偣
             public string Spe { get; set; }//瑙勬牸
             public string staff { get; set; } = "None";//鎿嶄綔浜�+            public string shift { get; set; } = "None";//鐝
         }
 
         public class EmptyInStackAreaInfo
@@ -416,6 +417,7 @@
             public string cntID { get; set; }//瀹瑰櫒ID
 
             public string staff { get; set; } = "None";//鎿嶄綔浜�+            public string shift { get; set; } = "None";//鐝
         }
 
         public class SplitOutWarehouseInfo
@@ -429,13 +431,31 @@
         {
             public string old_CntId { get; set; }//鏃у鍣↖D锛岃鎷嗙殑
             public string old_StartLoc { get; set; }//鏃у鍣ㄧ殑璧风偣
-            public int old_IsOK { get; set; }//鏃у鍣↖D锛屾棫瀹瑰櫒鐨勮揣鍝佺殑0鍚堟牸1涓嶅悎鏍�+            /// <summary>
+            /// 0鍚堟牸1寰呮2涓嶅悎鏍硷紝涓嬬嚎鍗冲緟妫�紝3杩囨湡锛�鎶�湳鍒ゅ畾锛�娣峰悎锛�E绾ф枡銆�浜岀骇鏂欍�8鍥炵倝鑳躲�9搴熸枡
+            /// </summary>
+            public int old_IsOK { get; set; }//鏃у鍣↖D锛屾棫瀹瑰櫒鐨勮揣鍝佺殑
+
+            public string old_Spec { get; set; }//鏃у鍣ㄧ殑璐у搧鐨勮鏍�+
+            public string old_CarCode { get; set; }//鏃у鍣ㄧ殑璐у搧鐨勮溅鍙�+
             public string new_CntIds { get; set; }//鎷嗗悗鐨勬柊瀹瑰櫒ID
             public string new_StartLoc { get; set; }//鏂板鍣↖D璧风偣
-            public int new_IsOK { get; set; }//鏂板鍣↖D鐨勮揣鍝佺殑0鍚堟牸1涓嶅悎鏍硷紵
+
+            /// <summary>
+            /// 0鍚堟牸1寰呮2涓嶅悎鏍硷紝涓嬬嚎鍗冲緟妫�紝3杩囨湡锛�鎶�湳鍒ゅ畾锛�娣峰悎锛�E绾ф枡銆�浜岀骇鏂欍�8鍥炵倝鑳躲�9搴熸枡
+            /// </summary>
+            public int new_IsOK { get; set; }//鏂板鍣↖D鐨勮揣鍝佺殑
+
+            public string new_Spec { get; set; }//鏂板鍣ㄧ殑璐у搧鐨勮鏍�+
+            public string new_CarCode { get; set; }//鏂板鍣ㄧ殑璐у搧鐨勮溅鍙�+
             public string staff { get; set; } = "None";//鎿嶄綔浜�+            public string shift { get; set; } = "None";//鐝
         }
-        
+
         public class UpCgDetailModel
         {
             public string cntID { get; set; }//瀹瑰櫒ID
@@ -444,5 +464,28 @@
 
             public string staff { get; set; } = "None";//鎿嶄綔浜�         }
+
+        public class CreateP2PTaskInfo
+        {
+            public string startLoc { get; set; }//璧风偣
+            public string endLoc { get; set; }//缁堢偣
+            public int priority { get; set; } = 3;//浼樺厛绾�+            public string staff { get; set; } = "None";//鎿嶄綔浜�+            public string shift { get; set; } = "None";//鐝
+        }
+
+        public class EmptyLineToLineInfo
+        {
+            public string startLoc { get; set; }//璧风偣
+
+            public string staff { get; set; } = "None";//鎿嶄綔浜�+        }
+
+        public class EmptyLineToEmptyMaxInfo
+        {
+            public string startLoc { get; set; }//璧风偣
+            public int cntCount { get; set; }//瀹瑰櫒鏁伴噺
+            public string staff { get; set; } = "None";//鎿嶄綔浜�+        }
     }
 }

--
Gitblit v1.9.1