Search in sources :

Example 1 with BrickletSegmentDisplay4x7

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

the class MBrickletSegmentDisplay4x7Impl method setTinkerforgeDevice.

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

Example 2 with BrickletSegmentDisplay4x7

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

the class MBrickletSegmentDisplay4x7Impl method enable.

/**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * 
     * @generated NOT
     */
@Override
public void enable() {
    logger.trace("enabling");
    tinkerforgeDevice = new BrickletSegmentDisplay4x7(getUid(), getIpConnection());
}
Also used : MBrickletSegmentDisplay4x7(org.openhab.binding.tinkerforge.internal.model.MBrickletSegmentDisplay4x7) BrickletSegmentDisplay4x7(com.tinkerforge.BrickletSegmentDisplay4x7)

Aggregations

BrickletSegmentDisplay4x7 (com.tinkerforge.BrickletSegmentDisplay4x7)2 MBrickletSegmentDisplay4x7 (org.openhab.binding.tinkerforge.internal.model.MBrickletSegmentDisplay4x7)2 ENotificationImpl (org.eclipse.emf.ecore.impl.ENotificationImpl)1