Examples of TFIOSensorConfiguration


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

   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetTfConfig(TFIOSensorConfiguration newTfConfig, NotificationChain msgs)
  {
    TFIOSensorConfiguration oldTfConfig = tfConfig;
    tfConfig = newTfConfig;
    if (eNotificationRequired())
    {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ModelPackage.DIGITAL_SENSOR_IO4__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.TFIOSensorConfiguration

        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case ModelPackage.TFIO_SENSOR_CONFIGURATION:
      {
        TFIOSensorConfiguration tfioSensorConfiguration = (TFIOSensorConfiguration)theEObject;
        T result = caseTFIOSensorConfiguration(tfioSensorConfiguration);
        if (result == null) result = caseTFConfig(tfioSensorConfiguration);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
View Full Code Here

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

   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetTfConfig(TFIOSensorConfiguration newTfConfig, NotificationChain msgs)
  {
    TFIOSensorConfiguration oldTfConfig = tfConfig;
    tfConfig = newTfConfig;
    if (eNotificationRequired())
    {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ModelPackage.DIGITAL_SENSOR__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.TFIOSensorConfiguration

      ohtfDevice.getSubDeviceIds().addAll(Arrays.asList(IO4SubIds.values()));
      ohtfDevice.setTfConfig(tfioActorConfiguration);
      fillupConfig(ohtfDevice, deviceConfig);
    } else if (deviceType.equals(TypeKey.iosensor.name())) {
      logger.debug("{} setting iosensor config", LoggerConstants.CONFIG);
      TFIOSensorConfiguration tfioSensorConfiguration =
          modelFactory.createTFIOSensorConfiguration();
      OHTFDevice<TFIOSensorConfiguration, IO16SubIds> ohtfDevice = modelFactory.createOHTFDevice();
      ohtfDevice.getSubDeviceIds().addAll(Arrays.asList(IO16SubIds.values()));
      ohtfDevice.setTfConfig(tfioSensorConfiguration);
      fillupConfig(ohtfDevice, deviceConfig);
    } else if (deviceType.equals(TypeKey.io4sensor.name())) {
      logger.debug("{} setting io4sensor config", LoggerConstants.CONFIG);
      TFIOSensorConfiguration tfioSensorConfiguration =
          modelFactory.createTFIOSensorConfiguration();
      OHTFDevice<TFIOSensorConfiguration, IO4SubIds> ohtfDevice = modelFactory.createOHTFDevice();
      ohtfDevice.getSubDeviceIds().addAll(Arrays.asList(IO4SubIds.values()));
      ohtfDevice.setTfConfig(tfioSensorConfiguration);
      fillupConfig(ohtfDevice, deviceConfig);
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.