Added a new sensor type "Level" for wear or charge level (or any other percentage based sensors that don't fit into Load or Control).

This commit is contained in:
Michael Möller
2010-10-07 19:34:36 +00:00
parent 3e10baea63
commit d9ae399ad2
8 changed files with 31 additions and 8 deletions
+2 -1
View File
@@ -429,7 +429,8 @@ namespace OpenHardwareMonitor.GUI {
if ((sensor.SensorType != SensorType.Load &&
sensor.SensorType != SensorType.Control) || !sensor.Value.HasValue)
sensor.SensorType != SensorType.Control &&
sensor.SensorType != SensorType.Level) || !sensor.Value.HasValue)
{
string formatted;