using CommonHelpers; namespace FanControl { internal sealed class Settings : BaseSettings { public static readonly Settings Default = new Settings(); public Settings() : base("Settings") { TouchSettings = true; } public FanMode FanMode { get { return Get("FanMode", CommonHelpers.FanMode.Default); } set { Set("FanMode", value); } } public bool AlwaysOnTop { get { return Get("AlwaysOnTop", true); } set { Set("AlwaysOnTop", value); } } public int Silent4000RPMThreshold { get { return Get("Silent4000RPMThreshold", 85); } set { Set("Silent4000RPMThreshold", Math.Min(Math.Max(80, value), 90)); } } public bool EnableExperimentalFeatures { get { return Instance.IsDEBUG; } } } }