}
break;
case SCAN_ENERGY:
ConfigEnergyModel configEnergyModel = (ConfigEnergyModel) config;
configEnergyModel.addListener(listenerConfigEnergy);
for(ISensor sensor : config.getSensorsList()) {
((SensorModel) sensor).addListener(listenerSensor);
}
DimensionEnergyModel dimensionEnergyModel = (DimensionEnergyModel) configEnergyModel.getDimensionEnergy();
dimensionEnergyModel.addListener(listenerDimensionEnergy);