int featureID = notification.getFeatureID(MSensor.class);
if (featureID == ModelPackage.MSENSOR__SENSOR_VALUE) {
processValue((MBaseDevice) sensor, notification);
}
} else if (notification.getNotifier() instanceof MSwitchActor) {
MSwitchActor switchActor = (MSwitchActor) notification.getNotifier();
int featureID = notification.getFeatureID(MSwitchActor.class);
if (featureID == ModelPackage.MSWITCH_ACTOR__SWITCH_STATE) {
processValue((MBaseDevice) switchActor, notification);
}
} else if (notification.getNotifier() instanceof DigitalActor) {