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