Commit 914df7d6 authored by wanghao's avatar wanghao

1 上料支持 手动 和 自动

parent 90c3043e
...@@ -486,6 +486,8 @@ public class RobotArmCommandServiceImpl implements IRobotArmCommandService ...@@ -486,6 +486,8 @@ public class RobotArmCommandServiceImpl implements IRobotArmCommandService
robotArmCommand.setStatus("1"); robotArmCommand.setStatus("1");
robotArmCommand.setStoreyCode(tStoreyInfo.getfStoreyCode()); robotArmCommand.setStoreyCode(tStoreyInfo.getfStoreyCode());
robotArmCommand.setCommand(tStoreyInfo.getFeedingCommand()); robotArmCommand.setCommand(tStoreyInfo.getFeedingCommand());
// 上料 类型
robotArmCommand.setType("0");
tTrayInfo.setfStoreyCode(tStoreyInfo.getfStoreyCode()); tTrayInfo.setfStoreyCode(tStoreyInfo.getfStoreyCode());
tTrayInfo.setfBindingTime(new Date()); tTrayInfo.setfBindingTime(new Date());
tTrayInfoMapper.updateTTrayInfo(tTrayInfo); tTrayInfoMapper.updateTTrayInfo(tTrayInfo);
......
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