Hardware/TBalancer/TBalancer.cs
changeset 109 70d0c3102424
parent 88 bce8363c119c
child 110 411b72b73d8f
     1.1 --- a/Hardware/TBalancer/TBalancer.cs	Tue May 04 17:32:41 2010 +0000
     1.2 +++ b/Hardware/TBalancer/TBalancer.cs	Thu May 06 19:20:38 2010 +0000
     1.3 @@ -153,7 +153,7 @@
     1.4          if (miniNGFans[number * 2 + i] == null)
     1.5            miniNGFans[number * 2 + i] = 
     1.6              new Sensor("miniNG #" + (number + 1) + " Fan Channel " + (i + 1),
     1.7 -            4 + number * 2 + i, maxRPM, SensorType.Fan, this);
     1.8 +            4 + number * 2 + i, maxRPM, SensorType.Fan, this, null);
     1.9          
    1.10          Sensor sensor = miniNGFans[number * 2 + i];
    1.11  
    1.12 @@ -251,8 +251,8 @@
    1.13        get { return "T-Balancer bigNG"; }
    1.14      }
    1.15  
    1.16 -    public string Identifier {
    1.17 -      get { return "/bigng/" + this.portIndex; }
    1.18 +    public Identifier Identifier {
    1.19 +      get { return new Identifier("bigng", this.portIndex.ToString()); }
    1.20      }
    1.21  
    1.22      public IHardware[] SubHardware {