Package org.opencean.core.common

Examples of org.opencean.core.common.ParameterAddress


    @Override
    protected void internalReceiveCommand(String itemName, Command command) {
        for (EnoceanBindingProvider provider : providers) {
            logger.debug("Checking provider with names {}", provider.getItemNames());
            ParameterAddress parameterAddress = provider.getParameterAddress(itemName);
            State actualState = provider.getItem(itemName).getState();
            String parameterKey = parameterAddress.getParameterId();
            CommandConverter<?, ?> commandConverter = converterFactory.getCommandConverter(parameterKey, command);
            if (commandConverter == null) {
                logger.debug("No command converter found for {}. No command will be executed.", parameterAddress);
                return;
            }
View Full Code Here


    @Override
    protected void internalReceiveUpdate(String itemName, State newState) {
        for (EnoceanBindingProvider provider : providers) {
            logger.debug("Checking provider with names {}", provider.getItemNames());
            ParameterAddress parameterAddress = provider.getParameterAddress(itemName);
            setStateOnDevice(newState, parameterAddress);
        }
    }
View Full Code Here

TOP

Related Classes of org.opencean.core.common.ParameterAddress

Copyright © 2018 www.massapicom. 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.