use of org.openhab.binding.tinkerforge.internal.model.LaserRangeFinderDistance in project openhab1-addons by openhab.
the class MBrickletLaserRangeFinderImpl method initSubDevices.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @generated NOT
*/
@Override
public void initSubDevices() {
ModelFactory factory = ModelFactory.eINSTANCE;
LaserRangeFinderDistance distance = factory.createLaserRangeFinderDistance();
distance.setUid(getUid());
String subIdDistance = "distance";
logger.debug("{} addSubDevice {}", LoggerConstants.TFINIT, subIdDistance);
distance.setSubId(subIdDistance);
distance.init();
distance.setMbrick(this);
LaserRangeFinderVelocity velocity = factory.createLaserRangeFinderVelocity();
velocity.setUid(getUid());
String subIdVelocity = "velocity";
logger.debug("{} addSubDevice {}", LoggerConstants.TFINIT, subIdVelocity);
velocity.setSubId(subIdVelocity);
velocity.init();
velocity.setMbrick(this);
LaserRangeFinderLaser laser = factory.createLaserRangeFinderLaser();
laser.setUid(getUid());
String subIdLaser = "laser";
logger.debug("{} addSubDevice {}", LoggerConstants.TFINIT, subIdLaser);
laser.setSubId(subIdLaser);
laser.init();
laser.setMbrick(this);
}
Aggregations