Examples of DecimalType


Examples of org.openhab.core.library.types.DecimalType

  private void receivedNewDesiredTemperature(String deviceAddress, double temperature) {
    FHTBindingConfig config = getConfig(deviceAddress, Datapoint.DESIRED_TEMP);
    if (config != null) {
      logger.debug("Updating item " + config.getItem().getName() + " with new desired temperature " + temperature);
      DecimalType state = new DecimalType(temperature);
      eventPublisher.postUpdate(config.getItem().getName(), state);
    } else {
      logger.debug("Received new desired temperature for currently unknown device with address " + deviceAddress);
    }
  }
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.