GUI/SensorNotifyIcon.cs
changeset 324 c6ee430d6995
parent 317 1ccf99e620a9
child 340 600962f8a298
     1.1 --- a/GUI/SensorNotifyIcon.cs	Wed Aug 31 22:48:49 2011 +0000
     1.2 +++ b/GUI/SensorNotifyIcon.cs	Sat Dec 31 17:31:04 2011 +0000
     1.3 @@ -198,6 +198,8 @@
     1.4            return string.Format("{0:F0}", sensor.Value);
     1.5          case SensorType.Power:
     1.6            return string.Format("{0:F0}", sensor.Value);
     1.7 +        case SensorType.Data:
     1.8 +          return string.Format("{0:F0}", sensor.Value);
     1.9        }
    1.10        return "-";
    1.11      }
    1.12 @@ -286,6 +288,7 @@
    1.13          case SensorType.Control: format = "\n{0}: {1:F1} %"; break;
    1.14          case SensorType.Level: format = "\n{0}: {1:F1} %"; break;
    1.15          case SensorType.Power: format = "\n{0}: {1:F0} W"; break;
    1.16 +        case SensorType.Data: format = "\n{0}: {1:F0} GB"; break;
    1.17        }
    1.18        string formattedValue = string.Format(format, sensor.Name, sensor.Value);
    1.19        string hardwareName = sensor.Hardware.Name;