#
Junjie
2 天以前 c5244cbb8e98b5b3f2e6306ebfabf0333d76c6d6
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);
                }
            }