use of org.openhab.binding.tinkerforge.internal.model.ColorColor in project openhab1-addons by openhab.
the class MBrickletColorImpl method initSubDevices.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @generated NOT
*/
@Override
public void initSubDevices() {
ModelFactory factory = ModelFactory.eINSTANCE;
ColorColor color = factory.createColorColor();
color.setUid(getUid());
String subIdColor = "color";
color.setSubId(subIdColor);
logger.debug("{} addSubDevice {}", LoggerConstants.TFINIT, subIdColor);
color.init();
color.setMbrick(this);
ColorColorTemperature temperature = factory.createColorColorTemperature();
temperature.setUid(getUid());
String subIdTemperature = "temperature";
temperature.setSubId(subIdTemperature);
logger.debug("{} addSubDevice {}", LoggerConstants.TFINIT, subIdTemperature);
temperature.init();
temperature.setMbrick(this);
ColorIlluminance illuminance = factory.createColorIlluminance();
illuminance.setUid(getUid());
String subIdIlluminance = "illuminance";
illuminance.setSubId(subIdIlluminance);
logger.debug("{} addSubDevice {}", LoggerConstants.TFINIT, subIdIlluminance);
illuminance.init();
illuminance.setMbrick(this);
ColorLed led = factory.createColorLed();
led.setUid(getUid());
String subIdLed = "led";
led.setSubId(subIdLed);
logger.debug("{} addSubDevice {}", LoggerConstants.TFINIT, subIdLed);
led.init();
led.setMbrick(this);
}
Aggregations