Class StandbyMode
java.lang.Object
application.presenter.configuration.model.standby.StandbyMode
- Direct Known Subclasses:
OperatingRoomStandbyMode
,PrePostOperatingRoomStandbyMode
Class that models the standby mode in the configuration.
-
Constructor Summary
ConstructorDescriptionDefault constructor.StandbyMode
(StandbyMode other) Constructor to perform copy. -
Method Summary
Modifier and TypeMethodDescriptionMinutes to enable standby mode getter.Enabled getter.void
setEnabled
(Boolean enabled) Enable setter.void
setMinutesToEnable
(Integer minutesToEnable) Set the minutes of no activity to enable standby mode.
-
Constructor Details
-
StandbyMode
public StandbyMode()Default constructor. -
StandbyMode
Constructor to perform copy.- Parameters:
other
- to copy.
-
-
Method Details
-
isEnabled
Enabled getter.- Returns:
- true if enabled, false otherwise.
-
setEnabled
Enable setter.- Parameters:
enabled
- the status to enable or disable.
-
getMinutesToEnable
Minutes to enable standby mode getter.- Returns:
- the minutes.
-
setMinutesToEnable
Set the minutes of no activity to enable standby mode.- Parameters:
minutesToEnable
- minutes of no activity to turn the standby mode on.
-