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