|
|
@@ -1438,7 +1438,6 @@ namespace BPASmartClient.DosingSystem |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
|
|
|
|
doDeviceCount.TryAdd(DeviceInquire.GetInstance.devices[i].IpAddress, 0); |
|
|
|
} |
|
|
|
|
|
|
@@ -1578,7 +1577,6 @@ namespace BPASmartClient.DosingSystem |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
DeviceParModel deviceSet = Json<DevicePar>.Data.deviceParModels?.ToList().Find(a => a.MaterialName == DeviceInquire.GetInstance.devices[i].DeviceName); |
|
|
|
DeviceInquire.GetInstance.DeviceLists[DeviceInquire.GetInstance.devices[i].IpAddress].modbusTcp.Write<ushort>(DeviceAddress.TranspportSp.ToAdd(), 600); |
|
|
|
DeviceInquire.GetInstance.DeviceLists[DeviceInquire.GetInstance.devices[i].IpAddress].modbusTcp.Write<ushort>(DeviceAddress.TranspportSwitch.ToAdd(), (ushort)1); |
|
|
|
} |
|
|
|