From 877a0dafe0da9f60e09b6b29742573ac33c00f56 Mon Sep 17 00:00:00 2001 From: Junjie <540245094@qq.com> Date: 星期三, 19 六月 2024 08:07:12 +0800 Subject: [PATCH] # --- zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/thread/LiftThread.java | 27 +++++++++++++++++++++++++++ 1 files changed, 27 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 4822620..8cc8100 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,7 +1,11 @@ package com.zy.asrs.wcs.rcs.thread; +import com.zy.asrs.wcs.common.ExecuteSupport; +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.rcs.entity.Device; +import com.zy.asrs.wcs.rcs.model.enums.LiftProtocolStatusType; import com.zy.asrs.wcs.rcs.model.protocol.LiftProtocol; public interface LiftThread extends ThreadHandler{ @@ -20,4 +24,27 @@ boolean reset(LiftCommand command);//澶嶄綅 + boolean isIdle();//鏄惁绌洪棽 + + boolean isIdle(ExecuteSupport support);//鏄惁绌洪棽 + + boolean setProtocolStatus(LiftProtocolStatusType status);//璁剧疆宸ヤ綔鐘舵�� + + boolean setSyncTaskNo(Integer taskNo);//璁剧疆宸ヤ綔鍙� + + boolean isLock(ExecuteSupport support); + + boolean commandFinished(Integer taskNo); + + //***************鑾峰彇鍛戒护***************** + LiftCommand getMoveCommand(Integer taskNo, Integer sourceLev, Integer targetLev, LiftCommandModeType mode);//鎻愬崌鏈虹Щ鍔� + + LiftCommand getMoveWithShuttleCommand(Integer taskNo, Integer sourceLev, Integer targetLev, LiftCommandModeType mode);//杞借溅绉诲姩 + + LiftCommand getPalletInOutCommand(Integer taskNo, Integer sourceLev, Integer targetLev, Integer originSta, Integer targetSta, LiftCommandModeType mode);//鎵樼洏鍑哄叆 + + LiftCommand getLockCommand(Integer taskNo, Boolean lock);//閿佸畾/瑙i攣鎻愬崌鏈� + + LiftCommand getShuttleSignalCommand(Integer taskNo, Boolean signal);//灏忚溅宸插埌浣�/宸查┒绂讳俊鍙� + } -- Gitblit v1.9.1