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 { /// /// Represents the machine studio settings. /// public class MachineStudio { /// /// 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; } /// /// Gets or sets the synchronization module settings. /// public SynchronizationModule SynchronizationModule { get; set; } /// /// Gets or sets the stubs module settings. /// public StubsModule StubsModule { get; set; } /// /// Gets or sets the technician module settings. /// public TechnicianModule TechnicianModule { get; set; } /// /// Gets or sets the developer module settings. /// public DeveloperModule DeveloperModule { get; set; } /// /// Initializes a new instance of the class. /// public MachineStudio() { LoggingCategories = new List(); //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"; } } }