#
Junjie
6 小时以前 e9b531edd2917b01a80dfa14e917ec21ddad8882
src/main/java/com/zy/core/network/fake/ZyStationFakeSegConnect.java
@@ -148,8 +148,13 @@
            return false;
        }
        List<Integer> path = command.getNavigatePath();
        return (path == null || path.isEmpty()) && command.getStationId() != null
                && command.getStationId().equals(command.getTargetStaNo());
        if (command.getStationId() == null || !command.getStationId().equals(command.getTargetStaNo())) {
            return false;
        }
        if (path == null || path.isEmpty()) {
            return true;
        }
        return path.size() == 1 && command.getStationId().equals(path.get(0));
    }
    private void handleDirectMoveCommand(Integer deviceNo, StationCommand command) {