From 8ef2bb5e46d84594e6ed632c07ea0b47a1bf6c4d Mon Sep 17 00:00:00 2001
From: Junjie <540245094@qq.com>
Date: 星期三, 11 十二月 2024 16:15:17 +0800
Subject: [PATCH] #path similarity

---
 zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/thread/LiftThread.java |   16 ++++++++++------
 1 files changed, 10 insertions(+), 6 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 58ea574..1774650 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
@@ -4,7 +4,9 @@
 import com.zy.asrs.wcs.core.entity.Motion;
 import com.zy.asrs.wcs.core.model.command.LiftCommand;
 import com.zy.asrs.wcs.core.model.enums.LiftCommandModeType;
+import com.zy.asrs.wcs.core.model.enums.MotionCtgType;
 import com.zy.asrs.wcs.rcs.entity.Device;
+import com.zy.asrs.wcs.rcs.model.CommandResponse;
 import com.zy.asrs.wcs.rcs.model.enums.LiftProtocolStatusType;
 import com.zy.asrs.wcs.rcs.model.protocol.LiftProtocol;
 
@@ -16,19 +18,19 @@
 
     Device getDevice();//鑾峰彇璁惧淇℃伅
 
-    boolean move(LiftCommand command);//鍗囬檷绉诲姩
+    CommandResponse move(LiftCommand command);//鍗囬檷绉诲姩
 
-    boolean palletInOut(LiftCommand command);//鎵樼洏鍑哄叆
+    CommandResponse palletInOut(LiftCommand command);//鎵樼洏鍑哄叆
 
-    boolean lock(LiftCommand command);//閿佸畾鎻愬崌鏈�
+    CommandResponse lock(LiftCommand command);//閿佸畾鎻愬崌鏈�
 
-    boolean unlock(LiftCommand command);//瑙i攣鎻愬崌鏈�
+    CommandResponse unlock(LiftCommand command);//瑙i攣鎻愬崌鏈�
 
-    boolean reset(LiftCommand command);//澶嶄綅
+    CommandResponse reset(LiftCommand command);//澶嶄綅
 
     boolean isIdle();//鏄惁绌洪棽
 
-    boolean isIdle(ExecuteSupport support);//鏄惁绌洪棽
+    boolean isIdle(MotionCtgType flag);//鏄惁绌洪棽
 
     boolean isDeviceIdle();//璁惧鏄惁绌洪棽
 
@@ -40,6 +42,8 @@
 
     boolean isLock(ExecuteSupport support);
 
+    int generateDeviceTaskNo(int taskNo, MotionCtgType motionCtgType);//鐢熸垚纭欢璁惧宸ヤ綔鍙�
+
     //***************鑾峰彇鍛戒护*****************
     List<LiftCommand> getMoveCommand(Integer taskNo, Integer sourceLev, Integer targetLev, LiftCommandModeType mode);//鎻愬崌鏈虹Щ鍔�
 

--
Gitblit v1.9.1