use of org.opensmartgridplatform.simulator.protocol.iec61850.server.logicaldevices.GasFurnace in project Protocol-Adapter-IEC61850 by OSGP.
the class RtuSimulator method addGasFurnaceDevices.
private void addGasFurnaceDevices(final ServerModel serverModel) {
final String gasFurnacePrefix = "GAS_FURNACE";
int i = 1;
String logicalDeviceName = gasFurnacePrefix + i;
ModelNode gasFurnaceNode = serverModel.getChild(this.getDeviceName() + logicalDeviceName);
while (gasFurnaceNode != null) {
this.logicalDevices.add(new GasFurnace(this.getDeviceName(), logicalDeviceName, serverModel));
i += 1;
logicalDeviceName = gasFurnacePrefix + i;
gasFurnaceNode = serverModel.getChild(this.getDeviceName() + logicalDeviceName);
}
}
use of org.opensmartgridplatform.simulator.protocol.iec61850.server.logicaldevices.GasFurnace in project open-smart-grid-platform by OSGP.
the class RtuSimulator method addGasFurnaceDevices.
private void addGasFurnaceDevices(final ServerModel serverModel) {
final String gasFurnacePrefix = "GAS_FURNACE";
int i = 1;
String logicalDeviceName = gasFurnacePrefix + i;
ModelNode gasFurnaceNode = serverModel.getChild(this.getDeviceName() + logicalDeviceName);
while (gasFurnaceNode != null) {
this.logicalDevices.add(new GasFurnace(this.getDeviceName(), logicalDeviceName, serverModel));
i += 1;
logicalDeviceName = gasFurnacePrefix + i;
gasFurnaceNode = serverModel.getChild(this.getDeviceName() + logicalDeviceName);
}
}
Aggregations