自动化立体仓库 - WCS系统
999
zhangc
8 天以前 3c3ec87a6ac907d375f2fb78f0882ab9f30a1533
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
package com.zy.common.utils;
 
import com.zy.core.model.command.ForkLiftCommand;
import org.springframework.stereotype.Component;
 
/**
 * 货叉提升机操作工具类
 */
@Component
public class ForkLiftOperaUtils {
 
    /**
     * 获取提升机命令
     */
    public ForkLiftCommand getLiftCommand(Integer liftNo, Integer taskNo, Integer taskModel, Integer pick, Integer put, Integer confirm) {
        ForkLiftCommand command = new ForkLiftCommand();
        command.setLiftNo(liftNo);
        command.setTaskNo(taskNo.shortValue());
        command.setMode(taskModel.shortValue());
        command.setPick(pick.shortValue());
        command.setPut(put.shortValue());
        command.setConfirm(confirm.shortValue());
        return command;
    }
 
}