Class MonitoringConfig


  • public final class MonitoringConfig
    extends java.lang.Object
    The sensor monitoring configuration.
    • Constructor Summary

      Constructors 
      Constructor Description
      MonitoringConfig​(long timeBetweenChecks, Greenhouse greenhouse)
      Constructor.
    • Constructor Detail

      • MonitoringConfig

        public MonitoringConfig​(long timeBetweenChecks,
                                Greenhouse greenhouse)
        Constructor.
        Parameters:
        timeBetweenChecks - the amount of time to wait between sensor readings
        greenhouse - 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