DELL
2025-05-13 f9b5693cf3aaae3087e0372827d85f3fe8208ee6
iec61850_forFoShanAES_Model/src/com/dec/fbs9100/BTS_61850_SocketClient.java
@@ -89,7 +89,7 @@
   private ServerModel m_ServerModel;
   
   private Logger logger = null;
   private int bg_num = 1;
   /*********************************************************************************************/
   /*********************************************************************************************/
@@ -135,10 +135,13 @@
            
            //
            m_StatAndParam.keyID = AL_RTdata.getItem(n).ukeyID;
            m_StatAndParam.StationId = AL_RTdata.getItem(n).StationId;
            //FBSDeviceIp = AL_RTdata.getItem(n).FBSDeviceIp;
         }
      }
      if (m_BattMonCount > (FBS9100_ComBase.MonomerCountMax - 120)) {
         m_BattMonCount = (FBS9100_ComBase.MonomerCountMax - 120);
      }
@@ -217,7 +220,8 @@
            System.out.println("successfully read model");
            */
            //获取当前设备的电源ID号
            BTS61850_Task_Thread_SQL.queryPowerDataInf(m_ConnPool,m_StatAndParam);
            /************************* read m_DevVersion first *************************/
            m_StatAndParam.m_DevVersion = readVersionStringNodeData(FBSDeviceName + "/ncdGGIO1.DevVersion.d", Fc.DC);
            /***************************************************************************/
@@ -230,9 +234,9 @@
            
            FBS9100_Task_Thread_SQL.inseartDev_6185_AlmParam(m_ConnPool, m_StatAndParam.dev_id);
            
            //m_StatAndParam.keyID = readStringNodeData(FBSDeviceName+"/btgGGIO1.ukeyID.d",Fc.DC);
            m_StatAndParam.keyID = readStringNodeData(FBSDeviceName+"/btgGGIO1.ukeyID.d",Fc.DC);
            m_StatAndParam.serialNumber = readStringNodeData(FBSDeviceName+"/btgGGIO1.Bts_ID.d",Fc.DC);            //唯一序列号
            //BTS61850_Task_Thread_SQL.UpdateBattInfTable(m_ConnPool, m_StatAndParam);      //更新当前参数
            BTS61850_Task_Thread_SQL.UpdateBattInfTable(m_ConnPool, m_StatAndParam);                        //更新当前参数
            
            
            //读取主从机功能使能
@@ -489,6 +493,8 @@
                  
                  if (m_StatAndParam != null) {
                     // System.err.println(m_StatAndParam);
                     BTS61850_Task_Thread_SQL.queryPwrdev_Acdcdata_Table(m_ConnPool, m_StatAndParam);
                     FBS9100_Task_Thread_SQL.updateFbs9100StateByDev_Id(m_ConnPool, m_StatAndParam);
                     FBS9100_Task_Thread_SQL.inseartOrUpdateFBS9100SFODState(m_ConnPool, m_StatAndParam,
                           m_StatAndParam.fbs9100s_fod_state);
@@ -497,6 +503,8 @@
                     FBS9100_Task_Thread_SQL.insertBTSEventRecordTable(m_ConnPool, events); // 记录历史事件和告警
                     events.clear();
                  }
               }