liurunyu
2024-07-22 5902545a506691139ecc1d1d9930cd357fd87b3c
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();
    }