pry 1 year ago
parent
commit
1e426e308b
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      DosingSystem/App.xaml.cs
  2. +1
    -1
      DosingSystem/Model/DeviceInquire.cs

+ 1
- 1
DosingSystem/App.xaml.cs View File

@@ -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";


+ 1
- 1
DosingSystem/Model/DeviceInquire.cs View File

@@ -143,7 +143,7 @@ namespace BPASmartClient.DosingSystem
{
if (!string.IsNullOrEmpty(Json<DevicePar>.Data.BaseParModel.NetworkSegAddress)) IPSegment = Json<DevicePar>.Data.BaseParModel.NetworkSegAddress;
else Json<DevicePar>.Data.BaseParModel.NetworkSegAddress = IPSegment;
TestData();
//TestData();
IpAddressLines();
SiemensDevice.GetInstance.Connect(Json<DevicePar>.Data.BaseParModel.DeviceAddress);
DeviceDataInit();


Loading…
Cancel
Save