use of com.alliander.osgp.simulator.protocol.iec61850.server.logicaldevices.HeatBuffer in project Protocol-Adapter-IEC61850 by OSGP.
the class RtuSimulator method addHeatBufferDevices.
private void addHeatBufferDevices(final ServerModel serverModel) {
final String heatBufferPrefix = "HEAT_BUFFER";
int i = 1;
String logicalDeviceName = heatBufferPrefix + i;
ModelNode heatBufferNode = serverModel.getChild(this.getDeviceName() + logicalDeviceName);
while (heatBufferNode != null) {
this.logicalDevices.add(new HeatBuffer(this.getDeviceName(), logicalDeviceName, serverModel));
i += 1;
logicalDeviceName = heatBufferPrefix + i;
heatBufferNode = serverModel.getChild(this.getDeviceName() + logicalDeviceName);
}
}
Aggregations