Search in sources :

Example 1 with BrickletRotaryEncoder

use of com.tinkerforge.BrickletRotaryEncoder in project openhab1-addons by openhab.

the class MBrickletRotaryEncoderImpl method setTinkerforgeDevice.

/**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * 
     * @generated
     */
@Override
public void setTinkerforgeDevice(BrickletRotaryEncoder newTinkerforgeDevice) {
    BrickletRotaryEncoder oldTinkerforgeDevice = tinkerforgeDevice;
    tinkerforgeDevice = newTinkerforgeDevice;
    if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, ModelPackage.MBRICKLET_ROTARY_ENCODER__TINKERFORGE_DEVICE, oldTinkerforgeDevice, tinkerforgeDevice));
}
Also used : ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl) MBrickletRotaryEncoder(org.openhab.binding.tinkerforge.internal.model.MBrickletRotaryEncoder) BrickletRotaryEncoder(com.tinkerforge.BrickletRotaryEncoder)

Aggregations

BrickletRotaryEncoder (com.tinkerforge.BrickletRotaryEncoder)1 ENotificationImpl (org.eclipse.emf.ecore.impl.ENotificationImpl)1 MBrickletRotaryEncoder (org.openhab.binding.tinkerforge.internal.model.MBrickletRotaryEncoder)1