zxx
2025-05-19 839cd7bba832638a5ba1fb2d3e4e0619e33651e3
HH.WCS.Mobox3/HH.WCS.Mobox3.JuShi/util/Settings.cs
@@ -21,7 +21,7 @@
        public static List<PriorityLoc> PriorityLocs { get; set; }
        public static List<ConveyorLinesInfo> ConveyorLinesInfos { get; set; }
        public static List<linePlcInfo> linePlcInfos { get; set; }
        public static List<SafeDoor> SafeDoors { get; set; }
        public static List<SafeInteraction> SafeInteractions { get; set; }
        public static int port { get; set; }
        public static string WHCode { get; set; }
        public static string FacCode { get; set; }
@@ -110,9 +110,9 @@
                            {
                                PriorityLocs = JsonConvert.DeserializeObject<List<PriorityLoc>>(keyValue.Value.ToString());
                            }
                            if (keyValue.Name == "SafeDoor")
                            if (keyValue.Name == "SafeInteraction")
                            {
                                SafeDoors = JsonConvert.DeserializeObject<List<SafeDoor>>(keyValue.Value.ToString());
                                SafeInteractions = JsonConvert.DeserializeObject<List<SafeInteraction>>(keyValue.Value.ToString());
                            }
                        }
                    }
@@ -192,11 +192,12 @@
            public string SecondaryArea { get; set; }
        }
        public class SafeDoor
        public class SafeInteraction
        {
            public string pointCode { get; set; }
            public string ip { get; set; }
            public string port { get; set; }
            public string type { get; set; }
            public string location { get; set; }
        }
    }