use of org.opensmartgridplatform.simulator.protocol.iec61850.server.logicaldevices.LightMeasurementRtu in project open-smart-grid-platform by OSGP.
the class RtuSimulator method addLightMeasurementDevice.
private void addLightMeasurementDevice(final ServerModel serverModel) {
final String logicalDeviceName = "LD0";
final ModelNode lightMeasurementRtuNode = serverModel.getChild(this.getDeviceName() + logicalDeviceName);
if (lightMeasurementRtuNode != null) {
// Light Measurement RTU found in the server model.
LOGGER.info("Adding lmRtu {}", logicalDeviceName);
this.logicalDevices.add(new LightMeasurementRtu(this.getDeviceName(), logicalDeviceName, serverModel));
}
}
Aggregations