#
Junjie
1 天以前 a17781479bd4acb36069472ac1a987df21c0cc05
src/main/java/com/zy/core/thread/StationThread.java
@@ -16,6 +16,15 @@
    StationCommand getCommand(StationCommandType commandType, Integer taskNo, Integer stationId, Integer targetStationId, Integer palletSize);
    default StationCommand getCommand(StationCommandType commandType,
                                      Integer taskNo,
                                      Integer stationId,
                                      Integer targetStationId,
                                      Integer palletSize,
                                      Double pathLenFactor) {
        return getCommand(commandType, taskNo, stationId, targetStationId, palletSize);
    }
    default StationCommand getRunBlockRerouteCommand(Integer taskNo,
                                                     Integer stationId,
                                                     Integer targetStationId,
@@ -23,6 +32,14 @@
        return getCommand(StationCommandType.MOVE, taskNo, stationId, targetStationId, palletSize);
    }
    default StationCommand getRunBlockRerouteCommand(Integer taskNo,
                                                     Integer stationId,
                                                     Integer targetStationId,
                                                     Integer palletSize,
                                                     Double pathLenFactor) {
        return getCommand(StationCommandType.MOVE, taskNo, stationId, targetStationId, palletSize, pathLenFactor);
    }
    CommandResponse sendCommand(StationCommand command);
    CommandResponse sendOriginCommand(String address, short[] data);