#
Junjie
昨天 51a1786ef3e4e016d5f3f7bad8c2e2e8a84247a6
src/main/java/com/zy/core/thread/StationThread.java
@@ -16,6 +16,30 @@
    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,
                                                     Integer palletSize) {
        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);