Search in sources :

Example 6 with TFBaseConfiguration

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

the class MBrickletHumidityImpl 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_HUMIDITY__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 7 with TFBaseConfiguration

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

the class PTCTemperatureImpl 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.PTC_TEMPERATURE__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 8 with TFBaseConfiguration

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

the class PTCResistanceImpl 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.PTC_RESISTANCE__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 9 with TFBaseConfiguration

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

the class MBrickletJoystickImpl 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_JOYSTICK__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 10 with TFBaseConfiguration

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

the class MBrickletLinearPotiImpl 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_LINEAR_POTI__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