#
zjj
4 天以前 9e2fdc00eab55e45382fa667d9536383cd6f0f73
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);
                }
            }