From 263aec4872d14ad498f8a036bdf969987ae57188 Mon Sep 17 00:00:00 2001
From: L <L@132>
Date: 星期日, 07 十二月 2025 09:56:20 +0800
Subject: [PATCH] *

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

diff --git a/src/main/java/com/zy/core/MainProcess.java b/src/main/java/com/zy/core/MainProcess.java
index 7998686..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;
                         }
                     }
@@ -186,7 +186,10 @@
                             SystemProperties.WCS_RUNNING_STATUS_DEMO.set(true);
                             SystemProperties.WCS_RUNNING_STATUS_DEMO_VALUE = 2;
                         } else if (signHpMk == 1) {
-                            SystemProperties.WCS_RUNNING_STATUS_DEMO_VALUE = 1;
+//                            SystemProperties.WCS_RUNNING_STATUS_DEMO_VALUE = 1;
+
+                            SystemProperties.WCS_RUNNING_STATUS_DEMO.set(true);
+                            SystemProperties.WCS_RUNNING_STATUS_DEMO_VALUE = 2;
                         } else {
                             SystemProperties.WCS_RUNNING_STATUS_DEMO_VALUE = 0;
                         }

--
Gitblit v1.9.1