From 1e426e308bfb14aeae387f58b7a8ee70e4021d7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A6=82=E6=84=8F=20=E5=BD=AD?= <2417589739@qq.com> Date: Wed, 14 Jun 2023 09:51:21 +0800 Subject: [PATCH] 1 --- DosingSystem/App.xaml.cs | 2 +- DosingSystem/Model/DeviceInquire.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DosingSystem/App.xaml.cs b/DosingSystem/App.xaml.cs index 11317a5d..9723072e 100644 --- a/DosingSystem/App.xaml.cs +++ b/DosingSystem/App.xaml.cs @@ -61,7 +61,7 @@ namespace BPASmartClient.DosingSystem BPASmartClient.Helper.SystemHelper.GetInstance.CreateDesktopShortcut(); MenuInit(); DataInit(); - SiemensTest.GetInstance.Init(); + //SiemensTest.GetInstance.Init(); DeviceInquire.GetInstance.Init();//配料机设备上线监听,设备列表初始化 MainView mv = new MainView(); mv.TitleName = $"味魔方管理系统软件[简称:味魔方] V1.0.1"; diff --git a/DosingSystem/Model/DeviceInquire.cs b/DosingSystem/Model/DeviceInquire.cs index 8b6902e7..ecb4eeea 100644 --- a/DosingSystem/Model/DeviceInquire.cs +++ b/DosingSystem/Model/DeviceInquire.cs @@ -143,7 +143,7 @@ namespace BPASmartClient.DosingSystem { if (!string.IsNullOrEmpty(Json.Data.BaseParModel.NetworkSegAddress)) IPSegment = Json.Data.BaseParModel.NetworkSegAddress; else Json.Data.BaseParModel.NetworkSegAddress = IPSegment; - TestData(); + //TestData(); IpAddressLines(); SiemensDevice.GetInstance.Connect(Json.Data.BaseParModel.DeviceAddress); DeviceDataInit();