Administrator
2021-12-14 422d605116ab7dad69a295e23cb132d5e3684b24
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;
            }