Silent Fan profile added (v3.0)

This commit is contained in:
Adravil 2023-09-05 22:46:18 +03:00
parent 70d2dcd61e
commit 2543c05637
3 changed files with 13 additions and 12 deletions

View file

@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.InteropServices;
namespace CommonHelpers
{

View file

@ -71,10 +71,10 @@ namespace FanControl
FanMode.Silent, new FanSensor.Profile()
{
Type = FanSensor.Profile.ProfileType.Exponential,
MinInput = 55,
MaxInput = 93,
MinInput = 40,
MaxInput = 95,
A = 1.28f,
B = 60f,
B = Settings.Default.Silent4000RPMThreshold - 28,
C = 3000f
}
},
@ -107,10 +107,10 @@ namespace FanControl
FanMode.Silent, new FanSensor.Profile()
{
Type = FanSensor.Profile.ProfileType.Exponential,
MinInput = 55,
MaxInput = 93,
MinInput = 40,
MaxInput = 95,
A = 1.28f,
B = 60f,
B = Settings.Default.Silent4000RPMThreshold - 28,
C = 3000f
}
},

View file

@ -23,6 +23,12 @@ namespace FanControl
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; }