From efbd157c0d810c39d04cd86752e769a3f3a1a1fc Mon Sep 17 00:00:00 2001 From: Junjie <540245094@qq.com> Date: 星期四, 11 九月 2025 16:57:03 +0800 Subject: [PATCH] # --- src/main/java/com/zy/core/thread/ShuttleThread.java | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/zy/core/thread/ShuttleThread.java b/src/main/java/com/zy/core/thread/ShuttleThread.java index 1909575..02d6120 100644 --- a/src/main/java/com/zy/core/thread/ShuttleThread.java +++ b/src/main/java/com/zy/core/thread/ShuttleThread.java @@ -6,6 +6,7 @@ import com.zy.common.model.NavigateNode; import com.zy.core.ThreadHandler; import com.zy.core.enums.ShuttleProtocolStatusType; +import com.zy.core.enums.ShuttleRequireChargeType; import com.zy.core.enums.ShuttleTaskNoType; import com.zy.core.model.CommandResponse; import com.zy.core.model.command.ShuttleCommand; @@ -42,7 +43,7 @@ boolean isDeviceIdle(ExecuteSupport support);//璁惧鏄惁绌洪棽 - boolean isRequireCharge();//鏄惁婊¤冻鍏呯數鐘舵�� + ShuttleRequireChargeType isRequireCharge();//鏄惁婊¤冻鍏呯數鐘舵�� boolean isCharging();//鏄惁鍏呯數涓� @@ -76,12 +77,14 @@ JSONObject parseStatusToMsg(ShuttleProtocol shuttleProtocol); - boolean restartCalcPath(); + boolean restartCalcPath();//閲嶆柊瑙勫垝璺緞 //***************鑾峰彇鍛戒护***************** ShuttleCommand getMoveCommand(Integer taskNo, String startCodeNum, String distCodeNum, Integer allDistance, Integer runDirection, Integer runSpeed, List<NavigateNode> nodes);//鑾峰彇绉诲姩鍛戒护 + ShuttleCommand getMoveLiftCommand(Integer taskNo, String startCodeNum, String distCodeNum, Integer allDistance, Integer runDirection, Integer runSpeed, List<NavigateNode> nodes, Boolean moveIn);//鑾峰彇绉诲姩鍛戒护 + ShuttleCommand getLiftCommand(Integer taskNo, Boolean lift);//椤跺崌鍛戒护 true=>椤跺崌 false=>涓嬮檷 ShuttleCommand getChargeCommand(Integer taskNo, Boolean charge);//鍏呯數寮�鍏冲懡浠� true=>寮� false=>鍏� -- Gitblit v1.9.1