Hardware/Nvidia/NvidiaGPU.cs
changeset 110 411b72b73d8f
parent 109 70d0c3102424
child 134 8b3b9b2e28e5
     1.1 --- a/Hardware/Nvidia/NvidiaGPU.cs	Thu May 06 19:20:38 2010 +0000
     1.2 +++ b/Hardware/Nvidia/NvidiaGPU.cs	Sun May 09 16:22:13 2010 +0000
     1.3 @@ -89,22 +89,18 @@
     1.4        }
     1.5      }
     1.6  
     1.7 -    public string Name {
     1.8 +    public override string Name {
     1.9        get { return name; }
    1.10      }
    1.11  
    1.12 -    public Identifier Identifier {
    1.13 +    public override Identifier Identifier {
    1.14        get { return new Identifier("nvidiagpu", adapterIndex.ToString()); }
    1.15      }
    1.16  
    1.17 -    public Image Icon {
    1.18 +    public override Image Icon {
    1.19        get { return icon; }
    1.20      }
    1.21  
    1.22 -    public string GetReport() {
    1.23 -      return null;
    1.24 -    }
    1.25 -
    1.26      private NvGPUThermalSettings GetThermalSettings() {
    1.27        NvGPUThermalSettings settings = new NvGPUThermalSettings();
    1.28        settings.Version = NVAPI.GPU_THERMAL_SETTINGS_VER;
    1.29 @@ -117,7 +113,7 @@
    1.30        return settings;
    1.31      }
    1.32  
    1.33 -    public void Update() {
    1.34 +    public override void Update() {
    1.35        NvGPUThermalSettings settings = GetThermalSettings();
    1.36        foreach (Sensor sensor in temperatures) 
    1.37          sensor.Value = settings.Sensor[sensor.Index].CurrentTemp;