*
lsh
2025-03-04 d2743de6842f6af91408e0b4ce53ee25627d3e6e
src/main/java/com/zy/core/MainProcess.java
@@ -35,26 +35,35 @@
     */
    public void start(){
        thread = new Thread(() -> {
            try{
                Thread.sleep(200);
                log.info("++++++++ 开始验证许可证 ++++++++");
                if (!mainService.licenseVerify()){
                    SystemProperties.WCS_RUNNING_STATUS.set(Boolean.FALSE);
                    log.info("++++++++ 验证许可证失败 ++++++++");
                } else {
                    SystemProperties.WCS_RUNNING_STATUS.set(Boolean.TRUE);
                    log.info("++++++++ 验证许可证成功 ++++++++");
                }
            } catch (Exception e) {}
            while (!Thread.currentThread().isInterrupted()) {
                try {
                    // 间隔
                    Thread.sleep(1000);
                    Thread.sleep(200);
                    // 系统运行状态判断
                    if (!SystemProperties.WCS_RUNNING_STATUS.get()) {
                        continue;
                    }
                    //更新位置信息
                    mainService.updateStePositionNearby();
                    //更新位置信息
                    mainService.updateStePosition();
                    // 任务下发
                    mainService.DevpTaskNoRun();
                    // 任务完成
                    mainService.rgvCompleteWrkMastSta();
                    //更新位置信息
                    mainService.updateStePosition();