自动化立体仓库 - WMS系统
13
zhang
1 天以前 82de5a307466894bbb0258f8a63a26a7bb96d80d
src/main/java/com/zy/asrs/task/BareBoardScheduler.java
@@ -9,8 +9,6 @@
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
import java.util.List;
/**
 * Created by Monkey D. Luffy on 2023.10.25
 * 广德宜科..............以下.............广德宜科.............自动补空板再优化
@@ -26,15 +24,15 @@
    private SlaveWmsParameterProperties slaveWmsParameterProperties;
    /*
    * 自动调空板出库
    * */
     * 自动调空板出库
     * */
    @Scheduled(cron = "0/3 * * * * ? ")
    private void execute(){
        if (slaveWmsParameterProperties.isAutomaticFillingBoardStaNosBoolean()){
    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");
            if (!Cools.isEmpty(config) && !Cools.isEmpty(config.getValue()) && config.getValue().equals("true")) {
                for (Integer staNo : slaveWmsParameterProperties.getAutomaticFillingBoardStaNos()) {
                    bareBoardHandler.start(110, staNo, "D");
                }
            }
        }