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

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


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


      ohtfDevice.setTfConfig(configuration);
      fillupConfig(ohtfDevice, deviceConfig);
    } else if (deviceType.equals(TypeKey.remote_switch_c.name())) {
      logger.debug("{} setting RemoteSwitchCConfiguration device_type {}", LoggerConstants.CONFIG,
          deviceType);
      RemoteSwitchCConfiguration configuration = modelFactory.createRemoteSwitchCConfiguration();
      OHTFSubDeviceAdminDevice<RemoteSwitchCConfiguration, 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.RemoteSwitchCConfiguration

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.