| | |
| | |
|
| | | public void connectIEDDevice() {
|
| | | try {
|
| | | while(m_App_IsConnect) {
|
| | | |
| | | 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);
|
| | | m_App_IsConnect = true;
|
| | |
| | | logger.error("BTS_IEC61850_Client Unable to connect to device IP:" + param.target_ip);
|
| | | logger.error(e.toString(), e);
|
| | | m_App_IsConnect = false;
|
| | | continue;
|
| | | param.setFail_reasion(IEDScout_Param.FAILREASION_PARAMERROR);
|
| | | param.setConn_st(IEDScout_Param.CONN_STATE_FAIL);
|
| | | break;
|
| | | }
|
| | | logger.info("Start Load ICD File '" + param.target_icd + "'");
|
| | |
|