Examples of TFBaseConfiguration


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

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

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

        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case ModelPackage.TF_BASE_CONFIGURATION:
      {
        TFBaseConfiguration tfBaseConfiguration = (TFBaseConfiguration)theEObject;
        T result = caseTFBaseConfiguration(tfBaseConfiguration);
        if (result == null) result = caseTFConfig(tfBaseConfiguration);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
View Full Code Here

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

        || deviceType.equals(TypeKey.voltageCurrent_voltage.name())
        || deviceType.equals(TypeKey.voltageCurrent_current.name())
        || deviceType.equals(TypeKey.voltageCurrent_power.name())
        || deviceType.equals(TypeKey.bricklet_halleffect)) {
      logger.debug("{} setting base config", LoggerConstants.CONFIG);
      TFBaseConfiguration tfBaseConfiguration = modelFactory.createTFBaseConfiguration();
      if (deviceType.equals(TypeKey.bricklet_barometer)) {
        OHTFDevice<TFBaseConfiguration, BarometerSubIDs> ohtfDevice =
            modelFactory.createOHTFDevice();
        ohtfDevice.getSubDeviceIds().addAll(Arrays.asList(BarometerSubIDs.values()));
        ohtfDevice.setTfConfig(tfBaseConfiguration);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.