自动化立体仓库 - WMS系统
zwl
2025-12-17 29d3f24dc43df41103bc5f483bfc439494a80971
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");
//                }
//            }
//        }
//    }
}