Class Sensor


  • public class Sensor
    extends BoilerComponent
    The Sensor models a sensor component in the boiler that measures and collects the data of the water temperature.
    • Constructor Summary

      Constructors 
      Constructor Description
      Sensor​(java.lang.String name)
      Constructs a Sensor with a given name.
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • Sensor

        public Sensor​(java.lang.String name)
        Constructs a Sensor with a given name.
        Parameters:
        name - the name of the sensor