自动化立体仓库 - WMS系统
#
yxFwq
2024-07-13 4b541a566c877e49e446565b81e8fa7503803525
src/main/java/com/zy/asrs/task/BareBoardScheduler.java
@@ -101,6 +101,21 @@
    }
    @Scheduled(cron = "0/3 * * * * ? ")
    private void execute3(){//自动调空板出库 煜星二楼小料箱  172
        if (slaveWmsParameterProperties.isAutomaticFillingBoardStaNosBoolean()){
            Integer devNo = 272;
            Config config = configService.selectOne(new EntityWrapper<Config>().eq("code","bareBoard172"));
            if (!Cools.isEmpty(config) && !Cools.isEmpty(config.getValue()) && config.getValue().equals("Y")){
                int loadIngCount = basDevpService.selectCount(new EntityWrapper<BasDevp>().ge("dev_no", 266).le("dev_no", devNo).eq("loading", "Y"));
                int count = 5;
                if (loadIngCount<count){
                    bareBoardHandler.startYx(devNo,count+5);
                }
            }
        }
    }
    @Scheduled(cron = "0/3 * * * * ? ")
    private void execute2(){//自动调空板出库 煜星一楼
        if (slaveWmsParameterProperties.isAutomaticFillingBoardStaNosBoolean()){
            Integer devNo = 448;