| | |
| | | private ServerModel m_ServerModel;
|
| | |
|
| | | private Logger logger = null;
|
| | |
|
| | | |
| | | private int bg_num = 1;
|
| | | /*********************************************************************************************/
|
| | | /*********************************************************************************************/
|
| | |
| | |
|
| | | //
|
| | | 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);
|
| | | }
|
| | |
| | |
|
| | | 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);
|
| | | /***************************************************************************/
|
| | |
| | |
|
| | | 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); //更新当前参数
|
| | |
|
| | |
|
| | | //读取主从机功能使能
|
| | |
| | |
|
| | | 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);
|
| | |
| | |
|
| | | FBS9100_Task_Thread_SQL.insertBTSEventRecordTable(m_ConnPool, events); // 记录历史事件和告警
|
| | |
|
| | | |
| | | |
| | | events.clear();
|
| | | }
|
| | | }
|