From 5aadd4125244d13dfdffbc27e453eb81cbbf0b57 Mon Sep 17 00:00:00 2001 From: Roy Date: Sun, 23 Oct 2022 21:04:22 +0300 Subject: PPC Screen Saver. --- .../PPC/Tango.PPC.Common/PPCSettings.cs | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/PPCSettings.cs') diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/PPCSettings.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/PPCSettings.cs index fce1ce046..ba7499cc1 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/PPCSettings.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/PPCSettings.cs @@ -321,6 +321,24 @@ namespace Tango.PPC.Common /// public int FineTuningTrialLengthMeters { get; set; } + /// + /// Gets or sets a value indicating whether to enable the screen saver. + /// + public bool EnableScreenSaver { get; set; } + + private int _screenSaverStartDuration; + /// + /// Gets or sets the start duration of the screen saver. + /// + public int ScreenSaverStartDuration + { + get { return _screenSaverStartDuration; } + set + { + _screenSaverStartDuration = Math.Max(value, 1); + } + } + /// /// Gets the machine service address. /// @@ -384,6 +402,8 @@ namespace Tango.PPC.Common EnableProxifier = true; UseJobsModuleV2 = true; DefaultTabColorSpace = ColorSpaces.CMYK; + ScreenSaverStartDuration = 5; + EnableScreenSaver = true; } } } -- cgit v1.3.1