Browse Source

上传

一拖四味魔方配料系统
yaowen liu 11 months ago
parent
commit
242964620f
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      DosingSystem/ExcuteControl .cs

+ 0
- 2
DosingSystem/ExcuteControl .cs View File

@@ -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);
}


Loading…
Cancel
Save