/** * Copyright (c) 2010-2016 by the respective copyright holders. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html */ /** */ package org.openhab.binding.tinkerforge.internal.model; import java.math.BigDecimal; import org.openhab.binding.tinkerforge.internal.types.DecimalValue; import com.tinkerforge.BrickletTemperature; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>MBricklet Temperature</b></em>'. * * @author Theo Weiss * @since 1.3.0 * <!-- end-user-doc --> * * <p> * The following features are supported: * </p> * <ul> * <li>{@link org.openhab.binding.tinkerforge.internal.model.MBrickletTemperature#getDeviceType <em>Device * Type</em>}</li> * <li>{@link org.openhab.binding.tinkerforge.internal.model.MBrickletTemperature#getThreshold * <em>Threshold</em>}</li> * <li>{@link org.openhab.binding.tinkerforge.internal.model.MBrickletTemperature#isSlowI2C <em>Slow * I2C</em>}</li> * </ul> * * @see org.openhab.binding.tinkerforge.internal.model.ModelPackage#getMBrickletTemperature() * @model superTypes="org.openhab.binding.tinkerforge.internal.model.MDevice * <org.openhab.binding.tinkerforge.internal.model.MTinkerBrickletTemperature> * org.openhab.binding.tinkerforge.internal.model.MSensor * <org.openhab.binding.tinkerforge.internal.model.MDecimalValue> * org.openhab.binding.tinkerforge.internal.model.MTFConfigConsumer * <org.openhab.binding.tinkerforge.internal.model.TFTemperatureConfiguration> * org.openhab.binding.tinkerforge.internal.model.CallbackListener" * @generated */ public interface MBrickletTemperature extends MDevice<BrickletTemperature>, MSensor<DecimalValue>, MTFConfigConsumer<TFTemperatureConfiguration>, CallbackListener { /** * Returns the value of the '<em><b>Device Type</b></em>' attribute. * The default value is <code>"bricklet_temperature"</code>. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Device Type</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * * @return the value of the '<em>Device Type</em>' attribute. * @see org.openhab.binding.tinkerforge.internal.model.ModelPackage#getMBrickletTemperature_DeviceType() * @model default="bricklet_temperature" unique="false" changeable="false" * @generated */ String getDeviceType(); /** * Returns the value of the '<em><b>Threshold</b></em>' attribute. * The default value is <code>"0.1"</code>. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Threshold</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * * @return the value of the '<em>Threshold</em>' attribute. * @see #setThreshold(BigDecimal) * @see org.openhab.binding.tinkerforge.internal.model.ModelPackage#getMBrickletTemperature_Threshold() * @model default="0.1" unique="false" * @generated */ BigDecimal getThreshold(); /** * Sets the value of the '{@link org.openhab.binding.tinkerforge.internal.model.MBrickletTemperature#getThreshold * <em>Threshold</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @param value the new value of the '<em>Threshold</em>' attribute. * @see #getThreshold() * @generated */ void setThreshold(BigDecimal value); /** * Returns the value of the '<em><b>Slow I2C</b></em>' attribute. * The default value is <code>"false"</code>. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Slow I2C</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * * @return the value of the '<em>Slow I2C</em>' attribute. * @see #setSlowI2C(boolean) * @see org.openhab.binding.tinkerforge.internal.model.ModelPackage#getMBrickletTemperature_SlowI2C() * @model default="false" unique="false" * @generated */ boolean isSlowI2C(); /** * Sets the value of the '{@link org.openhab.binding.tinkerforge.internal.model.MBrickletTemperature#isSlowI2C * <em>Slow I2C</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @param value the new value of the '<em>Slow I2C</em>' attribute. * @see #isSlowI2C() * @generated */ void setSlowI2C(boolean value); /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @model annotation="http://www.eclipse.org/emf/2002/GenModel body=''" * @generated */ @Override void init(); } // MBrickletTemperature