Class CustomLightSetupRequestPayload
java.lang.Object
application.presenter.event.model.automation.request.customlight.payload.CustomLightSetupRequestPayload
- All Implemented Interfaces:
CustomLightSetupPayload
CustomLightRequestEvent
event payload
that represent the request for a custom light setup in a specific operating room.-
Field Summary
-
Constructor Summary
ConstructorDescriptionCustomLightSetupRequestPayload
(String roomId, int ambientLightLux, int surgicalLightLux) Default constructor. -
Method Summary
Modifier and TypeMethodDescriptionint
Get the ambient light lux setup requested in the event.Get the room id involved in the event.int
Get the surgical light lux setup requested in the event.
-
Field Details
-
CUSTOM_LIGHT_SETUP_REQUEST_EVENT_KEY
Custom Light Setup request event key.- See Also:
-
-
Constructor Details
-
CustomLightSetupRequestPayload
Default constructor.- Parameters:
roomId
- the room id.ambientLightLux
- the ambient light lux setup requested.surgicalLightLux
- the surgical light lux setup requested.
-
-
Method Details
-
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.
-