lss
2025-07-15 f3c8f980269b7f8fd9556c9076e06ca1461796e8
HH.WCS.Mobox3/HH.WCS.Mobox3.JiaTong/util/Settings.cs
@@ -17,9 +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; }
@@ -92,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());
@@ -107,6 +115,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());
                            }
                        }
                    }
@@ -125,7 +141,7 @@
            public string address { get; set; }
            public string deviceName { get; set; }
            public string[] deviceNo { get; set; }
            public string[] TN_Location { get; set; }
            public string TN_Location { get; set; }
            public int deviceType { get; set; }
            public int enable { get; set; }
@@ -153,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
        {
@@ -166,5 +187,24 @@
            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; }
        }
        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; }
        }
    }
}