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; } }