自动化立体仓库 - WMS系统
zyh
2026-01-04 c47395fe29493062a3f0bc2cf1d02a2946b20b88
src/main/java/com/zy/asrs/task/BareBoardScheduler.java
@@ -25,18 +25,18 @@
    @Autowired
    private SlaveWmsParameterProperties slaveWmsParameterProperties;
    /*
    * 自动调空板出库
    * */
    @Scheduled(cron = "0/3 * * * * ? ")
    private void execute(){
        if (slaveWmsParameterProperties.isAutomaticFillingBoardStaNosBoolean()){
            Config config = configService.selectConfigByCode("AutomaticFillingBoard");
            if (!Cools.isEmpty(config) && !Cools.isEmpty(config.getValue()) && config.getValue().equals("true")){
                for (Integer staNo : slaveWmsParameterProperties.getAutomaticFillingBoardStaNos()){
                    bareBoardHandler.start(110,staNo,"D");
                }
            }
        }
    }
//    /*
//    * 自动调空板出库
//    * */
//    @Scheduled(cron = "0/3 * * * * ? ")
//    private void execute(){
//        if (slaveWmsParameterProperties.isAutomaticFillingBoardStaNosBoolean()){
//            Config config = configService.selectConfigByCode("AutomaticFillingBoard");
//            if (!Cools.isEmpty(config) && !Cools.isEmpty(config.getValue()) && config.getValue().equals("true")){
//                for (Integer staNo : slaveWmsParameterProperties.getAutomaticFillingBoardStaNos()){
//                    bareBoardHandler.start(110,staNo,"D");
//                }
//            }
//        }
//    }
}