| | |
| | | package com.zy.asrs.wcs.rcs.thread; |
| | | |
| | | import com.zy.asrs.wcs.common.ExecuteSupport; |
| | | import com.zy.asrs.wcs.core.domain.param.ShuttleMoveLocParam; |
| | | import com.zy.asrs.wcs.core.model.NavigateNode; |
| | | import com.zy.asrs.wcs.core.model.command.ShuttleCommand; |
| | | import com.zy.asrs.wcs.core.model.enums.MotionCtgType; |
| | |
| | | |
| | | public interface ShuttleThread extends ThreadHandler{ |
| | | |
| | | ShuttleProtocol getStatus();//获取四向穿梭车状态 |
| | | ShuttleProtocol getStatus(boolean clone);//获取四向穿梭车状态 |
| | | |
| | | ShuttleProtocol getStatus();//获取四向穿梭车状态-默认clone |
| | | |
| | | Device getDevice();//获取设备信息 |
| | | |
| | |
| | | boolean charge(ShuttleCommand command);//充电开关 |
| | | |
| | | boolean reset(ShuttleCommand command);//复位开关 |
| | | |
| | | boolean updateLocation(ShuttleCommand command);//更新坐标 |
| | | |
| | | boolean isIdle(); |
| | | |
| | |
| | | |
| | | boolean setPakMk(boolean pakMk);//设置标记 |
| | | |
| | | boolean enableMoveLoc(ShuttleMoveLocParam param, boolean enable); |
| | | |
| | | //***************获取命令***************** |
| | | |
| | | ShuttleCommand getMoveCommand(Integer taskNo, String startCodeNum, String distCodeNum, Integer allDistance, Integer runDirection, Integer runSpeed, List<NavigateNode> nodes);//获取移动命令 |
| | |
| | | |
| | | ShuttleCommand getChargeCommand(Integer taskNo, Boolean charge);//充电开关命令 true=>开 false=>关 |
| | | |
| | | ShuttleCommand getUpdateLocationCommand(Integer taskNo, String locNo);//获取更新坐标命令 |
| | | |
| | | } |