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