Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob/CommonConveyorLineJob.cs
@@ -604,8 +604,12 @@ // 将修改后的数组x重新拼接成字符串,作为新的DeviceProAddress string DeviceProAddress = string.Join(".", x); // 使用conveyorLine的Communicator对象的Write方法,将value写入新的DeviceProAddress地址 conveyorLine.Communicator.Write(DeviceProAddress, value); var writeBool = conveyorLine.Communicator.Read<bool>(DeviceProAddress); if (writeBool != value) { // 使用conveyorLine的Communicator对象的Write方法,将value写入新的DeviceProAddress地址 conveyorLine.Communicator.Write(DeviceProAddress, value); } } #region 检测空盘实盘任务