configHCSModel.addListener(listenerConfigHCS);
for(ISensor sensor : config.getSensorsList()) {
((SensorModel) sensor).addListener(listenerSensor);
}
DimensionHCSModel dimensionHCSModel = (DimensionHCSModel) configHCSModel.getDimensionX();
dimensionHCSModel.addListener(listenerDimensionHCS);
for(IActuator actuator : dimensionHCSModel.getActuatorsList()) {
((ActuatorModel) actuator).addListener(listenerActuator);
}
for(IRangeHCS rangeHCS : dimensionHCSModel.getRangesXList()) {
((RangeHCSModel) rangeHCS).addListener(listenerRangeHCS);