From bda52da89628d1587ab804510f9995c671a318ca Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期日, 07 四月 2024 14:49:19 +0800 Subject: [PATCH] # --- zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/core/timer/MotionTimer.java | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/core/timer/MotionTimer.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/core/timer/MotionTimer.java index 84edc5b..5a364fb 100644 --- a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/core/timer/MotionTimer.java +++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/core/timer/MotionTimer.java @@ -4,6 +4,7 @@ import com.zy.asrs.wcs.core.entity.Task; import com.zy.asrs.wcs.core.kernel.command.AgvCommandService; import com.zy.asrs.wcs.core.kernel.command.CraneCommandService; +import com.zy.asrs.wcs.core.kernel.command.LiftCommandService; import com.zy.asrs.wcs.core.kernel.command.ShuttleCommandService; import com.zy.asrs.wcs.core.model.enums.DeviceCtgType; import com.zy.asrs.wcs.core.model.enums.MotionCtgType; @@ -38,12 +39,12 @@ // private ConveyorCommandService conveyorCommandService; @Autowired private CraneCommandService craneCommandService; -// @Autowired -// private LiftCommandService liftCommandService; + @Autowired + private LiftCommandService liftCommandService; @Autowired private ShuttleCommandService shuttleCommandService; - @Scheduled(cron = "0/1 * * * * ? ") +// @Scheduled(cron = "0/1 * * * * ? ") public synchronized void executeWrkMast() { Date now = new Date(); // ANALYZE_INBOUND @@ -191,7 +192,7 @@ executeRes = shuttleCommandService.accept(motion); break; case LIFT: -// executeRes = liftCommandService.accept(motion); + executeRes = liftCommandService.accept(motion); break; case AGV: executeRes = agvCommandService.accept(motion); @@ -223,7 +224,7 @@ case CRANE: break; case LIFT: -// executeRes = liftCommandService.finish(motion); + executeRes = liftCommandService.finish(motion); break; case SHUTTLE: executeRes = shuttleCommandService.finish(motion); -- Gitblit v1.9.1