| | |
| | | News.error("RGV命令下发前读取状态[id:{}] >>>>> 写入[{}],===>>回读[{}]", slave.getId(), JSON.toJSON(command),JSON.toJSON(one)); |
| | | } |
| | | |
| | | |
| | | OperateResult result8 = siemensNet.Write("DB100.10", (short) 0); |
| | | if (result8.IsSuccess){ |
| | | News.error("下发前把车子确认位置为0"); |
| | | } |
| | | |
| | | // siemensNet.Write("DB100.20", command.getCommand()); |
| | | |
| | | command.setRgvNo(slave.getId()); |
| | |
| | | array[2] = command.getTaskMode1(); |
| | | array[3] = command.getSourceStaNo1(); |
| | | array[4] = command.getDestinationStaNo1(); |
| | | siemensNet.Write("DB100.10", command.getCommand()); |
| | | // siemensNet.Write("DB100.10", command.getCommand()); |
| | | |
| | | OperateResult result = siemensNet.Write("DB100.0", array); |
| | | |