| | |
| | | log.error("堆垛机写入命令为空"); |
| | | return false; |
| | | } |
| | | convertRow(command); |
| | | // convertRow(command); |
| | | command.setCrnNo(slave.getId()); |
| | | short[] array = new short[12]; |
| | | array[0] = command.getAckFinish(); |
| | |
| | | array[10] = command.getDestinationStaNo(); |
| | | array[11] = command.getCommand(); |
| | | OperateResult result = siemensNet.Write("DB100.0", array); |
| | | OperateResult result2 = siemensNet.Write("DB100.20", command.getBarcode()); |
| | | |
| | | if (command.getAckFinish() == 0){ |
| | | OperateResult result2 = siemensNet.Write("DB100.20", command.getBarcode()); |
| | | } |
| | | |
| | | if (command.getAckFinish() == 0) { |
| | | short commandFinish = 1; |