springboot-vue3/src/main/java/com/example/springboot/component/S7control.java
@@ -44,6 +44,14 @@ public void CloseS7client() { if (s7PLC == null) s7PLC.close(); s7PLC.checkConnected(); } /** * s7通讯连接状态 */ public boolean CheckConnected() { return s7PLC.checkConnected(); } /**