GUI/SensorNode.cs
changeset 317 1ccf99e620a9
parent 287 1f5cf5d533e6
child 324 c6ee430d6995
     1.1 --- a/GUI/SensorNode.cs	Mon Jul 25 21:09:21 2011 +0000
     1.2 +++ b/GUI/SensorNode.cs	Wed Jul 27 18:27:16 2011 +0000
     1.3 @@ -16,7 +16,7 @@
     1.4  
     1.5    The Initial Developer of the Original Code is 
     1.6    Michael Möller <m.moeller@gmx.ch>.
     1.7 -  Portions created by the Initial Developer are Copyright (C) 2009-2010
     1.8 +  Portions created by the Initial Developer are Copyright (C) 2009-2011
     1.9    the Initial Developer. All Rights Reserved.
    1.10  
    1.11    Contributor(s):
    1.12 @@ -75,6 +75,7 @@
    1.13          case SensorType.Flow: format = "{0:F0} L/h"; break;
    1.14          case SensorType.Control: format = "{0:F1} %"; break;
    1.15          case SensorType.Level: format = "{0:F1} %"; break;
    1.16 +        case SensorType.Power: format = "{0:F1} W"; break;
    1.17        }
    1.18  
    1.19        bool hidden = settings.GetValue(new Identifier(sensor.Identifier,