From a3d44470b704e81d4f66399bed2f37529ddb31be Mon Sep 17 00:00:00 2001
From: Junjie <DELL@qq.com>
Date: 星期四, 25 十二月 2025 13:53:32 +0800
Subject: [PATCH] #
---
src/main/java/com/zy/core/thread/StationThread.java | 15 +++++++++++----
1 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/src/main/java/com/zy/core/thread/StationThread.java b/src/main/java/com/zy/core/thread/StationThread.java
index 112d573..b04e391 100644
--- a/src/main/java/com/zy/core/thread/StationThread.java
+++ b/src/main/java/com/zy/core/thread/StationThread.java
@@ -3,15 +3,22 @@
import com.zy.core.ThreadHandler;
import com.zy.core.model.CommandResponse;
import com.zy.core.model.command.StationCommand;
-import com.zy.core.network.entity.ZyStationStatusEntity;
+import com.zy.core.model.protocol.StationProtocol;
import java.util.List;
+import java.util.Map;
-public interface StationThread extends ThreadHandler{
+public interface StationThread extends ThreadHandler {
- List<ZyStationStatusEntity> getStatus();
+ List<StationProtocol> getStatus();
- StationCommand getMoveCommand();
+ Map<Integer, StationProtocol> getStatusMap();
+
+ StationCommand getMoveCommand(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