diff options
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/PPCSettings.cs')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.Common/PPCSettings.cs | 20 |
1 files changed, 20 insertions, 0 deletions
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 @@ -322,6 +322,24 @@ namespace Tango.PPC.Common public int FineTuningTrialLengthMeters { get; set; } /// <summary> + /// Gets or sets a value indicating whether to enable the screen saver. + /// </summary> + public bool EnableScreenSaver { get; set; } + + private int _screenSaverStartDuration; + /// <summary> + /// Gets or sets the start duration of the screen saver. + /// </summary> + public int ScreenSaverStartDuration + { + get { return _screenSaverStartDuration; } + set + { + _screenSaverStartDuration = Math.Max(value, 1); + } + } + + /// <summary> /// Gets the machine service address. /// </summary> /// <returns></returns> @@ -384,6 +402,8 @@ namespace Tango.PPC.Common EnableProxifier = true; UseJobsModuleV2 = true; DefaultTabColorSpace = ColorSpaces.CMYK; + ScreenSaverStartDuration = 5; + EnableScreenSaver = true; } } } |
