Commit 055017cd authored by wanghao's avatar wanghao

1 下料解绑数据调整

parent 25eb12a1
......@@ -136,7 +136,7 @@ public class RobotArmCommandServiceImpl implements IRobotArmCommandService
robotArmCommandMapper.selectPendingUnloadingCommands();
if (!unloadingCommands.isEmpty()) {
boolean[] roboticArmExitConveyorData = Modbus4jUtils.getRoboticArmExitConveyorData(outLetBeltIp,outLetBeltPort);
if(roboticArmExitConveyorData[1]) {
if(roboticArmExitConveyorData[0]) {
log.info("开始处理下料指令: {}", unloadingCommands.get(0));
sendCommand(unloadingCommands.get(0), "UNLOAD");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment