From b9ff3e2b899b22090b5d206c1f95189aa7fd7ecb Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Wed, 16 May 2018 18:22:47 +0300 Subject: New Settings Library. --- .../MachineStudioSettings.cs | 52 ++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/MachineStudioSettings.cs (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/MachineStudioSettings.cs') diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/MachineStudioSettings.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/MachineStudioSettings.cs new file mode 100644 index 000000000..b12d9a580 --- /dev/null +++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/MachineStudioSettings.cs @@ -0,0 +1,52 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Tango.Logging; +using Tango.Settings; + +namespace Tango.MachineStudio.Common +{ + public class MachineStudioSettings : SettingsBase + { + /// + /// Gets or sets the last login email. + /// + public String LastLoginEmail { get; set; } + + /// + /// Gets or sets the last login password. + /// + public String LastLoginPassword { get; set; } + + /// + /// Gets or sets a value indicating whether to save the user credentials. + /// + public bool RememberMe { get; set; } + + /// + /// Gets or sets the last virtual machine serial number. + /// + public String LastVirtualMachineSerialNumber { get; set; } + + /// + /// Gets or sets the update service address. + /// + public String UpdateServiceAddress { get; set; } + + /// + /// Gets or sets the logging categories. + /// + public List LoggingCategories { get; set; } + + /// + /// Initializes a new instance of the class. + /// + public MachineStudioSettings() + { + LoggingCategories = new List(); + UpdateServiceAddress = "http://twine01/MachineStudioUpdateService/MachineStudioUpdateService.svc"; + } + } +} -- cgit v1.3.1