| | |
| | | @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"); |
| | | // } |
| | | // } |
| | | // } |
| | | // } |
| | | } |