自动化立体仓库 - WCS系统
#
Junjie
2023-07-31 4315668f4de2ab2bf8a24ac206d71f072dd00357
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package com.zy.common.utils;
 
import com.zy.core.model.command.NyLiftCommand;
 
/**
 * 牛眼提升机工具类
 */
public class NyLiftUtils {
 
    /**
     * 获取提升机命令
     */
    public static NyLiftCommand getLiftCommand(Integer liftNo, Integer taskModel, Integer sourceSta, Integer targetSta, Integer taskNo) {
        NyLiftCommand command = new NyLiftCommand();
        command.setLiftNo(liftNo.shortValue());
        command.setTaskNo(taskNo.shortValue());
        command.setTaskModel(taskModel.shortValue());
        command.setSourceSta(sourceSta.shortValue());
        command.setTargetSta(targetSta.shortValue());
        return command;
    }
 
}