public class ProbeSettings
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static double |
ERROR_VALUE
Default value provided in case of error when reading the probe value.
|
static int |
MIN_MEASURE_DELAY
Minimum value (in seconds) allowed for the delay between two measures.
|
static double |
MIN_MEASURE_DELTA
Minimum value (in °C) allowed for the delta (difference) between two measures.
|
Constructor and Description |
---|
ProbeSettings(int delay,
double delta,
boolean enabled)
Build a configuration for a ProbeModule module.
|
public static final double ERROR_VALUE
public static final double MIN_MEASURE_DELTA
public static final int MIN_MEASURE_DELAY
public ProbeSettings(int delay, double delta, boolean enabled)
delay
- Delay between two measures, in seconds. Minimum: ProbeModule.MIN_MEASURE_DELAYdelta
- Delta (difference in °C) expected between two measures. Minimum: ProbeModule.MIN_MEASURE_DELTAenabled
- If set to true, the temperature probe is enabled and the remote device takes measures.