From ffee4b305f9ab02f828555100d44cba6b3c043fb Mon Sep 17 00:00:00 2001
From: lsh <lsh@163.com>
Date: 星期一, 10 十一月 2025 14:12:57 +0800
Subject: [PATCH] *

---
 src/main/java/com/zy/core/MainProcess.java |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/main/java/com/zy/core/MainProcess.java b/src/main/java/com/zy/core/MainProcess.java
index 75f8e79..96bd4f2 100644
--- a/src/main/java/com/zy/core/MainProcess.java
+++ b/src/main/java/com/zy/core/MainProcess.java
@@ -51,7 +51,7 @@
         while (!Thread.currentThread().isInterrupted()) {
             try {
                 // 闂撮殧
-                Thread.sleep(1000);
+                Thread.sleep(500);
                 // 绯荤粺杩愯鐘舵�佸垽鏂�
                 if (!SystemProperties.WCS_RUNNING_STATUS.get()) {
                     continue;
@@ -82,7 +82,7 @@
         while (!Thread.currentThread().isInterrupted()) {
             try {
                 // 闂撮殧
-                Thread.sleep(400);
+                Thread.sleep(210);
                 // 绯荤粺杩愯鐘舵�佸垽鏂�
                 if (!SystemProperties.WCS_RUNNING_STATUS.get()) {
                     continue;
@@ -111,7 +111,7 @@
         while (!Thread.currentThread().isInterrupted()) {
             try {
                 // 闂撮殧
-                Thread.sleep(1000);
+                Thread.sleep(210);
                 // 绯荤粺杩愯鐘舵�佸垽鏂�
                 if (!SystemProperties.WCS_RUNNING_STATUS.get()) {
                     continue;
@@ -136,7 +136,7 @@
         while (!Thread.currentThread().isInterrupted()) {
             try {
                 // 闂撮殧
-                Thread.sleep(200);
+                Thread.sleep(100);
                 // 绯荤粺杩愯鐘舵�佸垽鏂�
                 if (!SystemProperties.WCS_RUNNING_STATUS.get()) {
                     continue;
@@ -161,12 +161,12 @@
         while (!Thread.currentThread().isInterrupted()) {
             try {
                 // 闂撮殧
-                Thread.sleep(1000);
+                Thread.sleep(50);
                 // 绯荤粺婕旂ず妯″紡杩愯鐘舵�佸彉鍖�
                 if (SystemProperties.WCS_RUNNING_STATUS_DEMO.get()) {
                     if (SystemProperties.WCS_RUNNING_STATUS_DEMO_VALUE == 2) {
                         int signHpMk = mainService.crnStnDEMOStop2();
-                        if (signHpMk != 2) {
+                        if (signHpMk == 0) {
                             SystemProperties.WCS_RUNNING_STATUS_DEMO_VALUE = 3;
                         }
                     } else if (SystemProperties.WCS_RUNNING_STATUS_DEMO_VALUE == 3) {
@@ -175,7 +175,7 @@
                         if (signHpMk && signHpMk2==0) {
                             SystemProperties.WCS_RUNNING_STATUS_DEMO.set(false);
                             SystemProperties.WCS_RUNNING_STATUS_DEMO_VALUE = 0;
-                        } else if (!signHpMk && signHpMk2==2) {
+                        } else if (!signHpMk && signHpMk2 != 0) {
                             SystemProperties.WCS_RUNNING_STATUS_DEMO_VALUE = 2;
                         }
                     }

--
Gitblit v1.9.1