Power Mode control

This commit is contained in:
Serge
2023-08-12 16:04:39 +02:00
parent b15109d13e
commit 3075e22e1e
10 changed files with 229 additions and 119 deletions

View File

@@ -154,6 +154,11 @@ public static class AppConfig
Write();
}
public static void RemoveMode(string name)
{
Remove(name + "_" + Modes.GetCurrent());
}
public static string GgetParamName(AsusFan device, string paramName = "fan_profile")
{
int mode = Modes.GetCurrent();