Commit 90c3043e authored by wanghao's avatar wanghao

1 上料支持 手动 和 自动

parent fc64ceb4
......@@ -478,6 +478,11 @@ public class RobotArmCommandServiceImpl implements IRobotArmCommandService
if(tStoreyInfo == null) {
throw new RuntimeException("层不存在");
}
if(!"0".equals(tStoreyInfo.getfStatus())) {
throw new RuntimeException("层状态异常,请联系管理员");
}
robotArmCommand.setStatus("1");
robotArmCommand.setStoreyCode(tStoreyInfo.getfStoreyCode());
robotArmCommand.setCommand(tStoreyInfo.getFeedingCommand());
......
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