Class MonitoringConfig
- java.lang.Object
-
- com.inhousegreenhouse.ch.backend.orchestrator.MonitoringConfig
-
public final class MonitoringConfig extends java.lang.Object
The sensor monitoring configuration.
-
-
Constructor Summary
Constructors Constructor Description MonitoringConfig(long timeBetweenChecks, Greenhouse greenhouse)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Greenhouse
getGreenhouse()
Getter for the greenhouse to monitor.long
getTimeBetweenChecks()
Getter for the time between sensor readings.
-
-
-
Constructor Detail
-
MonitoringConfig
public MonitoringConfig(long timeBetweenChecks, Greenhouse greenhouse)
Constructor.- Parameters:
timeBetweenChecks
- the amount of time to wait between sensor readingsgreenhouse
- the greenhouse to monitor
-
-
Method Detail
-
getTimeBetweenChecks
public long getTimeBetweenChecks()
Getter for the time between sensor readings.- Returns:
- the time between sensor readings
-
getGreenhouse
public Greenhouse getGreenhouse()
Getter for the greenhouse to monitor.- Returns:
- the greenhouse to monitor
-
-