modelFactory.createOHTFDevice();
ohtfDevice.getSubDeviceIds().addAll(Arrays.asList(NoSubIds.values()));
ohtfDevice.setTfConfig(configuration);
fillupConfig(ohtfDevice, deviceConfig);
} else if (deviceType.equals(TypeKey.bricklet_distanceUS.name())) {
TFDistanceUSBrickletConfiguration configuration =
modelFactory.createTFDistanceUSBrickletConfiguration();
OHTFDevice<TFDistanceUSBrickletConfiguration, NoSubIds> ohtfDevice =
modelFactory.createOHTFDevice();
ohtfDevice.getSubDeviceIds().addAll(Arrays.asList(NoSubIds.values()));
ohtfDevice.setTfConfig(configuration);