Search in sources :

Example 1 with TFBaseConfiguration

use of org.openhab.binding.tinkerforge.internal.model.TFBaseConfiguration in project openhab1-addons by openhab.

the class MBrickletSoundIntensityImpl 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_SOUND_INTENSITY__TF_CONFIG, oldTfConfig, newTfConfig);
        if (msgs == null)
            msgs = notification;
        else
            msgs.add(notification);
    }
    return msgs;
}
Also used : TFBaseConfiguration(org.openhab.binding.tinkerforge.internal.model.TFBaseConfiguration) ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl)

Example 2 with TFBaseConfiguration

use of org.openhab.binding.tinkerforge.internal.model.TFBaseConfiguration in project openhab1-addons by openhab.

the class MBrickletCO2Impl 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_CO2__TF_CONFIG, oldTfConfig, newTfConfig);
        if (msgs == null)
            msgs = notification;
        else
            msgs.add(notification);
    }
    return msgs;
}
Also used : TFBaseConfiguration(org.openhab.binding.tinkerforge.internal.model.TFBaseConfiguration) ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl)

Example 3 with TFBaseConfiguration

use of org.openhab.binding.tinkerforge.internal.model.TFBaseConfiguration in project openhab1-addons by openhab.

the class MBrickletDistanceIRImpl 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_DISTANCE_IR__TF_CONFIG, oldTfConfig, newTfConfig);
        if (msgs == null)
            msgs = notification;
        else
            msgs.add(notification);
    }
    return msgs;
}
Also used : TFBaseConfiguration(org.openhab.binding.tinkerforge.internal.model.TFBaseConfiguration) ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl)

Example 4 with TFBaseConfiguration

use of org.openhab.binding.tinkerforge.internal.model.TFBaseConfiguration in project openhab1-addons by openhab.

the class MBrickletAmbientLightImpl 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_AMBIENT_LIGHT__TF_CONFIG, oldTfConfig, newTfConfig);
        if (msgs == null)
            msgs = notification;
        else
            msgs.add(notification);
    }
    return msgs;
}
Also used : TFBaseConfiguration(org.openhab.binding.tinkerforge.internal.model.TFBaseConfiguration) ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl)

Example 5 with TFBaseConfiguration

use of org.openhab.binding.tinkerforge.internal.model.TFBaseConfiguration in project openhab1-addons by openhab.

the class MBrickletHallEffectImpl 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_HALL_EFFECT__TF_CONFIG, oldTfConfig, newTfConfig);
        if (msgs == null)
            msgs = notification;
        else
            msgs.add(notification);
    }
    return msgs;
}
Also used : TFBaseConfiguration(org.openhab.binding.tinkerforge.internal.model.TFBaseConfiguration) ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl)

Aggregations

TFBaseConfiguration (org.openhab.binding.tinkerforge.internal.model.TFBaseConfiguration)27 ENotificationImpl (org.eclipse.emf.ecore.impl.ENotificationImpl)26 AccelerometerSubIds (org.openhab.binding.tinkerforge.internal.model.AccelerometerSubIds)1 AmbientLightV2Configuration (org.openhab.binding.tinkerforge.internal.model.AmbientLightV2Configuration)1 BrickletAccelerometerConfiguration (org.openhab.binding.tinkerforge.internal.model.BrickletAccelerometerConfiguration)1 BrickletColorConfiguration (org.openhab.binding.tinkerforge.internal.model.BrickletColorConfiguration)1 BrickletIndustrialDualAnalogInConfiguration (org.openhab.binding.tinkerforge.internal.model.BrickletIndustrialDualAnalogInConfiguration)1 BrickletMultiTouchConfiguration (org.openhab.binding.tinkerforge.internal.model.BrickletMultiTouchConfiguration)1 BrickletOLEDConfiguration (org.openhab.binding.tinkerforge.internal.model.BrickletOLEDConfiguration)1 BrickletRemoteSwitchConfiguration (org.openhab.binding.tinkerforge.internal.model.BrickletRemoteSwitchConfiguration)1 ButtonConfiguration (org.openhab.binding.tinkerforge.internal.model.ButtonConfiguration)1 ColorBrickletSubIds (org.openhab.binding.tinkerforge.internal.model.ColorBrickletSubIds)1 DimmableConfiguration (org.openhab.binding.tinkerforge.internal.model.DimmableConfiguration)1 DualButtonLEDConfiguration (org.openhab.binding.tinkerforge.internal.model.DualButtonLEDConfiguration)1 DualButtonLedSubIds (org.openhab.binding.tinkerforge.internal.model.DualButtonLedSubIds)1 DualRelaySubIds (org.openhab.binding.tinkerforge.internal.model.DualRelaySubIds)1 IO16SubIds (org.openhab.binding.tinkerforge.internal.model.IO16SubIds)1 IndustrialDigitalOutSubIDs (org.openhab.binding.tinkerforge.internal.model.IndustrialDigitalOutSubIDs)1 IndustrialDualAnalogInSubIds (org.openhab.binding.tinkerforge.internal.model.IndustrialDualAnalogInSubIds)1 JoystickSubIds (org.openhab.binding.tinkerforge.internal.model.JoystickSubIds)1