|
|
@ -92,6 +92,7 @@ public class RealTimeDataService {
|
|
|
|
private void onlyStop(Integer iedId) {
|
|
|
|
private void onlyStop(Integer iedId) {
|
|
|
|
IecClient iecClient = StaticVariable.realTimeClientMap.get(iedId);
|
|
|
|
IecClient iecClient = StaticVariable.realTimeClientMap.get(iedId);
|
|
|
|
if (iecClient != null) {
|
|
|
|
if (iecClient != null) {
|
|
|
|
|
|
|
|
iecClient.keep = false;
|
|
|
|
iecClient.disableReporting();
|
|
|
|
iecClient.disableReporting();
|
|
|
|
iecClient.disconnect();
|
|
|
|
iecClient.disconnect();
|
|
|
|
StaticVariable.realTimeClientMap.remove(iedId);
|
|
|
|
StaticVariable.realTimeClientMap.remove(iedId);
|
|
|
|