Search in sources :

Example 51 with IPConnection

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

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

Example 52 with IPConnection

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

the class MBrickletRemoteSwitchImpl 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_REMOTE_SWITCH__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