Search in sources :

Example 16 with TFBaseConfiguration

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

the class VCDeviceCurrentImpl 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.VC_DEVICE_CURRENT__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 17 with TFBaseConfiguration

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

the class LaserRangeFinderVelocityImpl 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.LASER_RANGE_FINDER_VELOCITY__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 18 with TFBaseConfiguration

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

the class IndustrialDualAnalogInChannelImpl 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.INDUSTRIAL_DUAL_ANALOG_IN_CHANNEL__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 19 with TFBaseConfiguration

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

the class Dual020mADeviceImpl 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.DUAL020M_ADEVICE__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 20 with TFBaseConfiguration

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

the class LaserRangeFinderDistanceImpl 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.LASER_RANGE_FINDER_DISTANCE__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