From 9d0acfb65c80c4948c305ca01338f894b87346a0 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期一, 08 四月 2024 09:44:37 +0800
Subject: [PATCH] Merge branch 'Four-Way-Rack' of http://47.97.1.152:5880/r/zy-asrs-master into Four-Way-Rack

---
 zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/thread/LiftThread.java |   28 ++++++++++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 deletions(-)

diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/thread/LiftThread.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/thread/LiftThread.java
index 55ef4c4..48a7bdc 100644
--- a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/thread/LiftThread.java
+++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/thread/LiftThread.java
@@ -1,9 +1,37 @@
 package com.zy.asrs.wcs.rcs.thread;
 
+import com.zy.asrs.wcs.core.model.command.LiftCommand;
+import com.zy.asrs.wcs.rcs.entity.Device;
 import com.zy.asrs.wcs.rcs.model.protocol.LiftProtocol;
 
 public interface LiftThread extends ThreadHandler{
 
     LiftProtocol getStatus();//鑾峰彇鎻愬崌鏈虹姸鎬�
 
+    Device getDevice();//鑾峰彇璁惧淇℃伅
+
+    boolean move(LiftCommand command);//鍗囬檷绉诲姩
+
+    boolean palletInOut(LiftCommand command);//鎵樼洏鍑哄叆
+
+    boolean lock(LiftCommand command);//閿佸畾鎻愬崌鏈�
+
+    boolean unlock(LiftCommand command);//瑙i攣鎻愬崌鏈�
+
+    boolean reset(LiftCommand command);//澶嶄綅
+
+    boolean isIdle();//鏄惁绌洪棽
+
+
+    //***************鑾峰彇鍛戒护*****************
+    LiftCommand getEmptyMoveCommand(Integer taskNo, Integer targetLev);//绌鸿浇绉诲姩
+
+    LiftCommand getMoveWithShuttleCommand(Integer taskNo, Integer originLev, Integer targetLev);//杞借溅绉诲姩
+
+    LiftCommand getPalletInOutCommand(Integer taskNo, Integer originLev, Integer targetLev, Integer originSta, Integer targetSta);//鎵樼洏鍑哄叆
+
+    LiftCommand getLockCommand(Integer taskNo, Boolean lock);//閿佸畾/瑙i攣鎻愬崌鏈�
+
+    LiftCommand getShuttleSignalCommand(Integer taskNo, Boolean signal);//灏忚溅宸插埌浣�/宸查┒绂讳俊鍙�
+
 }

--
Gitblit v1.9.1