| | |
| | | while (!Thread.currentThread().isInterrupted()) { |
| | | try { |
| | | // 间隔 |
| | | Thread.sleep(1000); |
| | | Thread.sleep(500); |
| | | // 系统运行状态判断 |
| | | if (!SystemProperties.WCS_RUNNING_STATUS.get()) { |
| | | continue; |
| | |
| | | while (!Thread.currentThread().isInterrupted()) { |
| | | try { |
| | | // 间隔 |
| | | Thread.sleep(400); |
| | | Thread.sleep(210); |
| | | // 系统运行状态判断 |
| | | if (!SystemProperties.WCS_RUNNING_STATUS.get()) { |
| | | continue; |
| | |
| | | while (!Thread.currentThread().isInterrupted()) { |
| | | try { |
| | | // 间隔 |
| | | Thread.sleep(1000); |
| | | Thread.sleep(210); |
| | | // 系统运行状态判断 |
| | | if (!SystemProperties.WCS_RUNNING_STATUS.get()) { |
| | | continue; |
| | |
| | | while (!Thread.currentThread().isInterrupted()) { |
| | | try { |
| | | // 间隔 |
| | | Thread.sleep(200); |
| | | Thread.sleep(100); |
| | | // 系统运行状态判断 |
| | | if (!SystemProperties.WCS_RUNNING_STATUS.get()) { |
| | | continue; |
| | |
| | | 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) { |
| | |
| | | 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; |
| | | } |
| | | } |