configModel.addListener(listenerConfig1D);
for(ISensor sensor : config.getSensorsList()) {
((SensorModel) sensor).addListener(listenerSensor);
}
Dimension1DModel dimension1DModel = (Dimension1DModel) configModel.getDimensionX();
dimension1DModel.addListener(listenerDimension1D);
for(IActuator actuator : dimension1DModel.getActuatorsList()) {
((ActuatorModel) actuator).addListener(listenerActuator);
}
for(IRange1D range1D : dimension1DModel.getRangesXList()) {
((Range1DModel) range1D).addListener(listenerRange1D);