-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathCpuInitSettings.cs
49 lines (46 loc) · 1.51 KB
/
CpuInitSettings.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
namespace ZenStates.Core
{
public class CpuInitSettings
{
public const int DefaultAutorefreshIntervalMs = 1000;
public static readonly CpuInitSettings defaultSetttings = new CpuInitSettings();
public struct CpuInitModuleSettings
{
public bool? Enabled { get; set; }
public bool? Autorefresh { get; set; }
public int? AutorefreshInterval { get; set; }
}
public CpuInitModuleSettings IoModule { get; set; }
public CpuInitModuleSettings Timings { get; set; }
public CpuInitModuleSettings Aod { get; set; }
public CpuInitModuleSettings Wmi { get; set; }
public CpuInitModuleSettings Sensors { get; set; }
public CpuInitSettings()
{
IoModule = new CpuInitModuleSettings()
{
Enabled = true
};
Timings = new CpuInitModuleSettings()
{
Enabled = true,
Autorefresh = true,
AutorefreshInterval = DefaultAutorefreshIntervalMs
};
Aod = new CpuInitModuleSettings()
{
Enabled = true
};
Wmi = new CpuInitModuleSettings()
{
Enabled = true
};
Sensors = new CpuInitModuleSettings()
{
Enabled = true,
Autorefresh = true,
AutorefreshInterval = DefaultAutorefreshIntervalMs
};
}
}
}