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