mirror of
https://github.com/openhardwaremonitor/openhardwaremonitor
synced 2025-09-01 06:45:12 +00:00
Added a RAM hardware and sensor, fixed Issue 115.
This commit is contained in:
@@ -54,6 +54,7 @@ namespace OpenHardwareMonitor.GUI {
|
||||
|
||||
private UserOption readMainboardSensors;
|
||||
private UserOption readCpuSensors;
|
||||
private UserOption readRamSensors;
|
||||
private UserOption readGpuSensors;
|
||||
private UserOption readFanControllersSensors;
|
||||
private UserOption readHddSensors;
|
||||
@@ -226,6 +227,12 @@ namespace OpenHardwareMonitor.GUI {
|
||||
computer.CPUEnabled = readCpuSensors.Value;
|
||||
};
|
||||
|
||||
readRamSensors = new UserOption("ramMenuItem", true,
|
||||
ramMenuItem, settings);
|
||||
readRamSensors.Changed += delegate(object sender, EventArgs e) {
|
||||
computer.RAMEnabled = readRamSensors.Value;
|
||||
};
|
||||
|
||||
readGpuSensors = new UserOption("gpuMenuItem", true,
|
||||
gpuMenuItem, settings);
|
||||
readGpuSensors.Changed += delegate(object sender, EventArgs e) {
|
||||
|
Reference in New Issue
Block a user