From 50cdef950cce005f8eda95dd8fd23c3092d1b433 Mon Sep 17 00:00:00 2001 From: lss <2538410689@qq.com> Date: 星期二, 22 七月 2025 15:14:08 +0800 Subject: [PATCH] 大车间 --- HH.WCS.Mobox3/HH.WCS.Mobox3.JiaTong/util/Settings.cs | 29 +++++++++++++++++++++++++++++ 1 files changed, 29 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 40e9ca2..61ca3b3 100644 --- a/HH.WCS.Mobox3/HH.WCS.Mobox3.JiaTong/util/Settings.cs +++ b/HH.WCS.Mobox3/HH.WCS.Mobox3.JiaTong/util/Settings.cs @@ -17,10 +17,13 @@ public static string AppKey { get; set; } public static string AppSecret { get; set; } public static List<deviceInfo> deviceInfos { 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 List<AgvError> agvError { get; set; } public static int port { get; set; } public static string WHCode { get; set; } public static string FacCode { get; set; } @@ -93,6 +96,10 @@ { OLMA_LOC = JsonConvert.DeserializeObject<string[]>(keyValue.Value.ToString()); } + if (keyValue.Name == "AgvError") + { + agvError = JsonConvert.DeserializeObject<List<AgvError>>(keyValue.Value.ToString()); + } if (keyValue.Name == "DeviceInfo") { deviceInfos = JsonConvert.DeserializeObject<List<deviceInfo>>(keyValue.Value.ToString()); @@ -112,6 +119,10 @@ if (keyValue.Name == "WareLoc") { wareLoc = JsonConvert.DeserializeObject<List<WareLoc>>(keyValue.Value.ToString()); + } + if (keyValue.Name == "DpjErrorInfo") + { + dpjErrorInfos = JsonConvert.DeserializeObject<List<ErrorInfos>>(keyValue.Value.ToString()); } } } @@ -158,7 +169,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 { @@ -176,6 +192,19 @@ 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; } + + } + + public class AgvError + { + public string[] agvNo { get; set; } + public string agvName { get; set; } + + public List<ErrorInfos> AgvErrorCode1 { get; set; } + public List<ErrorInfos> AgvErrorCode2 { get; set; } + public List<ErrorInfos> AgvFaildCode { get; set; } } } } -- Gitblit v1.9.1