From 04345d4eaec301c21331c4253b4da0f29b285349 Mon Sep 17 00:00:00 2001
From: Junjie <DELL@qq.com>
Date: 星期六, 10 一月 2026 13:17:41 +0800
Subject: [PATCH] #
---
src/main/java/com/zy/core/thread/StationThread.java | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/src/main/java/com/zy/core/thread/StationThread.java b/src/main/java/com/zy/core/thread/StationThread.java
index fd98cc7..011083c 100644
--- a/src/main/java/com/zy/core/thread/StationThread.java
+++ b/src/main/java/com/zy/core/thread/StationThread.java
@@ -1,17 +1,25 @@
package com.zy.core.thread;
import com.zy.core.ThreadHandler;
+import com.zy.core.enums.StationCommandType;
import com.zy.core.model.CommandResponse;
import com.zy.core.model.command.StationCommand;
import com.zy.core.model.protocol.StationProtocol;
import java.util.List;
+import java.util.Map;
public interface StationThread extends ThreadHandler {
List<StationProtocol> getStatus();
- StationCommand getMoveCommand(Integer taskNo, Integer stationId, Integer targetStationId, Integer palletSize);
+ Map<Integer, StationProtocol> getStatusMap();
+
+ StationCommand getCommand(StationCommandType commandType, Integer taskNo, Integer stationId, Integer targetStationId, Integer palletSize);
CommandResponse sendCommand(StationCommand command);
+ CommandResponse sendOriginCommand(String address, short[] data);
+
+ byte[] readOriginCommand(String address, int length);
+
}
--
Gitblit v1.9.1