|
|
|
@ -67,6 +67,11 @@ public class IecClient implements ClientEventListener {
|
|
|
|
|
clientAssociation.enableReporting(urcb);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if (!CollectionUtils.isEmpty(serverModel.getBrcbs())) {
|
|
|
|
|
for (Brcb brcb : serverModel.getBrcbs()) {
|
|
|
|
|
clientAssociation.enableReporting(brcb);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void disableReporting() {
|
|
|
|
@ -78,6 +83,14 @@ public class IecClient implements ClientEventListener {
|
|
|
|
|
} catch (Exception ignore) {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if (!CollectionUtils.isEmpty(serverModel.getBrcbs())) {
|
|
|
|
|
try {
|
|
|
|
|
for (Brcb brcb : serverModel.getBrcbs()) {
|
|
|
|
|
clientAssociation.disableReporting(brcb);
|
|
|
|
|
}
|
|
|
|
|
} catch (Exception ignore) {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|