ohtfDevice.getSubDeviceIds().addAll(Arrays.asList(IO4SubIds.values()));
ohtfDevice.setTfConfig(tfioActorConfiguration);
fillupConfig(ohtfDevice, deviceConfig);
} else if (deviceType.equals(TypeKey.iosensor.name())) {
logger.debug("{} setting iosensor config", LoggerConstants.CONFIG);
TFIOSensorConfiguration tfioSensorConfiguration =
modelFactory.createTFIOSensorConfiguration();
OHTFDevice<TFIOSensorConfiguration, IO16SubIds> ohtfDevice = modelFactory.createOHTFDevice();
ohtfDevice.getSubDeviceIds().addAll(Arrays.asList(IO16SubIds.values()));
ohtfDevice.setTfConfig(tfioSensorConfiguration);
fillupConfig(ohtfDevice, deviceConfig);
} else if (deviceType.equals(TypeKey.io4sensor.name())) {
logger.debug("{} setting io4sensor config", LoggerConstants.CONFIG);
TFIOSensorConfiguration tfioSensorConfiguration =
modelFactory.createTFIOSensorConfiguration();
OHTFDevice<TFIOSensorConfiguration, IO4SubIds> ohtfDevice = modelFactory.createOHTFDevice();
ohtfDevice.getSubDeviceIds().addAll(Arrays.asList(IO4SubIds.values()));
ohtfDevice.setTfConfig(tfioSensorConfiguration);
fillupConfig(ohtfDevice, deviceConfig);