From d4da001ed4dbebed683c9f0f1e06a4d8f4d12eaf Mon Sep 17 00:00:00 2001
From: zy <zy@123>
Date: 星期四, 31 七月 2025 15:50:24 +0800
Subject: [PATCH] #
---
src/main/java/com/zy/core/thread/ForkLiftThread.java | 40 ++--------------------------------------
1 files changed, 2 insertions(+), 38 deletions(-)
diff --git a/src/main/java/com/zy/core/thread/ForkLiftThread.java b/src/main/java/com/zy/core/thread/ForkLiftThread.java
index 512137a..5147a1e 100644
--- a/src/main/java/com/zy/core/thread/ForkLiftThread.java
+++ b/src/main/java/com/zy/core/thread/ForkLiftThread.java
@@ -1,46 +1,10 @@
package com.zy.core.thread;
-import com.zy.common.ExecuteSupport;
import com.zy.core.ThreadHandler;
-import com.zy.core.enums.ForkLiftProtocolStatusType;
-import com.zy.core.enums.ForkLiftTaskModeType;
-import com.zy.core.model.CommandResponse;
-import com.zy.core.model.command.ForkLiftCommand;
-import com.zy.core.model.protocol.ForkLiftProtocol;
-import com.zy.core.model.protocol.ForkLiftStaProtocol;
-
-import java.util.List;
+import com.zy.core.properties.DeviceConfig;
public interface ForkLiftThread extends ThreadHandler {
- ForkLiftProtocol getStatus();//鑾峰彇鎻愬崌鏈虹姸鎬�
-
- ForkLiftProtocol getStatus(boolean clone);//鑾峰彇鎻愬崌鏈虹姸鎬�
-
- List<ForkLiftStaProtocol> getForkLiftStaProtocols();
-
- CommandResponse pickAndPut(ForkLiftCommand command);//鍙栨斁璐ф寚浠�
-
- CommandResponse shuttleSwitch(ForkLiftCommand command);//灏忚溅鎹㈠眰
-
- CommandResponse reset(ForkLiftCommand command);//澶嶄綅
-
- boolean isIdle();//鏄惁绌洪棽
-
- boolean isDeviceIdle();//璁惧鏄惁绌洪棽
-
- boolean isDeviceIdle(ExecuteSupport support);//璁惧鏄惁绌洪棽
-
- boolean setProtocolStatus(ForkLiftProtocolStatusType status);//璁剧疆宸ヤ綔鐘舵��
-
- boolean setSyncTaskNo(Integer taskNo);//璁剧疆宸ヤ綔鍙�
-
- int generateDeviceTaskNo(int taskNo, ForkLiftTaskModeType type);//鐢熸垚纭欢璁惧宸ヤ綔鍙�
-
- //***************鑾峰彇鍛戒护*****************
-
- List<ForkLiftCommand> getPickAndPutCommand(Integer taskNo, Integer pick, Integer put);//鍙栨斁璐ф寚浠�
-
- List<ForkLiftCommand> getShuttleSwitchCommand(Integer taskNo, Integer originLev, Integer targetLev);//灏忚溅鎹㈠眰
+ DeviceConfig getDeviceConfig();
}
--
Gitblit v1.9.1