|
|
@ -71,10 +71,9 @@ public class RealTimeDataService {
|
|
|
|
iedRepository.save(ied);
|
|
|
|
iedRepository.save(ied);
|
|
|
|
clientMap.put(ied.getId(), iecClient);
|
|
|
|
clientMap.put(ied.getId(), iecClient);
|
|
|
|
} catch (Exception ex) {
|
|
|
|
} catch (Exception ex) {
|
|
|
|
ied.setStart(Constants.FALSE);
|
|
|
|
|
|
|
|
iedRepository.save(ied);
|
|
|
|
|
|
|
|
String err = "61850订阅异常, ied=" + ied.getName() + ", ip=" + ied.getIp() + ", port=" + ied.getPort();
|
|
|
|
String err = "61850订阅异常, ied=" + ied.getName() + ", ip=" + ied.getIp() + ", port=" + ied.getPort();
|
|
|
|
log.error(err, ex);
|
|
|
|
log.error(err, ex);
|
|
|
|
|
|
|
|
this.stopCollect(iedId);
|
|
|
|
throw new BusinessException(err);
|
|
|
|
throw new BusinessException(err);
|
|
|
|
} finally {
|
|
|
|
} finally {
|
|
|
|
inDoing = false;
|
|
|
|
inDoing = false;
|
|
|
|