use of org.openhab.binding.tinkerforge.internal.model.VCDevicePower in project openhab1-addons by openhab.
the class MBrickletVoltageCurrentImpl method initSubDevices.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @generated NOT
*/
@Override
public void initSubDevices() {
ModelFactory factory = ModelFactory.eINSTANCE;
VCDeviceVoltage voltage = factory.createVCDeviceVoltage();
String subIdVoltage = "voltageCurrent_voltage";
voltage.setSubId(subIdVoltage);
voltage.setUid(getUid());
voltage.init();
voltage.setMbrick(this);
logger.debug("{} addSubDevice {}", LoggerConstants.TFINIT, subIdVoltage);
VCDeviceCurrent current = factory.createVCDeviceCurrent();
String subIdCurrent = "voltageCurrent_current";
current.setSubId(subIdCurrent);
current.setUid(getUid());
current.init();
current.setMbrick(this);
logger.debug("{} addSubDevice {}", LoggerConstants.TFINIT, subIdCurrent);
VCDevicePower power = factory.createVCDevicePower();
String subIdPower = "voltageCurrent_power";
power.setSubId(subIdPower);
power.setUid(getUid());
power.init();
power.setMbrick(this);
logger.debug("{} addSubDevice {}", LoggerConstants.TFINIT, subIdPower);
}
Aggregations