Commit 055d3aac authored by wanghao's avatar wanghao

1 传送带 ip 和 端口号维护

2 上料  下料时 判断 传送带 是否有东西
parent 72c63261
......@@ -111,7 +111,7 @@ public class RobotArmCommandServiceImpl implements IRobotArmCommandService
// 1. 处理待执行的上料指令
List<RobotArmCommand> loadingCommands =
robotArmCommandMapper.selectPendingLoadingCommands();
if (!loadingCommands.isEmpty() && "priority".equals(priority)) {
if (!loadingCommands.isEmpty() && "loading".equals(priority)) {
// 传送带检测先去掉
boolean[] roboticArmEntryConveyorData = Modbus4jUtils.getRoboticArmExitConveyorData(feedIp,feedPort);
......
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