aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Common
diff options
context:
space:
mode:
authorRoy <Roy.mail.net@gmail.com>2022-10-23 21:04:22 +0300
committerRoy <Roy.mail.net@gmail.com>2022-10-23 21:04:22 +0300
commit5aadd4125244d13dfdffbc27e453eb81cbbf0b57 (patch)
tree77aeae6042af573a7590785bad146b8f3314bc08 /Software/Visual_Studio/PPC/Tango.PPC.Common
parent00859f5f1ee871007120d4fa9dc534fb67be242c (diff)
downloadTango-5aadd4125244d13dfdffbc27e453eb81cbbf0b57.tar.gz
Tango-5aadd4125244d13dfdffbc27e453eb81cbbf0b57.zip
PPC Screen Saver.
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.Common/PPCSettings.cs20
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;
}
}
}