| | |
| | |
|
| | | public void connectIEDDevice() throws FileNotFoundException {
|
| | | try {
|
| | | param.setFail_reasion(IEDScout_Param.FAILREASION_NULL);
|
| | | while(m_App_IsConnect) {
|
| | | try {
|
| | | logger.info("BTS_IEC61850_Client Start to connect to device IP:" + param.target_ip + " Port:" + param.target_port);
|
| | |
| | | BTS61850_IEDScout_Task_Thread_SQL.queryConnect_Inf_Table(pool,param);
|
| | | if(IEDScout_Param.CONN_STATE_START == param.conn_st) {
|
| | | param.setConn_st(IEDScout_Param.CONN_STATE_CONNECT);
|
| | | param.setFail_reasion(IEDScout_Param.FAILREASION_NULL); |
| | | BTS61850_IEDScout_Task_Thread_SQL.updateConnect_Inf_Table(pool, param);
|
| | |
|
| | | logger.printf(Level.INFO,"BTS61850_IEDScout_Task Start Connect IP:%s,Port:%d",param.target_ip,param.target_port);
|