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 Details

    • Sensor

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