| | |
| | | /** |
| | | * 提升机载货移动 |
| | | */ |
| | | public List<Motion> liftMoveGoods(MotionDto origin, MotionDto target) { |
| | | public List<Motion> liftMoveGoods(MotionDto origin, MotionDto target, MotionCtgType type) { |
| | | List<Motion> motionList = new ArrayList<>(); |
| | | |
| | | motionList.add(Motion.build(motion -> { |
| | |
| | | motion.setDevice(String.valueOf(target.getLiftNo())); |
| | | |
| | | motion.setMotionCtg(MotionCtgType.LIFT_WITH_GOODS.val()); |
| | | if (type != null) { |
| | | motion.setMotionCtg(type.val()); |
| | | } |
| | | |
| | | if (null != origin) { |
| | | // motion.setOrigin(String.valueOf(liftDispatcher.getLiftLevOffset(target.getLiftNo(), origin.getLev()))); |