DELL
2024-02-22 fae873382b0752b23855f25f40a22735b9982fe5
iec61850_forFoShanAES_Model/src/com/iedscout/BTS61850_IEDScout_Task_Thread_SQL.java
@@ -26,6 +26,8 @@
            if(count_num > 1) {
               sql.sqlMysqlExecute("DELETE FROM " + Sql_Mysql.Connect_Inf_Table + " WHERE num > 1");
               sql.sqlMysqlExecute("INSERT INTO  " + Sql_Mysql.Connect_Inf_Table + "(num,target_ip,target_port,conn_st) VALUES(1,'127.0.0.1',102,0);");
            }else {
               sql.sqlMysqlExecute(" UPDATE " + Sql_Mysql.Connect_Inf_Table + " set conn_st = 0;");
            }
         }
      } catch (SQLException e) {
@@ -201,4 +203,9 @@
         sql.close_con();
      }
   }
   public static boolean queryIed_NodeState_TableStopConnect(MysqlConnPool pool) {
      return false;
   }
}