use of org.openhab.binding.tinkerforge.internal.model.LoadCellLed in project openhab1-addons by openhab.
the class MBrickletLoadCellImpl method initSubDevices.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @generated NOT
*/
@Override
public void initSubDevices() {
ModelFactory factory = ModelFactory.eINSTANCE;
LoadCellWeight weight = factory.createLoadCellWeight();
weight.setUid(getUid());
String subIdWeight = "weight";
weight.setSubId(subIdWeight);
logger.debug("{} addSubDevice {}", LoggerConstants.TFINIT, subIdWeight);
weight.init();
weight.setMbrick(this);
LoadCellLed led = factory.createLoadCellLed();
led.setUid(getUid());
String subIdLed = "led";
led.setSubId(subIdLed);
logger.debug("{} addSubDevice {}", LoggerConstants.TFINIT, subIdLed);
led.init();
led.setMbrick(this);
}
Aggregations