/** * 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.rme; import org.openhab.core.binding.BindingProvider; /** * @author Karel Goderis * @since 1.5.0 * */ public interface RMEBindingProvider extends BindingProvider { /** * Returns the id to the given <code>itemName</code>. * * @param itemName * the item for which to find a id. * * @return the corresponding id to the given <code>itemName</code>. */ public String getSerialPort(String itemName); /** * Returns the value selector to the given <code>itemName</code>. * * @param itemName * the item for which to find a unit code. * * @return the corresponding value selector to the given * <code>itemName</code>. */ public RMEValueSelector getValueSelector(String itemName); }