#
Junjie
2025-04-11 1e16693c0c1dacd3dddd4a9b23988960e85a7b86
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,6 +40,12 @@
                    if (!SystemProperties.WCS_RUNNING_STATUS.get()) {
                        continue;
                    }
                    //zhangc
                    //输送线
                    // 入库
                   // mainService.generateInboundWrk();
                    // 出库
                  //  mainService.stnToOutStn();
                    //初始化实时地图
                    mainService.initRealtimeBasMap();
@@ -78,7 +84,7 @@
    }
    @PreDestroy
    public void shutDown(){
    public void shutDown() {
        if (thread != null) thread.interrupt();
    }