| | |
| | | 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; } |
| | |
| | | { |
| | | 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()); |
| | | } |
| | | } |
| | | } |
| | |
| | | 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; } |
| | | |
| | | } |
| | | } |