Fixed the power sensor display in the desktop gadget.
authormoel.mich
Thu, 28 Jul 2011 21:51:02 +0000
changeset 318bba78bc5b760
parent 317 1ccf99e620a9
child 319 35cda448fc5f
Fixed the power sensor display in the desktop gadget.
GUI/SensorGadget.cs
     1.1 --- a/GUI/SensorGadget.cs	Wed Jul 27 18:27:16 2011 +0000
     1.2 +++ b/GUI/SensorGadget.cs	Thu Jul 28 21:51:02 2011 +0000
     1.3 @@ -515,6 +515,9 @@
     1.4                  case SensorType.Flow:
     1.5                    format = "{0:F0} L/h";
     1.6                    break;
     1.7 +                case SensorType.Power:
     1.8 +                  format = "{0:F1} W";
     1.9 +                  break;
    1.10                }
    1.11  
    1.12                if (sensor.SensorType == SensorType.Temperature &&