Package org.openhab.binding.tinkerforge.internal.model

Examples of org.openhab.binding.tinkerforge.internal.model.RemoteSwitchAConfiguration


   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetTfConfig(RemoteSwitchAConfiguration newTfConfig, NotificationChain msgs)
  {
    RemoteSwitchAConfiguration oldTfConfig = tfConfig;
    tfConfig = newTfConfig;
    if (eNotificationRequired())
    {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ModelPackage.REMOTE_SWITCH_A__TF_CONFIG, oldTfConfig, newTfConfig);
      if (msgs == null) msgs = notification; else msgs.add(notification);
View Full Code Here


      fillupConfig(ohtfDevice, deviceConfig);

    } else if (deviceType.equals(TypeKey.remote_switch_a.name())) {
      logger.debug("{} setting RemoteSwitchAConfiguration device_type {}", LoggerConstants.CONFIG,
          deviceType);
      RemoteSwitchAConfiguration configuration = modelFactory.createRemoteSwitchAConfiguration();
      OHTFSubDeviceAdminDevice<RemoteSwitchAConfiguration, NoSubIds> ohtfDevice =
          modelFactory.createOHTFSubDeviceAdminDevice();
      ohtfDevice.getSubDeviceIds().addAll(Arrays.asList(NoSubIds.values()));
      ohtfDevice.setTfConfig(configuration);
      fillupConfig(ohtfDevice, deviceConfig);
View Full Code Here

TOP

Related Classes of org.openhab.binding.tinkerforge.internal.model.RemoteSwitchAConfiguration

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.