| | |
| | | import com.battdata_rt.BattData_RT;
|
| | | import com.battdata_rt.BattData_RT_Array;
|
| | | import com.dec.fbs9100.FBS9100_TestTime;
|
| | | import com.mysql.jdbc.exceptions.MySQLTimeoutException;
|
| | |
|
| | | /****************************************************************************************************/
|
| | | public class BTS_61850_SocketClient extends Thread {
|
| | |
| | | FBS9100_Task_Thread_SQL.queryFBS9100SysParamBydev_id(m_ConnPool, m_StatAndParam); // 查询系统参数
|
| | |
|
| | | FBS9100_Task_Thread_SQL.queryDev6185AlmParamBydev_id(m_ConnPool, m_StatAndParam); // 查询告警参数
|
| | | |
| | | }
|
| | | }
|
| | |
|
| | |
| | | break;
|
| | | }
|
| | | // ---------------------------------------------------------------------------------//
|
| | | } catch (InterruptedException e) {
|
| | | logger.error(e.toString(), e);
|
| | | |
| | | } catch (Exception e) {
|
| | | try {
|
| | | logger.error("IP:" + FBSDeviceIp + " " + this.getName() + " - BTS_IEC61850_ClientThread Connect Break Now By " + e.toString(), e);
|
| | | sleep(1000);
|
| | | break;
|
| | | } catch (InterruptedException e1) {
|
| | | // TODO Auto-generated catch block
|
| | | logger.error(e1.toString(), e1);
|
| | |
| | | //m_ServerModel = null;
|
| | | } catch (Exception e) {
|
| | | logger.error(e.toString(), e);
|
| | | } finally {
|
| | | logger.error("IP:" + FBSDeviceIp + " " + this.getName() + " - BTS_IEC61850_ClientThread Connect Stopped ...");
|
| | | }
|
| | | |
| | | logger.debug("IP:" + FBSDeviceIp + " " + this.getName() + " - BTS_IEC61850_ClientThread Stopped ...");
|
| | | }
|
| | |
|
| | | // 离线养护计划
|