From 98e6dd8f3597a36512699151a7f74b6cf733268f Mon Sep 17 00:00:00 2001
From: Junjie <540245094@qq.com>
Date: 星期五, 19 九月 2025 14:06:03 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/core/thread/LiftThread.java |   59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 59 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/zy/core/thread/LiftThread.java b/src/main/java/com/zy/core/thread/LiftThread.java
new file mode 100644
index 0000000..e2da9fc
--- /dev/null
+++ b/src/main/java/com/zy/core/thread/LiftThread.java
@@ -0,0 +1,59 @@
+package com.zy.core.thread;
+
+import com.zy.common.ExecuteSupport;
+import com.zy.core.ThreadHandler;
+import com.zy.core.enums.*;
+import com.zy.core.model.CommandResponse;
+import com.zy.core.model.command.LiftCommand;
+import com.zy.core.model.protocol.LiftProtocol;
+import com.zy.core.model.protocol.LiftStaProtocol;
+
+import java.util.List;
+
+public interface LiftThread extends ThreadHandler {
+
+    LiftProtocol getStatus();//鑾峰彇鎻愬崌鏈虹姸鎬�
+
+    LiftProtocol getStatus(boolean clone);//鑾峰彇鎻愬崌鏈虹姸鎬�
+
+    List<LiftStaProtocol> getLiftStaProtocols();
+
+    CommandResponse pickAndPut(LiftCommand command);//鍙栨斁璐ф寚浠�
+
+    CommandResponse shuttleSwitch(LiftCommand command);//灏忚溅鎹㈠眰
+
+    CommandResponse move(LiftCommand command);//灏忚溅绉诲姩
+
+    CommandResponse switchIOMode(LiftCommand command);//鍒囨崲鍑哄叆搴撴ā寮�
+
+    CommandResponse reset();//澶嶄綅
+
+    boolean isIdle();//鏄惁绌洪棽
+
+    boolean isDeviceIdle();//璁惧鏄惁绌洪棽
+
+    boolean isDeviceIdle(ExecuteSupport support);//璁惧鏄惁绌洪棽
+
+    boolean setProtocolStatus(LiftProtocolStatusType status);//璁剧疆宸ヤ綔鐘舵��
+
+    boolean setSyncTaskNo(Integer taskNo);//璁剧疆宸ヤ綔鍙�
+
+    int generateDeviceTaskNo(int taskNo, LiftTaskModeType type);//鐢熸垚纭欢璁惧宸ヤ綔鍙�
+
+    String getCurrentLocNo();
+
+    String getRealtimeOriginData();//鑾峰彇瀹炴椂鍘熷鏁版嵁
+
+    //***************鑾峰彇鍛戒护*****************
+
+    LiftCommand getPickAndPutCommand(Integer taskNo, Integer pick, Integer put);//鍙栨斁璐ф寚浠�
+
+    LiftCommand getShuttleSwitchCommand(Integer taskNo, Integer pick, Integer put);//灏忚溅鎹㈠眰
+
+    LiftCommand getMoveCommand(Integer taskNo, Integer pick, Integer put);//鎻愬崌鏈虹Щ鍔�
+
+    LiftCommand getSwitchIOCommand(Integer taskNo, LiftIoModeType mode);
+
+    LiftCommand getResetCommand(Integer taskNo);
+
+}

--
Gitblit v1.9.1