1.0.6
This commit is contained in:
@@ -16,6 +16,10 @@ public class UIConfiguration: ISettings
|
||||
|
||||
public bool ProtectSettingsWithPassword { get; set; }=false;
|
||||
|
||||
public bool ShowPauseButton { get; set; }=false;
|
||||
|
||||
public bool ShowTestModeButton { get; set; } = false;
|
||||
|
||||
public List<ErrorShortName> ErrorShortNames { get; set; } = new List<ErrorShortName>();
|
||||
|
||||
public void RegisterSettings(InspectronSettings settings)
|
||||
@@ -24,6 +28,8 @@ public class UIConfiguration: ISettings
|
||||
settings.RegisterSimple(this, () => this.AdminPassword, "System", "Password");
|
||||
settings.RegisterSimple(this, () => this.ProtectSettingsWithPassword, "System", nameof(ProtectSettingsWithPassword));
|
||||
settings.RegisterSimple(this, () => this.ErrorShortNames, "Errors", "Error short names");
|
||||
settings.RegisterSimple(this, () => this.ShowPauseButton, "System", nameof(ShowPauseButton));
|
||||
settings.RegisterSimple(this, () => this.ShowTestModeButton, "System", nameof(ShowTestModeButton));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user