From fa2d5c5b4fc5cda69fb9a8534dc8dedcda479a76 Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期三, 15 四月 2026 09:40:22 +0800
Subject: [PATCH] #仿真系统,禁止在入库站、出库站、条码站模拟堵塞
---
src/main/java/com/zy/core/thread/StationThread.java | 12 ++++++++++++
1 files changed, 12 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..ddc9b6d 100644
--- a/src/main/java/com/zy/core/thread/StationThread.java
+++ b/src/main/java/com/zy/core/thread/StationThread.java
@@ -14,6 +14,12 @@
Map<Integer, StationProtocol> getStatusMap();
+ List<Integer> getAllTaskNoList();
+
+ 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 +46,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