|
|
@@ -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(() => |
|
|
|
{ |
|
|
|