wuzeyu
2024-07-23 7b5a12d1114b9609ea39bb1b201dfe50bf252c76
pipIrr-platform/pipIrr-web/pipIrr-mwTest-rtu/src/main/java/com/dy/pipIrrMwTestRtu/tcpClient/TcpClUnit.java
@@ -108,6 +108,14 @@
        new Thread(new Runnable(){
            @Override
            public void run() {
                if(ServerProperties.onlyOneHeartBeat){
                    try {
                        UpHeartBeat.upCd02Data(ServerProperties.rtuAddr);
                        Thread.sleep(30000L);
                        //Thread.sleep(30000000L);
                    }catch (Exception e){
                    }
                }else{
                while(true){
                    try {
                        UpHeartBeat.upCd02Data(ServerProperties.rtuAddr);
@@ -118,6 +126,7 @@
                    }
                }
            }
            }
        }).start();
    }