| | |
| | | motion.setOrigin(String.valueOf(liftDispatcher.getLiftLevOffset(target.getLiftNo(), origin.getLev()))); |
| | | } |
| | | motion.setTarget(String.valueOf(liftDispatcher.getLiftLevOffset(target.getLiftNo(), target.getLev()))); |
| | | })); |
| | | |
| | | // if (target.getUpdateLiftNo() != null && target.getWrkNo() != null) { |
| | | // if (target.getUpdateLiftNo()) { |
| | | // |
| | | // } |
| | | // } |
| | | if (target.getSync() != null) { |
| | | motion.setSync(target.getSync()); |
| | | } |
| | | |
| | | if (target.getReleaseLift() != null) { |
| | | motion.setReleaseLift(target.getReleaseLift()); |
| | | } |
| | | })); |
| | | |
| | | return motionList; |
| | | } |
| | |
| | | motion.setTarget(String.valueOf(liftDispatcher.getLiftLevOffset(target.getLiftNo(), target.getLev()))); |
| | | motion.setTarDrt(target.getStaNo());//目标站 |
| | | |
| | | if (target.getDevpNo() != null) { |
| | | motion.setDockNo(String.valueOf(target.getDevpNo()));//输送线ID |
| | | } |
| | | |
| | | if (target.getSync() != null) { |
| | | motion.setSync(target.getSync()); |
| | | } |
| | | |
| | | if (target.getReleaseLift() != null) { |
| | | motion.setReleaseLift(target.getReleaseLift()); |
| | | } |
| | | })); |
| | | |
| | |
| | | if (null != origin) { |
| | | motion.setOrigin(String.valueOf(liftDispatcher.getLiftLevOffset(target.getLiftNo(), origin.getLev()))); |
| | | } |
| | | |
| | | if (target.getTaskNo() != null) { |
| | | motion.setTaskNo(target.getTaskNo()); |
| | | } |
| | | |
| | | motion.setTarget(String.valueOf(liftDispatcher.getLiftLevOffset(target.getLiftNo(), target.getLev()))); |
| | | })); |
| | | |
| | |
| | | motion.setDeviceCtg(DeviceCtgType.LIFT.val()); |
| | | motion.setDevice(String.valueOf(target.getLiftNo())); |
| | | motion.setMotionCtg(MotionCtgType.LIFT_LOCK.val()); |
| | | |
| | | if (target.getSync() != null) { |
| | | motion.setSync(target.getSync()); |
| | | } |
| | | |
| | | if (target.getReleaseLift() != null) { |
| | | motion.setReleaseLift(target.getReleaseLift()); |
| | | } |
| | | })); |
| | | |
| | | return motionList; |
| | |
| | | motion.setDeviceCtg(DeviceCtgType.LIFT.val()); |
| | | motion.setDevice(String.valueOf(target.getLiftNo())); |
| | | motion.setMotionCtg(MotionCtgType.LIFT_UNLOCK.val()); |
| | | |
| | | if (target.getSync() != null) { |
| | | motion.setSync(target.getSync()); |
| | | } |
| | | |
| | | if (target.getReleaseLift() != null) { |
| | | motion.setReleaseLift(target.getReleaseLift()); |
| | | } |
| | | })); |
| | | |
| | | return motionList; |