From a688149a4196f05f19d0b9aa7a084217fb89ef4c Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期三, 26 六月 2024 13:55:50 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/common/service/AgvCommonService.java |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/zy/common/service/AgvCommonService.java b/src/main/java/com/zy/common/service/AgvCommonService.java
index f87765f..e7aded0 100644
--- a/src/main/java/com/zy/common/service/AgvCommonService.java
+++ b/src/main/java/com/zy/common/service/AgvCommonService.java
@@ -238,7 +238,10 @@
         Boolean orderBy = false;
         int levCount = 0;
         int times = 1;
-        if (floor == 1) {
+        if (floor == 1 || floor >= 4) {
+            if (floor >= 4 ) {
+                floor = 1;
+            }
             orderBy = true;
             levCount = 2;
         } else {

--
Gitblit v1.9.1