| src/main/java/com/zy/core/MainProcess.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| src/main/java/com/zy/core/thread/RgvThread.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| src/main/java/com/zy/core/thread/SiemensCrnThread.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| src/main/java/com/zy/core/thread/SiemensDevpThread.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
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,7 +161,7 @@ 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) { src/main/java/com/zy/core/thread/RgvThread.java
@@ -78,20 +78,6 @@ @SuppressWarnings("InfiniteLoopStatement") public void run() { initRgv(); try{ Thread.sleep(2000); } catch (Exception e){ } connectRgv = this.connect(); while(!connectRgv){ try { connectRgv = this.connect(); Thread.sleep(100); } catch (Exception e){ } } // 启动线程自动重连 new Thread(this::rgvConnect).start(); @@ -283,7 +269,7 @@ try { if(!connectRgv){ try { Thread.sleep(1000L); Thread.sleep(100L); } catch (Exception e){ } src/main/java/com/zy/core/thread/SiemensCrnThread.java
@@ -105,7 +105,7 @@ default: break; } Thread.sleep(500); Thread.sleep(100); } catch (Exception e) { // e.printStackTrace(); } src/main/java/com/zy/core/thread/SiemensDevpThread.java
@@ -86,20 +86,6 @@ @SuppressWarnings("InfiniteLoopStatement") public void run() { initSite(); try{ Thread.sleep(2000); } catch (Exception e){ } connectDev = connect(); while(!connectDev){ try { connectDev = this.connect(); Thread.sleep(100); } catch (Exception e){ } } // 启动线程自动重连 new Thread(this::devConnect).start();