From 5a2bd164d3a831e39bf0defaddf181a97de36993 Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期日, 05 四月 2026 23:28:42 +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