#
Junjie
2024-03-28 89be34f4bb526af84d66432e7e330d39b273a83e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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);//复位开关
 
    //***************获取命令*****************
    ShuttleCommand getMoveCommand(Integer taskNo, String startCodeNum, String distCodeNum, Integer allDistance, Integer runDirection, Integer runSpeed);
 
}