Administrator
2021-04-08 d73558a28b0246e3ca0197c81c5fde1732456196
Central_Monitor/src/com/data/Comm/Central_Data_SocketClient_Thread.java
@@ -28,6 +28,7 @@
   @Override
   public void run() {
      int run_count = 0;
      Central_DataParsing_Thread_SQL.insertOrUpdateTb_Device_StateTable(pool, motor);
      while(true) {
         try { 
            if(run_count % 2 == 0) {
@@ -48,8 +49,11 @@
               
               Central_DataParsing_Thread_SQL.updateTb_Central_Monitor_Sys_Control(pool,motor.control);         
            }
            motor.conn_state = master.getConnectState();
            if(run_count%5 == 0) {
               Central_DataParsing_Thread_SQL.updateTb_Device_StateTable(pool, motor);
            }
            if(run_count > 999909) {
               run_count = 0;
            }