GUI/SensorNotifyIcon.cs
changeset 57 142907c75be4
parent 44 c150de283ca0
child 70 dc69dc4d7512
     1.1 --- a/GUI/SensorNotifyIcon.cs	Sat Feb 20 19:51:10 2010 +0000
     1.2 +++ b/GUI/SensorNotifyIcon.cs	Sun Feb 21 18:10:30 2010 +0000
     1.3 @@ -152,6 +152,8 @@
     1.4            return string.Format("{0:F0}", sensor.Value);
     1.5          case SensorType.Fan: 
     1.6            return string.Format("{0:F11}", 1e-3f * sensor.Value);
     1.7 +        case SensorType.Flow:
     1.8 +          return string.Format("{0:F11}", 1e-3f * sensor.Value);
     1.9        }
    1.10        return "-";
    1.11      }
    1.12 @@ -224,6 +226,7 @@
    1.13          case SensorType.Load: format = "{0}\n{1}: {2:F1} %"; break;
    1.14          case SensorType.Temperature: format = "{0}\n{1}: {2:F1} °C"; break;
    1.15          case SensorType.Fan: format = "{0}\n{1}: {2:F0} RPM"; break;
    1.16 +        case SensorType.Flow: format = "{0}\n{1}: {2:F0} L/h"; break;
    1.17        }
    1.18  
    1.19        notifyIcon.Text = string.Format(format, sensor.Hardware.Name, sensor.Name,