Search in sources :

Example 6 with IPConnection

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

the class MBrickletOLED128x64Impl method setIpConnection.

/**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     *
     * @generated
     */
@Override
public void setIpConnection(IPConnection newIpConnection) {
    IPConnection oldIpConnection = ipConnection;
    ipConnection = newIpConnection;
    if (eNotificationRequired()) {
        eNotify(new ENotificationImpl(this, Notification.SET, ModelPackage.MBRICKLET_OLED12_8X64__IP_CONNECTION, oldIpConnection, ipConnection));
    }
}
Also used : IPConnection(com.tinkerforge.IPConnection) ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl)

Example 7 with IPConnection

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

the class MBrickletMultiTouchImpl method setIpConnection.

/**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * 
     * @generated
     */
@Override
public void setIpConnection(IPConnection newIpConnection) {
    IPConnection oldIpConnection = ipConnection;
    ipConnection = newIpConnection;
    if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, ModelPackage.MBRICKLET_MULTI_TOUCH__IP_CONNECTION, oldIpConnection, ipConnection));
}
Also used : IPConnection(com.tinkerforge.IPConnection) ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl)

Example 8 with IPConnection

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

the class MBrickletColorImpl method setIpConnection.

/**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * 
     * @generated
     */
@Override
public void setIpConnection(IPConnection newIpConnection) {
    IPConnection oldIpConnection = ipConnection;
    ipConnection = newIpConnection;
    if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, ModelPackage.MBRICKLET_COLOR__IP_CONNECTION, oldIpConnection, ipConnection));
}
Also used : IPConnection(com.tinkerforge.IPConnection) ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl)

Example 9 with IPConnection

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

the class MBrickletAmbientLightV2Impl method setIpConnection.

/**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     *
     * @generated
     */
@Override
public void setIpConnection(IPConnection newIpConnection) {
    IPConnection oldIpConnection = ipConnection;
    ipConnection = newIpConnection;
    if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, ModelPackage.MBRICKLET_AMBIENT_LIGHT_V2__IP_CONNECTION, oldIpConnection, ipConnection));
}
Also used : IPConnection(com.tinkerforge.IPConnection) ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl)

Example 10 with IPConnection

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

the class MBrickletAnalogInImpl method setIpConnection.

/**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * 
     * @generated
     */
@Override
public void setIpConnection(IPConnection newIpConnection) {
    IPConnection oldIpConnection = ipConnection;
    ipConnection = newIpConnection;
    if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, ModelPackage.MBRICKLET_ANALOG_IN__IP_CONNECTION, oldIpConnection, ipConnection));
}
Also used : IPConnection(com.tinkerforge.IPConnection) ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl)

Aggregations

IPConnection (com.tinkerforge.IPConnection)52 ENotificationImpl (org.eclipse.emf.ecore.impl.ENotificationImpl)51