自动化立体仓库 - WCS系统
*
lsh
2025-02-24 45dd3bfd08d2c95ae284bae369507a19a2e524b7
src/main/java/com/zy/core/MainProcess.java
@@ -35,6 +35,17 @@
     */
    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 {
                    // 间隔
@@ -44,6 +55,7 @@
                    if (!SystemProperties.WCS_RUNNING_STATUS.get()) {
                        continue;
                    }
                    //更新位置信息
                    mainService.updateStePositionNearby();
                    //更新位置信息