use of org.openhab.binding.tinkerforge.internal.model.TFBaseConfiguration in project openhab1-addons by openhab.
the class AccelerometerDirectionImpl method basicSetTfConfig.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @generated
*/
public NotificationChain basicSetTfConfig(TFBaseConfiguration newTfConfig, NotificationChain msgs) {
TFBaseConfiguration oldTfConfig = tfConfig;
tfConfig = newTfConfig;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ModelPackage.ACCELEROMETER_DIRECTION__TF_CONFIG, oldTfConfig, newTfConfig);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
use of org.openhab.binding.tinkerforge.internal.model.TFBaseConfiguration in project openhab1-addons by openhab.
the class MBrickletBarometerImpl method basicSetTfConfig.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @generated
*/
public NotificationChain basicSetTfConfig(TFBaseConfiguration newTfConfig, NotificationChain msgs) {
TFBaseConfiguration oldTfConfig = tfConfig;
tfConfig = newTfConfig;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ModelPackage.MBRICKLET_BAROMETER__TF_CONFIG, oldTfConfig, newTfConfig);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
Aggregations