public interface WeatherJudging
Sensors that implement only parts of this methods should ensure that
the non-implemented methods return always false. A default
implementation of this interface is the WeatherSensor, though it
does not provide any method bodies for the interfaces.
| Modifier and Type | Method and Description |
|---|---|
boolean |
currentlyClear()
Returns true if this weather judging instance reports good weather
conditions.
|
boolean |
currentlyRetarding()
Returns true, if this sensor is currently in a retarding phase.
|
long |
getMinClearUpTime()
Estimates the minimum time until this sensor will report clear again.
|
boolean currentlyClear()
boolean currentlyRetarding()
currentlyClear(), but also true on retarding. Definite good
weather is than achieved, if the sensor is good and not retarding.long getMinClearUpTime()
SolarHeightSensor might return an
accurate measurement.