Class SensorRepository

  • All Implemented Interfaces:
    IRepository

    public class SensorRepository
    extends java.lang.Object
    implements IRepository
    Sensor repository that manage all the sensors.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      SensorList getGreenhouseSensors()
      Get the loaded sensor list
      void load()
      Load all the sensors from the database
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SensorRepository

        public SensorRepository​(Greenhouse greenhouse,
                                ADC adc,
                                java.lang.String proxyUrl)
    • Method Detail

      • getGreenhouseSensors

        public SensorList getGreenhouseSensors()
        Get the loaded sensor list
        Returns:
        SensorList object containing all the sensors