/** * 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.BrickletAnalogIn; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>MBricklet Analog In</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * </p> * <ul> * <li>{@link org.openhab.binding.tinkerforge.internal.model.MBrickletAnalogIn#getDeviceType <em>Device Type</em>}</li> * <li>{@link org.openhab.binding.tinkerforge.internal.model.MBrickletAnalogIn#getThreshold <em>Threshold</em>}</li> * <li>{@link org.openhab.binding.tinkerforge.internal.model.MBrickletAnalogIn#getMovingAverage <em>Moving Average</em>} * </li> * <li>{@link org.openhab.binding.tinkerforge.internal.model.MBrickletAnalogIn#getRange <em>Range</em>}</li> * </ul> * * @see org.openhab.binding.tinkerforge.internal.model.ModelPackage#getMBrickletAnalogIn() * @model superTypes="org.openhab.binding.tinkerforge.internal.model.MDevice * <org.openhab.binding.tinkerforge.internal.model.TinkerBrickletAnalogIn> * 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.TFAnalogInConfiguration> * org.openhab.binding.tinkerforge.internal.model.CallbackListener" * @generated */ public interface MBrickletAnalogIn extends MDevice<BrickletAnalogIn>, MSensor<DecimalValue>, MTFConfigConsumer<TFAnalogInConfiguration>, CallbackListener { /** * Returns the value of the '<em><b>Device Type</b></em>' attribute. * The default value is <code>"bricklet_analogin"</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#getMBrickletAnalogIn_DeviceType() * @model default="bricklet_analogin" unique="false" changeable="false" * @generated */ String getDeviceType(); /** * Returns the value of the '<em><b>Threshold</b></em>' attribute. * The default value is <code>"0"</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#getMBrickletAnalogIn_Threshold() * @model default="0" unique="false" * @generated */ BigDecimal getThreshold(); /** * Sets the value of the '{@link org.openhab.binding.tinkerforge.internal.model.MBrickletAnalogIn#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>Moving Average</b></em>' attribute. * The default value is <code>"100"</code>. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Moving Average</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * * @return the value of the '<em>Moving Average</em>' attribute. * @see #setMovingAverage(Short) * @see org.openhab.binding.tinkerforge.internal.model.ModelPackage#getMBrickletAnalogIn_MovingAverage() * @model default="100" unique="false" * @generated */ Short getMovingAverage(); /** * Sets the value of the '{@link org.openhab.binding.tinkerforge.internal.model.MBrickletAnalogIn#getMovingAverage * <em>Moving Average</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @param value the new value of the '<em>Moving Average</em>' attribute. * @see #getMovingAverage() * @generated */ void setMovingAverage(Short value); /** * Returns the value of the '<em><b>Range</b></em>' attribute. * The default value is <code>"0"</code>. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Range</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * * @return the value of the '<em>Range</em>' attribute. * @see #setRange(Short) * @see org.openhab.binding.tinkerforge.internal.model.ModelPackage#getMBrickletAnalogIn_Range() * @model default="0" unique="false" * @generated */ Short getRange(); /** * Sets the value of the '{@link org.openhab.binding.tinkerforge.internal.model.MBrickletAnalogIn#getRange * <em>Range</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @param value the new value of the '<em>Range</em>' attribute. * @see #getRange() * @generated */ void setRange(Short value); } // MBrickletAnalogIn