From fbb7c2253c86d58583d7e3b0a8a44d0342c43c73 Mon Sep 17 00:00:00 2001
From: kazelee <1847801760@qq.com>
Date: 星期五, 25 七月 2025 17:20:52 +0800
Subject: [PATCH] 完善单容器多物料场景的优化重构, 优化ERP回报信息的处理

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

diff --git a/api/ApiModel.cs b/api/ApiModel.cs
index b4d438b..2ec251e 100644
--- a/api/ApiModel.cs
+++ b/api/ApiModel.cs
@@ -139,6 +139,30 @@
             public string msg { get; set; }
             public int orderID { get; set; }
         }
+
+        public class EmptyGzResult {
+
+        }
+
+        public class agvRealtimeStateReportInfo {
+            public int agvID { get; set; }
+            public int agvStatusID { get; set; }
+            public bool netConnected { get; set; }
+            public string agv_speed { get; set; }
+            public object node_information_of_traffic { get; set; }
+            public int dispatchTaskActive { get; set; }
+            public double position_x { get; set; }
+            public double position_y { get; set; }
+            public double angle {  get; set; }
+            public double battery_percentage { get; set; }
+            public double safetyTriggered { get; set; }
+            public bool isBlocked { get; set; }
+            public bool faultHappened { get; set; }
+            public bool isCharging { get; set; }
+            public bool hang_agv { get; set; }
+            public string extroInfo1 { get; set; }
+            public string extroInfo2 { get; set; }
+        }
     }
 
     public class OtherModel {
@@ -156,11 +180,19 @@
             public string Row { get; set; }
         }
 
+        public class AddCgDetailInfo {
+            public string LocCode { get; set; }
+            //public string CntrCode { get; set; }
+            public string ItemCode { get; set; }
+            public string ItemName { get; set; }
+            public string ItemShortDesc { get; set; }
+            public int ItemCount { get; set; }
+        }
+
         public class InboundDataInfo {
             /// <summary>
             /// 璧风偣璐т綅
             /// </summary>
-            [JsonProperty("StartLoc")]
             public string StartLoc { get; set; }
 
             /// <summary>
@@ -170,7 +202,9 @@
             public string Row { get; set; }
 
             public string ItemCode { get; set; }
-            //public string ItemName { get; set; }
+            public string ItemName { get; set; }
+            public string ItemShortDesc { get; set; }
+            public int ItemCount { get; set; }
         }
 
         public class SelectLocationInfo {
@@ -197,6 +231,19 @@
             /// 缁堢偣浣嶇疆
             /// </summary>
             public string endLoc { get; set; }
+        }
+
+        public class InboundLocInfo {
+            public string startLoc { get; set; }
+            public string endLoc { get; set; }
+            public string ItemCode { get; set; }
+            public string ItemName { get; set; }
+            public string ItemShortDesc { get; set; }
+            public int ItemCount { get; set; }
+        }
+
+        public class UnbindLocInfo {
+            public string startLoc { get; set; }
         }
 
         public class CancelTaskInfo {
@@ -228,8 +275,15 @@
         }
 
         public class CountProductInfo {
-            public string cntrCode { get; set; }
+            //public string cntrCode { get; set; }
+            public string locCode { get; set; }
+            public string itemCode { get; set; }
             public float qty { get; set; }
+        }
+
+        public class CheckOutboundOnceInfo {
+            public string cntrCode { get; set; }
+            public string endLoc { get; set; }
         }
 
         /// <summary>
@@ -514,5 +568,9 @@
             /// </summary>
             public string ext5 { get; set; }
         }
+
+        public class KanbanAgvState {
+            public string AgvState {  get; set; }
+        }
     }
 }

--
Gitblit v1.9.1