杨前锦
2025-06-19 d42ad8b01195def2a9309930e14f90ff13ad47b1
HH.WCS.Mobox3/HH.WCS.Mobox3.YNJT_PT/util/Settings.cs
@@ -13,13 +13,14 @@
    {
        public static string HostToAgvServerUrl { get; set; }
        public static string HASeverUrl { get; set; }
        public static string SqlServer { get; set; }
        public static string SqlServer  { get; set; }
        public static string SqlServer1 { get; set; }
        public static List<ConnectLoc> connectLocList { get; set; }
        public static List<OnLineLoc> onLineLocList { get; set; }
        public static List<CallOutLoc> callOutLocList { get; set; }
        public static int port { get; set; }
        public static string WHCode { get; set; }
        public static string FacCode { get; set; }
        public static string abnormalArea { get; set; }
        public static string stockArea { get; set; }
@@ -56,9 +57,13 @@
                            if (keyValue.Name == "ConnectLoc") {
                                connectLocList = JsonConvert.DeserializeObject<List<ConnectLoc>>(keyValue.Value.ToString());
                            }
                            if (keyValue.Name == "AbnormalArea")
                            if (keyValue.Name == "OnLineLoc")
                            {
                                abnormalArea = keyValue.Value.ToString();
                                onLineLocList = JsonConvert.DeserializeObject<List<OnLineLoc>>(keyValue.Value.ToString());
                            }
                            if (keyValue.Name == "CallOutLoc")
                            {
                                callOutLocList = JsonConvert.DeserializeObject<List<CallOutLoc>>(keyValue.Value.ToString());
                            }
                            if (keyValue.Name == "StockArea")
                            {
@@ -81,8 +86,19 @@
        {
            public string locCode { get; set; }
            public int roadway { get; set; }
        }
        public class OnLineLoc
        {
            public string locCode { get; set; }
            public int type { get; set; }
        }
        public class CallOutLoc
        {
            public string locCode { get; set; }
            public int row { get; set; }
        }
    }
}