Class WhereThermo


  • public class WhereThermo
    extends Where
    WHERE for Thermoregulation frames

    == Where Table: === Probes - 0 : all master probes - Z : zone Z [1-99] master probe - 0ZZ : zone ZZ [01-99] all probes (master and slave) - pZZ : zone ZZ [01-99] slave probe p[1-8] - p00 : external zone 00 slave probe p[1-9]

    === Actuators (thermostats) - #0 : central unit - #Z : zone Z [1-99] via central unit - 0#0 : all zones, all actuators - Z#0 : zone Z [1-99], all actuators - Z#N : zone Z [1-99], actuator N [1-9]

    Author:
    M. Valla - Initial contribution
    • Field Detail

      • ALL_MASTER_PROBES

        public static final Where ALL_MASTER_PROBES
    • Method Detail

      • getZone

        public int getZone()
        Returns the Zone for this WHERE
        Returns:
        int Zone (0-99) for this WHERE
      • getProbe

        public int getProbe()
        Returns the probe for this WHERE, 0 for all probes, or -1 if no probe is present
        Returns:
        int probe for this WHERE
      • getActuator

        public int getActuator()
        Returns the actuator (1-9) for this WHERE, 0 for all actuators, or -1 if no actuator is present
        Returns:
        int actuator for this WHERE
      • isStandalone

        public boolean isStandalone()
        Returns true if WHERE is a standalone configuration
        Returns:
        true if standalone configuration
      • isCentralUnit

        public boolean isCentralUnit()
        Returns true if WHERE is Central Unit (where=#0)
        Returns:
        true if Central Unit
      • isProbe

        public boolean isProbe()
        Returns true if WHERE is a probe address (where=pZZ)
        Returns:
        true if probe address