springboot-vue3/src/main/java/com/example/springboot/component/Plcalarm.java
@@ -78,11 +78,7 @@ while (this != null) { try { Thread.sleep(1000); } catch (InterruptedException e) { e.printStackTrace(); } this.readValue(); this.readValue(); String PlcAddress = this.name; Integer Plccount = this.count; @@ -141,7 +137,10 @@ } } } } } catch (InterruptedException e) { e.printStackTrace(); } } } } }