From 28bde0bd83096c1c9588c5b098acdb02411ce560 Mon Sep 17 00:00:00 2001
From: lsh <lsh@163.com>
Date: 星期二, 04 三月 2025 13:59:26 +0800
Subject: [PATCH] *
---
src/main/java/com/zy/core/MainProcess.java | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/zy/core/MainProcess.java b/src/main/java/com/zy/core/MainProcess.java
index bc3b0ad..5786451 100644
--- a/src/main/java/com/zy/core/MainProcess.java
+++ b/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();
//鏇存柊浣嶇疆淇℃伅
--
Gitblit v1.9.1