diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-05-16 18:22:47 +0300 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-05-16 18:22:47 +0300 |
| commit | b9ff3e2b899b22090b5d206c1f95189aa7fd7ecb (patch) | |
| tree | 2e2851d21fbf8304ff2ada7e3089c342547dd95d /Software/Visual_Studio/Tango.Settings/OLD/MachineStudioSettings/MachineStudio.cs | |
| parent | 62600b93f932aa2751d6f0c00f4699a7eb2d7c7b (diff) | |
| download | Tango-b9ff3e2b899b22090b5d206c1f95189aa7fd7ecb.tar.gz Tango-b9ff3e2b899b22090b5d206c1f95189aa7fd7ecb.zip | |
New Settings Library.
Diffstat (limited to 'Software/Visual_Studio/Tango.Settings/OLD/MachineStudioSettings/MachineStudio.cs')
| -rw-r--r-- | Software/Visual_Studio/Tango.Settings/OLD/MachineStudioSettings/MachineStudio.cs | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.Settings/OLD/MachineStudioSettings/MachineStudio.cs b/Software/Visual_Studio/Tango.Settings/OLD/MachineStudioSettings/MachineStudio.cs new file mode 100644 index 000000000..6895f30a1 --- /dev/null +++ b/Software/Visual_Studio/Tango.Settings/OLD/MachineStudioSettings/MachineStudio.cs @@ -0,0 +1,85 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Tango.Core.Cryptography; +using Tango.Logging; + +namespace Tango.Settings.MachineStudioSettings +{ + /// <summary> + /// Represents the machine studio settings. + /// </summary> + public class MachineStudio + { + /// <summary> + /// Gets or sets the last login email. + /// </summary> + public String LastLoginEmail { get; set; } + + /// <summary> + /// Gets or sets the last login password. + /// </summary> + public String LastLoginPassword { get; set; } + + /// <summary> + /// Gets or sets a value indicating whether to save the user credentials. + /// </summary> + public bool RememberMe { get; set; } + + /// <summary> + /// Gets or sets the last virtual machine serial number. + /// </summary> + public String LastVirtualMachineSerialNumber { get; set; } + + /// <summary> + /// Gets or sets the update service address. + /// </summary> + public String UpdateServiceAddress { get; set; } + + /// <summary> + /// Gets or sets the logging categories. + /// </summary> + public List<LogCategory> LoggingCategories { get; set; } + + /// <summary> + /// Gets or sets the synchronization module settings. + /// </summary> + public SynchronizationModule SynchronizationModule { get; set; } + + /// <summary> + /// Gets or sets the stubs module settings. + /// </summary> + public StubsModule StubsModule { get; set; } + + /// <summary> + /// Gets or sets the technician module settings. + /// </summary> + public TechnicianModule TechnicianModule { get; set; } + + /// <summary> + /// Gets or sets the developer module settings. + /// </summary> + public DeveloperModule DeveloperModule { get; set; } + + /// <summary> + /// Initializes a new instance of the <see cref="MachineStudio"/> class. + /// </summary> + public MachineStudio() + { + LoggingCategories = new List<LogCategory>(); + + //LoggingCategories.Add(LogCategory.Critical); + //LoggingCategories.Add(LogCategory.Error); + //LoggingCategories.Add(LogCategory.General); + //LoggingCategories.Add(LogCategory.Warning); + + SynchronizationModule = new SynchronizationModule(); + StubsModule = new StubsModule(); + TechnicianModule = new TechnicianModule(); + DeveloperModule = new DeveloperModule(); + UpdateServiceAddress = "http://twine01/MachineStudioUpdateService/MachineStudioUpdateService.svc"; + } + } +} |
