From e29a9f245ff4e57a40bbab1c0acc3cbc31d3ac2b Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期一, 21 四月 2025 11:13:13 +0800
Subject: [PATCH] #出库找待机位优化

---
 zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/core/timer/MotionTimer.java |    8 ++++++++
 1 files changed, 8 insertions(+), 0 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 82408aa..537e3a8 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
@@ -41,6 +41,8 @@
     private LiftCommandService liftCommandService;
     @Autowired
     private ShuttleCommandService shuttleCommandService;
+    @Autowired
+    private MapCommandService mapCommandService;
 
     @Scheduled(cron = "0/1 * * * * ? ")
     public synchronized void executeTask() {
@@ -416,6 +418,9 @@
             case AGV:
                 executeRes = agvCommandService.accept(motion);
                 break;
+            case MAP:
+                executeRes = mapCommandService.accept(motion);
+                break;
             default:
                 break;
         }
@@ -451,6 +456,9 @@
             case CONVEYOR:
                 executeRes = conveyorCommandService.finish(motion);
                 break;
+            case MAP:
+                executeRes = mapCommandService.finish(motion);
+                break;
             default:
                 break;
         }

--
Gitblit v1.9.1