From 15b5002fd412a5d33be5d5c6deb63b3d02c77c41 Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期二, 23 九月 2025 14:35:39 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/core/action/LiftAction.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/java/com/zy/core/action/LiftAction.java b/src/main/java/com/zy/core/action/LiftAction.java
index 81a20b7..0626be0 100644
--- a/src/main/java/com/zy/core/action/LiftAction.java
+++ b/src/main/java/com/zy/core/action/LiftAction.java
@@ -129,15 +129,15 @@
 
             LiftCommand lastCommand = commands.get(commandStep - 1);
             if (lastCommand.getMode() == LiftTaskModeType.PICK_PUT.id) {
-                if (liftProtocol.getLev() == lastCommand.getPut()) {
+                if (liftProtocol.getLev() == lastCommand.getPutLev()) {
                     lastCommand.setComplete(true);
                 }
             } else if (lastCommand.getMode() == LiftTaskModeType.SHUTTLE_SWITCH.id) {
-                if (liftProtocol.getLev() == lastCommand.getPut()) {
+                if (liftProtocol.getLev() == lastCommand.getPutLev()) {
                     lastCommand.setComplete(true);
                 }
             } else if (lastCommand.getMode() == LiftTaskModeType.MOVE.id) {
-                if (liftProtocol.getLev() == lastCommand.getPut()) {
+                if (liftProtocol.getLev() == lastCommand.getPutLev()) {
                     lastCommand.setComplete(true);
                 }
             }

--
Gitblit v1.9.1