From 4756b195166c9742d120f369adf66eb0a89e58d7 Mon Sep 17 00:00:00 2001 From: czw <selecti@yeah.net> Date: 星期三, 23 七月 2025 16:41:34 +0800 Subject: [PATCH] 1 --- 2025年6月12日/AuxAllWCS/Build/Project/代码/界面事件.cs | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git "a/2025\345\271\2646\346\234\21012\346\227\245/AuxAllWCS/Build/Project/\344\273\243\347\240\201/\347\225\214\351\235\242\344\272\213\344\273\266.cs" "b/2025\345\271\2646\346\234\21012\346\227\245/AuxAllWCS/Build/Project/\344\273\243\347\240\201/\347\225\214\351\235\242\344\272\213\344\273\266.cs" index b14d39f..abc1e3e 100644 --- "a/2025\345\271\2646\346\234\21012\346\227\245/AuxAllWCS/Build/Project/\344\273\243\347\240\201/\347\225\214\351\235\242\344\272\213\344\273\266.cs" +++ "b/2025\345\271\2646\346\234\21012\346\227\245/AuxAllWCS/Build/Project/\344\273\243\347\240\201/\347\225\214\351\235\242\344\272\213\344\273\266.cs" @@ -65,13 +65,13 @@ } View1_Init(sender, e); - var path = System.IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Configs"); - string text = File.ReadAllText(configPath); - PlcConfig plcConfig = JsonConvert.DeserializeObject<PlcConfig>(text); - if (plcConfig != null && FactoryMap.ContainsKey((int)plcConfig.Brand) && FactoryMap[(int)plcConfig.Brand].Contains((int)plcConfig.Comm)) - { + //var path = System.IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Configs"); + //string text = File.ReadAllText(configPath); + //PlcConfig plcConfig = JsonConvert.DeserializeObject<PlcConfig>(text); + //if (plcConfig != null && FactoryMap.ContainsKey((int)plcConfig.Brand) && FactoryMap[(int)plcConfig.Brand].Contains((int)plcConfig.Comm)) + //{ - } + //} Console.Write(path); /// <summary> /// 绋嬪簭鐗囨:鍒濆鍖栭厤缃� -- Gitblit v1.9.1