From 377e207801eec0014b806394166a68caa52561ab Mon Sep 17 00:00:00 2001
From: Junjie <DELL@qq.com>
Date: 星期三, 07 一月 2026 10:09:20 +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