This commit is contained in:
USER-20220102CG\noblelift
2022-12-29 16:12:09 +08:00
parent db5bbbd28b
commit 7b853c0d73

View File

@@ -187,6 +187,7 @@ public class DeviceOpcProtocolRunable implements Runnable {
Thread.sleep((long) (OpcConfig.synchronized_exception_wait_second * 1000));
} catch (InterruptedException e) {
e.printStackTrace();
Thread.currentThread().interrupt();
}
++this.error_num;
if (this.error_num > 3 && !StrUtil.equals(this.message, error_message)) {