Hardware/Sensor.cs
changeset 151 76e18684713d
parent 134 8b3b9b2e28e5
child 159 eda3e3458cf4
     1.1 --- a/Hardware/Sensor.cs	Sun Jul 04 12:12:37 2010 +0000
     1.2 +++ b/Hardware/Sensor.cs	Sun Jul 04 12:49:16 2010 +0000
     1.3 @@ -163,6 +163,14 @@
     1.4      public float? Min { get { return min; } }
     1.5      public float? Max { get { return max; } }
     1.6  
     1.7 +    public void ResetMin() {
     1.8 +      min = null;
     1.9 +    }
    1.10 +
    1.11 +    public void ResetMax() {
    1.12 +      max = null;
    1.13 +    }
    1.14 +
    1.15      public IEnumerable<ISensorEntry> Plot {
    1.16        get { return entries; }
    1.17      }