From 3c45d4f9f3aba5bc85a9577e43c0dffc71b93a22 Mon Sep 17 00:00:00 2001 From: Junjie <fallin.jie@qq.com> Date: 星期四, 10 七月 2025 15:54:27 +0800 Subject: [PATCH] # --- src/main/java/com/zy/core/thread/ForkLiftThread.java | 15 +++++++++++++-- 1 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/zy/core/thread/ForkLiftThread.java b/src/main/java/com/zy/core/thread/ForkLiftThread.java index 72bdd7e..62fe964 100644 --- a/src/main/java/com/zy/core/thread/ForkLiftThread.java +++ b/src/main/java/com/zy/core/thread/ForkLiftThread.java @@ -2,6 +2,7 @@ import com.zy.common.ExecuteSupport; import com.zy.core.ThreadHandler; +import com.zy.core.enums.ForkLiftIoModeType; import com.zy.core.enums.ForkLiftProtocolStatusType; import com.zy.core.enums.ForkLiftTaskModeType; import com.zy.core.model.CommandResponse; @@ -23,6 +24,10 @@ CommandResponse shuttleSwitch(ForkLiftCommand command);//灏忚溅鎹㈠眰 + CommandResponse move(ForkLiftCommand command);//灏忚溅鎹㈠眰 + + CommandResponse switchIOMode(ForkLiftCommand command);//鍒囨崲鍑哄叆搴撴ā寮� + CommandResponse reset();//澶嶄綅 boolean isIdle();//鏄惁绌洪棽 @@ -39,8 +44,14 @@ //***************鑾峰彇鍛戒护***************** - List<ForkLiftCommand> getPickAndPutCommand(Integer taskNo, Integer pick, Integer put);//鍙栨斁璐ф寚浠� + ForkLiftCommand getPickAndPutCommand(Integer taskNo, Integer pick, Integer put);//鍙栨斁璐ф寚浠� - List<ForkLiftCommand> getShuttleSwitchCommand(Integer taskNo, Integer originLev, Integer targetLev);//灏忚溅鎹㈠眰 + ForkLiftCommand getShuttleSwitchCommand(Integer taskNo, Integer pick, Integer put);//灏忚溅鎹㈠眰 + + ForkLiftCommand getMoveCommand(Integer taskNo, Integer pick, Integer put);//鎻愬崌鏈虹Щ鍔� + + ForkLiftCommand getSwitchIOCommand(Integer taskNo, ForkLiftIoModeType mode); + + ForkLiftCommand getResetCommand(Integer taskNo); } -- Gitblit v1.9.1