From 63083366695d176ec31f9ff88dc79446582f61c5 Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期日, 05 四月 2026 23:37:07 +0800
Subject: [PATCH] #入库任务下发命令输送线增加可入信号判断

---
 src/main/java/com/zy/core/thread/StationThread.java |   10 ++++++++++
 1 files changed, 10 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 1e8ee61..9193988 100644
--- a/src/main/java/com/zy/core/thread/StationThread.java
+++ b/src/main/java/com/zy/core/thread/StationThread.java
@@ -14,6 +14,10 @@
 
     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,
@@ -40,6 +44,12 @@
         return getCommand(StationCommandType.MOVE, taskNo, stationId, targetStationId, palletSize, pathLenFactor);
     }
 
+    boolean clearPath(Integer taskNo);
+
+    default boolean clearPathByStationSlot(Integer stationId, Integer slotIdx) {
+        return false;
+    }
+
     CommandResponse sendCommand(StationCommand command);
 
     CommandResponse sendOriginCommand(String address, short[] data);

--
Gitblit v1.9.1