Class TemperaturePayload

java.lang.Object
application.presenter.event.model.roomevent.payload.TemperaturePayload
All Implemented Interfaces:
RoomEventPayload

public class TemperaturePayload extends Object implements RoomEventPayload
Temperature payload for RoomEvent.
  • Field Details

  • Constructor Details

    • TemperaturePayload

      public TemperaturePayload(double temperatureValue, String temperatureUnit)
      Default constructor.
      Parameters:
      temperatureValue - the temperature value.
      temperatureUnit - the temperature unit.
  • Method Details

    • getTemperatureValue

      public double getTemperatureValue()
      Get the temperature value.
      Returns:
      the temperature value.
    • getTemperatureUnit

      public String getTemperatureUnit()
      Get the temperature unit.
      Returns:
      the temperature unit.