From b67f13b04339ac0cd1a10b07d58e9c30c53b97a2 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期三, 03 四月 2024 15:04:39 +0800 Subject: [PATCH] # --- zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/thread/ShuttleThread.java | 27 +++++++++++++++++++++++++++ 1 files changed, 27 insertions(+), 0 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 c5e096b..2f31443 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 @@ -1,9 +1,36 @@ package com.zy.asrs.wcs.rcs.thread; +import com.zy.asrs.wcs.core.model.NavigateNode; +import com.zy.asrs.wcs.core.model.command.ShuttleCommand; +import com.zy.asrs.wcs.rcs.entity.Device; import com.zy.asrs.wcs.rcs.model.protocol.ShuttleProtocol; + +import java.util.List; public interface ShuttleThread extends ThreadHandler{ ShuttleProtocol getStatus();//鑾峰彇鍥涘悜绌挎杞︾姸鎬� + Device getDevice();//鑾峰彇璁惧淇℃伅 + + boolean movePath(List<NavigateNode> nodes, Integer taskNo);//璺緞涓嬪彂 + + boolean move(ShuttleCommand command);//绉诲姩 + + boolean lift(ShuttleCommand command);//椤跺崌 + + boolean charge(ShuttleCommand command);//鍏呯數寮�鍏� + + boolean reset(ShuttleCommand command);//澶嶄綅寮�鍏� + + boolean isIdle();//鏄惁绌洪棽 + + //***************鑾峰彇鍛戒护***************** + + ShuttleCommand getMoveCommand(Integer taskNo, String startCodeNum, String distCodeNum, Integer allDistance, Integer runDirection, Integer runSpeed);//鑾峰彇绉诲姩鍛戒护 + + ShuttleCommand getLiftCommand(Integer taskNo, Boolean lift);//椤跺崌鍛戒护 true=>椤跺崌 false=>涓嬮檷 + + ShuttleCommand getChargeCommand(Integer taskNo, Boolean charge);//鍏呯數寮�鍏冲懡浠� true=>寮� false=>鍏� + } -- Gitblit v1.9.1