java.lang.Object
application.presenter.configuration.model.standby.StandbyMode
Direct Known Subclasses:
OperatingRoomStandbyMode, PrePostOperatingRoomStandbyMode

public class StandbyMode extends Object
Class that models the standby mode in the configuration.
  • Constructor Details

    • StandbyMode

      public StandbyMode()
      Default constructor.
    • StandbyMode

      public StandbyMode(StandbyMode other)
      Constructor to perform copy.
      Parameters:
      other - to copy.
  • Method Details

    • isEnabled

      public Boolean isEnabled()
      Enabled getter.
      Returns:
      true if enabled, false otherwise.
    • setEnabled

      public void setEnabled(Boolean enabled)
      Enable setter.
      Parameters:
      enabled - the status to enable or disable.
    • getMinutesToEnable

      public Integer getMinutesToEnable()
      Minutes to enable standby mode getter.
      Returns:
      the minutes.
    • setMinutesToEnable

      public void setMinutesToEnable(Integer minutesToEnable)
      Set the minutes of no activity to enable standby mode.
      Parameters:
      minutesToEnable - minutes of no activity to turn the standby mode on.