Search in sources :

Example 11 with IPConnection

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

the class MBrickletAnalogInV2Impl 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_V2__IP_CONNECTION, oldIpConnection, ipConnection));
}
Also used : IPConnection(com.tinkerforge.IPConnection) ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl)

Example 12 with IPConnection

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

the class MBrickletAnalogOutV2Impl 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_OUT_V2__IP_CONNECTION, oldIpConnection, ipConnection));
}
Also used : IPConnection(com.tinkerforge.IPConnection) ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl)

Example 13 with IPConnection

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

the class MBrickletBarometerImpl 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_BAROMETER__IP_CONNECTION, oldIpConnection, ipConnection));
}
Also used : IPConnection(com.tinkerforge.IPConnection) ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl)

Example 14 with IPConnection

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

the class MBrickletAccelerometerImpl 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_ACCELEROMETER__IP_CONNECTION, oldIpConnection, ipConnection));
}
Also used : IPConnection(com.tinkerforge.IPConnection) ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl)

Example 15 with IPConnection

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

the class MBrickletHallEffectImpl 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_HALL_EFFECT__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