Class CustomLightSetupRequestPayload

java.lang.Object
application.presenter.event.model.automation.request.customlight.payload.CustomLightSetupRequestPayload
All Implemented Interfaces:
CustomLightSetupPayload

public class CustomLightSetupRequestPayload extends Object implements CustomLightSetupPayload
CustomLightRequestEvent event payload that represent the request for a custom light setup in a specific operating room.
  • Field Details

    • CUSTOM_LIGHT_SETUP_REQUEST_EVENT_KEY

      public static final String CUSTOM_LIGHT_SETUP_REQUEST_EVENT_KEY
      Custom Light Setup request event key.
      See Also:
  • Constructor Details

    • CustomLightSetupRequestPayload

      public CustomLightSetupRequestPayload(String roomId, int ambientLightLux, int surgicalLightLux)
      Default constructor.
      Parameters:
      roomId - the room id.
      ambientLightLux - the ambient light lux setup requested.
      surgicalLightLux - the surgical light lux setup requested.
  • Method Details

    • getRoomId

      public String getRoomId()
      Get the room id involved in the event.
      Returns:
      the room id.
    • getAmbientLightLux

      public int getAmbientLightLux()
      Get the ambient light lux setup requested in the event.
      Returns:
      the ambient light lux setup.
    • getSurgicalLightLux

      public int getSurgicalLightLux()
      Get the surgical light lux setup requested in the event.
      Returns:
      the surgical light lux setup.