Browse Source

1

JXJAgvReake
pry 1 year ago
parent
commit
70b008a545
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      DosingSystem/Model/DeviceInquire.cs

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

@@ -147,7 +147,10 @@ namespace BPASmartClient.DosingSystem
else Json<DevicePar>.Data.BaseParModel.NetworkSegAddress = IPSegment;
//TestData();
IpAddressLines();
SiemensDevice.GetInstance.Connect(Json<DevicePar>.Data.BaseParModel.DeviceAddress);
Task.Factory.StartNew(() =>
{
SiemensDevice.GetInstance.Connect(Json<DevicePar>.Data.BaseParModel.DeviceAddress);
});
DeviceDataInit();
TaskManage.GetInstance.StartLong(new Action(() =>
{


Loading…
Cancel
Save