From 0dab5a05ed6e734a83c43f8e6e5ef1b07115f48d Mon Sep 17 00:00:00 2001
From: Junjie <540245094@qq.com>
Date: 星期二, 10 十二月 2024 10:50:54 +0800
Subject: [PATCH] #path similarity

---
 zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/thread/ShuttleThread.java |   17 ++++++++++++-----
 1 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/thread/ShuttleThread.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/thread/ShuttleThread.java
index 671e5f7..7c9f4f2 100644
--- a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/thread/ShuttleThread.java
+++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/thread/ShuttleThread.java
@@ -6,6 +6,7 @@
 import com.zy.asrs.wcs.core.model.command.ShuttleCommand;
 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.ShuttleProtocolStatusType;
 import com.zy.asrs.wcs.rcs.model.protocol.ShuttleProtocol;
 
@@ -19,15 +20,17 @@
 
     Device getDevice();//鑾峰彇璁惧淇℃伅
 
-    boolean movePath(List<NavigateNode> nodes, Integer taskNo);//璺緞涓嬪彂
+    CommandResponse movePath(List<NavigateNode> nodes, Integer taskNo);//璺緞涓嬪彂
 
-    boolean move(ShuttleCommand command);//绉诲姩
+    CommandResponse move(ShuttleCommand command);//绉诲姩
 
-    boolean lift(ShuttleCommand command);//椤跺崌
+    CommandResponse lift(ShuttleCommand command);//椤跺崌
 
-    boolean charge(ShuttleCommand command);//鍏呯數寮�鍏�
+    CommandResponse charge(ShuttleCommand command);//鍏呯數寮�鍏�
 
-    boolean reset(ShuttleCommand command);//澶嶄綅寮�鍏�
+    CommandResponse reset(ShuttleCommand command);//澶嶄綅寮�鍏�
+
+    CommandResponse updateLocation(ShuttleCommand command);//鏇存柊鍧愭爣
 
     boolean isIdle();
 
@@ -55,6 +58,8 @@
 
     boolean enableMoveLoc(ShuttleMoveLocParam param, boolean enable);
 
+    boolean requestWaiting();
+
     //***************鑾峰彇鍛戒护*****************
 
     ShuttleCommand getMoveCommand(Integer taskNo, String startCodeNum, String distCodeNum, Integer allDistance, Integer runDirection, Integer runSpeed, List<NavigateNode> nodes);//鑾峰彇绉诲姩鍛戒护
@@ -63,4 +68,6 @@
 
     ShuttleCommand getChargeCommand(Integer taskNo, Boolean charge);//鍏呯數寮�鍏冲懡浠� true=>寮� false=>鍏�
 
+    ShuttleCommand getUpdateLocationCommand(Integer taskNo, String locNo);//鑾峰彇鏇存柊鍧愭爣鍛戒护
+
 }

--
Gitblit v1.9.1