|
|
|
@ -65,10 +65,13 @@ public class RealTimeDataService {
|
|
|
|
|
iedRepository.save(ied);
|
|
|
|
|
clientMap.put(ied.getId(), iecClient);
|
|
|
|
|
} catch (Exception ex) {
|
|
|
|
|
log.error("61850订阅异常, ied=" + ied.getName() + ", ip=" + ied.getIp(), ex);
|
|
|
|
|
}
|
|
|
|
|
String err = "61850订阅异常, ied=" + ied.getName() + ", ip=" + ied.getIp();
|
|
|
|
|
log.error(err, ex);
|
|
|
|
|
throw new BusinessException(err);
|
|
|
|
|
} finally {
|
|
|
|
|
inDoing = false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void stopCollect(Integer iedId) {
|
|
|
|
|
IecClient iecClient = clientMap.get(iedId);
|
|
|
|
|