|
|
|
@ -114,10 +114,12 @@ public class IcdFileConfigServiceImpl implements IcdFileConfigService {
|
|
|
|
|
if (StringUtils.isNotBlank(ied.getIp())) {
|
|
|
|
|
ied.setConnected(false);
|
|
|
|
|
ied.setRetry(0);
|
|
|
|
|
ied.setSeconds(0);
|
|
|
|
|
IecClient iecClient = StaticVariable.realTimeClientMap.get(ied.getId());
|
|
|
|
|
if (iecClient != null) {
|
|
|
|
|
ied.setRetry(iecClient.retry);
|
|
|
|
|
ied.setConnected(iecClient.connected);
|
|
|
|
|
ied.setSeconds(iecClient.seconds);
|
|
|
|
|
}
|
|
|
|
|
result.add(ied);
|
|
|
|
|
}
|
|
|
|
|