1
zhangc
2025-04-13 0089be186795036fe12ad2b5ef8dd81f602071a0
src/main/java/com/zy/core/MainProcess.java
@@ -28,7 +28,7 @@
    /**
     * =====>>  开始工作
     */
    public void start(){
    public void start() {
        thread = new Thread(() -> {
            while (!Thread.currentThread().isInterrupted()) {
                try {
@@ -40,13 +40,27 @@
                    if (!SystemProperties.WCS_RUNNING_STATUS.get()) {
                        continue;
                    }
                    //zhangc
                    //输送线
                    // 入库
                    mainService.generateInboundWrk();
                    mainService.noLiftIn();
                    // 出库
                    mainService.outFirst();
                    mainService.stnToOutStn();
                    //输送线完成判断
                    mainService.devpFinished();
                    //初始化实时地图
                    mainService.initRealtimeBasMap();
                    // 入库  ===>>  四向穿梭车入库作业下发
                    mainService.shuttleInExecute();
                    // 出库  ===>>  四向穿梭车出库作业下发
                    mainService.shuttleOutExecute();
//                    // 入库  ===>>  四向穿梭车入库作业下发
//                    mainService.shuttleInExecute();
//                    // 出库  ===>>  四向穿梭车出库作业下发
//                    mainService.shuttleOutExecute();
                    //提升机入库任务
                    mainService.liftInExecute();
                    //提升机出库任务
                    mainService.liftOutExecute();
                    //四向穿梭车任务完成
                    mainService.shuttleFinished();
                    //执行移库任务
@@ -78,7 +92,7 @@
    }
    @PreDestroy
    public void shutDown(){
    public void shutDown() {
        if (thread != null) thread.interrupt();
    }