Junjie
13 小时以前 d6dddbf5463a95a8d4af39658be720540bd9c3f4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.zy.asrs.task;
 
import com.zy.core.utils.StationOperateProcessUtils;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
 
@Component
public class WrkAnalysisStationArrivalScanner {
 
    private final StationOperateProcessUtils stationOperateProcessUtils;
 
    public WrkAnalysisStationArrivalScanner(StationOperateProcessUtils stationOperateProcessUtils) {
        this.stationOperateProcessUtils = stationOperateProcessUtils;
    }
 
    @Scheduled(fixedDelay = 1000L)
    public void scanOutboundStationFlow() {
        stationOperateProcessUtils.stationOutExecuteFinish();
        stationOperateProcessUtils.checkTaskToComplete();
    }
}