Package org.openwebnet4j.message
Class WhereThermo
- java.lang.Object
-
- org.openwebnet4j.message.Where
-
- org.openwebnet4j.message.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 Summary
Fields Modifier and Type Field Description static Where
ALL_MASTER_PROBES
-
Constructor Summary
Constructors Constructor Description WhereThermo(String w)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getActuator()
Returns the actuator (1-9) for this WHERE, 0 for all actuators, or -1 if no actuator is presentint
getProbe()
Returns the probe for this WHERE, 0 for all probes, or -1 if no probe is presentint
getZone()
Returns the Zone for this WHEREboolean
isCentralUnit()
Returns true if WHERE is Central Unit (where=#0
)boolean
isProbe()
Returns true if WHERE is a probe address (where=pZZ
)boolean
isStandalone()
Returns true if WHERE is a standalone configuration
-
-
-
Field Detail
-
ALL_MASTER_PROBES
public static final Where ALL_MASTER_PROBES
-
-
Constructor Detail
-
WhereThermo
public WhereThermo(String w) throws NullPointerException, IllegalArgumentException
-
-
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
-
-