Hardware/Nvidia/NvidiaGPU.cs
changeset 109 70d0c3102424
parent 56 5cb7eb5bf628
child 110 411b72b73d8f
     1.1 --- a/Hardware/Nvidia/NvidiaGPU.cs	Tue May 04 17:32:41 2010 +0000
     1.2 +++ b/Hardware/Nvidia/NvidiaGPU.cs	Thu May 06 19:20:38 2010 +0000
     1.3 @@ -75,7 +75,7 @@
     1.4            default: name = "GPU"; break;
     1.5          }
     1.6          temperatures[i] = new Sensor(name, i, sensor.DefaultMaxTemp,
     1.7 -          SensorType.Temperature, this);
     1.8 +          SensorType.Temperature, this, new ParameterDescription[0]);
     1.9          ActivateSensor(temperatures[i]);
    1.10        }
    1.11  
    1.12 @@ -93,8 +93,8 @@
    1.13        get { return name; }
    1.14      }
    1.15  
    1.16 -    public string Identifier {
    1.17 -      get { return "/nvidiagpu/" + adapterIndex; }
    1.18 +    public Identifier Identifier {
    1.19 +      get { return new Identifier("nvidiagpu", adapterIndex.ToString()); }
    1.20      }
    1.21  
    1.22      public Image Icon {