| | |
| | | })) |
| | | )); |
| | | |
| | | // 穿梭车提升机待机位至提升机库位 |
| | | // 锁定提升机 |
| | | motionList.addAll(kernelService.liftLock( |
| | | null |
| | | , MotionDto.build((dto -> { |
| | | dto.setLiftNo(transferLiftDevice.getId().intValue()); |
| | | })) |
| | | )); |
| | | |
| | | // 穿梭车提升机待机位至提升机 |
| | | motionList.addAll(kernelService.shuttleMove( |
| | | MotionDto.build((dto -> { |
| | | dto.setShuttleNo(shuttleDevice.getId().intValue()); |
| | |
| | | MotionCtgType.SHUTTLE_MOVE_TO_LIFT |
| | | )); |
| | | |
| | | // 解锁提升机 |
| | | motionList.addAll(kernelService.liftUnlock( |
| | | null |
| | | , MotionDto.build((dto -> { |
| | | dto.setLiftNo(transferLiftDevice.getId().intValue()); |
| | | })) |
| | | )); |
| | | |
| | | // 提升机搬车 至 充电层 |
| | | motionList.addAll(kernelService.liftMoveShuttle( |
| | | MotionDto.build((dto -> { |
| | |
| | | MotionDto.build((dto -> { |
| | | dto.setLiftNo(transferLiftDevice.getId().intValue()); |
| | | dto.setLev(Utils.getLev(chargeLocNo)); |
| | | })) |
| | | )); |
| | | |
| | | // 锁定提升机 |
| | | motionList.addAll(kernelService.liftLock( |
| | | null |
| | | , MotionDto.build((dto -> { |
| | | dto.setLiftNo(transferLiftDevice.getId().intValue()); |
| | | })) |
| | | )); |
| | | |
| | | // 更新小车坐标 |
| | | motionList.addAll(kernelService.shuttleUpdateLocation( |
| | | null |
| | | , MotionDto.build((dto -> { |
| | | dto.setShuttleNo(shuttleDevice.getId().intValue()); |
| | | dto.setLocNo(liftLocNoFrom); |
| | | })) |
| | | )); |
| | | |
| | |
| | | dto.setLocNo(standbyLocNoFrom); |
| | | })), |
| | | MotionCtgType.SHUTTLE_MOVE_FROM_LIFT |
| | | )); |
| | | |
| | | // 解锁提升机 |
| | | motionList.addAll(kernelService.liftUnlock( |
| | | null |
| | | , MotionDto.build((dto -> { |
| | | dto.setLiftNo(transferLiftDevice.getId().intValue()); |
| | | })) |
| | | )); |
| | | |
| | | // 穿梭车提升机待机位至充电位 |
| | |
| | | })) |
| | | )); |
| | | |
| | | // 穿梭车待机位至提升机库位 |
| | | // 锁定提升机 |
| | | motionList.addAll(kernelService.liftLock( |
| | | null |
| | | , MotionDto.build((dto -> { |
| | | dto.setLiftNo(liftDevice.getId().intValue()); |
| | | })) |
| | | )); |
| | | |
| | | // 穿梭车待机位至提升机 |
| | | motionList.addAll(kernelService.shuttleMove( |
| | | MotionDto.build((dto -> { |
| | | dto.setShuttleNo(shuttleDevice.getId().intValue()); |
| | |
| | | MotionCtgType.SHUTTLE_MOVE_TO_LIFT |
| | | )); |
| | | |
| | | // 解锁提升机 |
| | | motionList.addAll(kernelService.liftUnlock( |
| | | null |
| | | , MotionDto.build((dto -> { |
| | | dto.setLiftNo(liftDevice.getId().intValue()); |
| | | })) |
| | | )); |
| | | |
| | | // 提升机搬车 至 目标位置层 |
| | | motionList.addAll(kernelService.liftMoveShuttle( |
| | | MotionDto.build((dto -> { |
| | |
| | | MotionDto.build((dto -> { |
| | | dto.setLiftNo(liftDevice.getId().intValue()); |
| | | dto.setLev(Utils.getLev(locNo)); |
| | | })) |
| | | )); |
| | | |
| | | // 锁定提升机 |
| | | motionList.addAll(kernelService.liftLock( |
| | | null |
| | | , MotionDto.build((dto -> { |
| | | dto.setLiftNo(liftDevice.getId().intValue()); |
| | | })) |
| | | )); |
| | | |
| | | // 更新小车坐标 |
| | | motionList.addAll(kernelService.shuttleUpdateLocation( |
| | | null |
| | | , MotionDto.build((dto -> { |
| | | dto.setShuttleNo(shuttleDevice.getId().intValue()); |
| | | dto.setLocNo(liftLocNoFrom); |
| | | })) |
| | | )); |
| | | |
| | |
| | | MotionCtgType.SHUTTLE_MOVE_FROM_LIFT |
| | | )); |
| | | |
| | | // 解锁提升机 |
| | | motionList.addAll(kernelService.liftUnlock( |
| | | null |
| | | , MotionDto.build((dto -> { |
| | | dto.setLiftNo(liftDevice.getId().intValue()); |
| | | })) |
| | | )); |
| | | |
| | | // 穿梭车提升机待机位至目标位置 |
| | | motionList.addAll(kernelService.shuttleMove( |
| | | MotionDto.build((dto -> { |