From 95c865c03a9cb128af51ac4b7d7f9d7149441efd Mon Sep 17 00:00:00 2001
From: lss <2538410689@qq.com>
Date: 星期一, 07 七月 2025 17:30:35 +0800
Subject: [PATCH] agv效率开发

---
 HH.WCS.Mobox3/HH.WCS.Mobox3.JiaTong/util/Settings.cs |   39 +++++++++++++++++++++++++++++++++++++++
 1 files changed, 39 insertions(+), 0 deletions(-)

diff --git a/HH.WCS.Mobox3/HH.WCS.Mobox3.JiaTong/util/Settings.cs b/HH.WCS.Mobox3/HH.WCS.Mobox3.JiaTong/util/Settings.cs
index b58ba78..7c82241 100644
--- a/HH.WCS.Mobox3/HH.WCS.Mobox3.JiaTong/util/Settings.cs
+++ b/HH.WCS.Mobox3/HH.WCS.Mobox3.JiaTong/util/Settings.cs
@@ -17,9 +17,14 @@
         public static string AppKey { get; set; }
         public static string AppSecret { get; set; }
         public static List<deviceInfo> deviceInfos { get; set; }
+        public static List<ErrorInfos> agvErrorCode1 { get; set; }
+        public static List<ErrorInfos> agvErrorCode2 { get; set; }
+        public static List<ErrorInfos> agvFaildCode { get; set; }
         public static List<TableUrl> tableUrls { get; set; }
+        public static List<ErrorInfos> dpjErrorInfos { get; set; }
         public static List<ElevatorLoc> elevatorLoc { get; set; }
         public static List<LocAreabyItem> locAreabyItem { get; set; }
+        public static List<WareLoc> wareLoc { get; set; }
         public static int port { get; set; }
         public static string WHCode { get; set; }
         public static string FacCode { get; set; }
@@ -92,6 +97,18 @@
                             {
                                 OLMA_LOC = JsonConvert.DeserializeObject<string[]>(keyValue.Value.ToString());
                             }
+                            if (keyValue.Name == "AgvFaildCode")
+                            {
+                                agvErrorCode1 = JsonConvert.DeserializeObject<List<ErrorInfos>>(keyValue.Value.ToString());
+                            }
+                            if (keyValue.Name == "AgvErrorCode1")
+                            {
+                                agvErrorCode2 = JsonConvert.DeserializeObject<List<ErrorInfos>>(keyValue.Value.ToString());
+                            }
+                            if (keyValue.Name == "AgvErrorCode2")
+                            {
+                                agvFaildCode = JsonConvert.DeserializeObject<List<ErrorInfos>>(keyValue.Value.ToString());
+                            }
                             if (keyValue.Name == "DeviceInfo")
                             {
                                 deviceInfos = JsonConvert.DeserializeObject<List<deviceInfo>>(keyValue.Value.ToString());
@@ -107,6 +124,14 @@
                             if (keyValue.Name == "LocAreabyItem")
                             {
                                 locAreabyItem = JsonConvert.DeserializeObject<List<LocAreabyItem>>(keyValue.Value.ToString());
+                            }
+                            if (keyValue.Name == "WareLoc")
+                            {
+                                wareLoc = JsonConvert.DeserializeObject<List<WareLoc>>(keyValue.Value.ToString());
+                            }
+                            if (keyValue.Name == "DpjErrorInfo")
+                            {
+                                dpjErrorInfos = JsonConvert.DeserializeObject<List<ErrorInfos>>(keyValue.Value.ToString());
                             }
                         }
                     }
@@ -153,7 +178,12 @@
             public int id { get; set; }
             public string url { get; set; }
         }
+        public class ErrorInfos
+        {
 
+            public int ErrorCode { get; set; }
+            public string ErrorInfo { get; set; }
+        }
 
         public class ElevatorLoc
         {
@@ -166,5 +196,14 @@
             public string AreaCode { get; set; }
             public string[] ItemCode { get; set; }
         }
+        public class WareLoc
+        {
+            public string AreaCode { get; set; }
+            public string PMK { get; set; }
+            public string ZCW { get; set; }
+            public string ZCW2 { get; set; }
+            public string[] XbAreaCodes { get; set; }
+
+        }
     }
 }

--
Gitblit v1.9.1