From 5d68f36fb16c07ea5459a167c9711f681c2f71b2 Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期五, 27 三月 2026 17:10:25 +0800
Subject: [PATCH] #
---
src/main/java/com/zy/core/thread/StationThread.java | 30 ++++++++++++++++++++++++++++++
1 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/zy/core/thread/StationThread.java b/src/main/java/com/zy/core/thread/StationThread.java
index 011083c..3586470 100644
--- a/src/main/java/com/zy/core/thread/StationThread.java
+++ b/src/main/java/com/zy/core/thread/StationThread.java
@@ -14,8 +14,38 @@
Map<Integer, StationProtocol> getStatusMap();
+ default boolean hasRecentArrival(Integer stationId, Integer taskNo) {
+ return false;
+ }
+
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);
+ }
+
+ boolean clearPath(Integer taskNo);
+
CommandResponse sendCommand(StationCommand command);
CommandResponse sendOriginCommand(String address, short[] data);
--
Gitblit v1.9.1