自动化立体仓库 - WCS系统
#
野心家
2023-10-03 f63aa158cd182f1ab40fc475ca2944eacfc8705a
src/main/java/com/zy/common/utils/NyLiftUtils.java
@@ -29,6 +29,19 @@
        return command;
    }
    /**
     * 获取提升机复位命令
     */
    public static NyLiftCommand getLiftResetCommand(Integer liftNo) {
        NyLiftCommand command = new NyLiftCommand();
        command.setLiftNo(liftNo.shortValue());
        command.setTaskNo((short) 0);
        command.setTaskModel((short) 0);
        command.setSourceSta((short) 0);
        command.setTargetSta((short) 0);
        return command;
    }
    //获取提升机站点
    public static LiftStaProtocol getLiftStaByStaNo(Integer staNo) {
        SlaveProperties slaveProperties = SpringUtils.getBean(SlaveProperties.class);