From 83a7b2db0150d30576461055707367e8189ebc6e Mon Sep 17 00:00:00 2001 From: 海波 张 <2956280567@qq.com> Date: 星期三, 25 六月 2025 17:29:08 +0800 Subject: [PATCH] 交互修改 --- util/Settings.cs | 39 +++++++++++++++++++++++++++++++++++---- 1 files changed, 35 insertions(+), 4 deletions(-) diff --git a/util/Settings.cs b/util/Settings.cs index 5124c87..803f855 100644 --- a/util/Settings.cs +++ b/util/Settings.cs @@ -17,6 +17,13 @@ public static string TmDeviceIp { get; set; } + + + //hosttoagv閴存潈 + //public static string AppKey { get; set; } + //public static string AppSecret { get; set; } + + public static int TmDevicePort { get; set; } public static List<safetyLocation> safetyLocations { get; set; } @@ -32,17 +39,28 @@ /// </summary> public static string MesGetItemApi { get; set; } + /// <summary> + /// 閰嶇疆 + /// </summary> public static List<deviceInfo> deviceInfos { get; set; } - + /// <summary> + /// 鑳庨潰璁惧閰嶇疆 + /// </summary> public static List<TmDeviceInfo> TmDeviceInfos { get; set; } public static List<areaInfo> areaInfos { get; set; } + /// <summary> + /// 浼樺厛绾ч厤缃�+ /// </summary> public static OutMinutePriority outMinutePriority { get; set; } - - + + + /// <summary> + /// NDC鍦板潃 + /// </summary> public static string NDCApiUrl { get; set; } @@ -89,7 +107,16 @@ { EmptyPalletBufferArea = keyValue.Value.ToString(); } - + + //hosttoagv閴存潈 + //if (keyValue.Name == "AppKey") + //{ + // AppKey = keyValue.Value.ToString(); + //} + //if (keyValue.Name == "AppSecret") + //{ + // AppSecret = keyValue.Value.ToString(); + //} if (keyValue.Name == "SafetyLocation") { @@ -105,6 +132,10 @@ { outMinutePriority = JsonConvert.DeserializeObject<OutMinutePriority> (keyValue.Value.ToString()); } + + + + //if (keyValue.Name == "DeviceInfo") //{ // deviceInfos = JsonConvert.DeserializeObject<List<deviceInfo>>(keyValue.Value.ToString()); -- Gitblit v1.9.1