using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using Tango.Logging; using Tango.Settings; namespace Tango.MachineStudio.Common { public class MachineStudioSettings : SettingsBase { public class StudioModuleBounds { public String Name { get; set; } public Rect Bounds { get; set; } public WindowState State { get; set; } } /// /// 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 allow beta release. /// public bool AcceptBetaRelease { get; set; } /// /// Gets or sets the logging categories. /// public List LoggingCategories { get; set; } /// /// Gets or sets the last bounds. /// public Rect LastBounds { get; set; } /// /// Gets or sets the default issue report assign to. /// public String DefaultIssueReportAssignTo { get; set; } /// /// Gets or sets the default issue report area. /// public String DefaultIssueReportArea { get; set; } /// /// Gets or sets the default issue report tags. /// public List DefaultIssueReportTags { get; set; } /// /// Gets or sets a value indicating whether add external bridge client emulator when scanning for connected machines. /// public bool UseExternalBridgeEmulator { get; set; } /// /// Gets or sets the last bounds of modules open windows. /// public List StudioModulesBounds { get; set; } /// /// Gets or sets the last module that was opened in the main window. /// public String LastMainModuleName { get; set; } /// /// Initializes a new instance of the class. /// public MachineStudioSettings() { LastBounds = new Rect(); LoggingCategories = new List(); UpdateServiceAddress = "http://twine01/MachineStudioUpdateService/MachineStudioUpdateService.svc"; DefaultIssueReportTags = new List(); StudioModulesBounds = new List(); } } }