Package com.digitaldan.jomnilinkII.MessageTypes.properties

Examples of com.digitaldan.jomnilinkII.MessageTypes.properties.ThermostatProperties


            case THERMO_FAN_MODE:
            case THERMO_HEAT_POINT:
            case THERMO_HOLD_MODE:
            case THERMO_SYSTEM_MODE:
            case THERMO_TEMP: {
              ThermostatProperties p = readThermoProperties(
                  config.getNumber());
              Thermostat thermo = thermostatMap.get(number);
              if (thermo == null) {
                thermo = new Thermostat(p, celius);
                thermostatMap.put(number, thermo);
View Full Code Here


    int objnum = 0;
    Message m;

    while ((m = c.reqObjectProperties(Message.OBJ_TYPE_THERMO, objnum, 1, ObjectProperties.FILTER_1_NAMED,
        ObjectProperties.FILTER_2_AREA_ALL, ObjectProperties.FILTER_3_ANY_LOAD)).getMessageType() == Message.MESG_TYPE_OBJ_PROP) {
      ThermostatProperties o = ((ThermostatProperties) m);
      objnum = o.getNumber();
      String objName = cleanString(o.getName());
      String group = addUniqueGroup(groupName + "_" + objName);

      groups.append(String.format(groupString,group,o.getName(),"OmniThermostat"));

      thermos.add(new SiteItem(group, o.getName(), o.getName()));

      items.append(String.format(itemString,"Number", group + "_Temp","Temperature [%d °F]",group,"thermo_temp",objnum));
      items.append(String.format(itemString,"Number", group + "_CoolPoint","Cool Point [%d°F]",group,"thermo_cool_point",objnum));
      items.append(String.format(itemString,"Number", group + "_HeatPoint","Heat Point [%d°F]",group,"thermo_heat_point",objnum));
      items.append(String.format(itemString,"Number", group + "_System","System Mode [%d]",group,"thermo_system_mode",objnum));
View Full Code Here

TOP

Related Classes of com.digitaldan.jomnilinkII.MessageTypes.properties.ThermostatProperties

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.