1.1 --- a/Hardware/ATI/ATIGPU.cs Sat Apr 23 14:18:02 2011 +0000
1.2 +++ b/Hardware/ATI/ATIGPU.cs Sat Apr 30 16:03:58 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 @@ -41,7 +41,6 @@
1.13 namespace OpenHardwareMonitor.Hardware.ATI {
1.14 internal sealed class ATIGPU : Hardware {
1.15
1.16 - private readonly string name;
1.17 private readonly int adapterIndex;
1.18 private readonly int busNumber;
1.19 private readonly int deviceNumber;
1.20 @@ -59,8 +58,9 @@
1.21
1.22 public ATIGPU(string name, int adapterIndex, int busNumber,
1.23 int deviceNumber, ISettings settings)
1.24 + : base(name, new Identifier("atigpu",
1.25 + adapterIndex.ToString(CultureInfo.InvariantCulture)), settings)
1.26 {
1.27 - this.name = name;
1.28 this.adapterIndex = adapterIndex;
1.29 this.busNumber = busNumber;
1.30 this.deviceNumber = deviceNumber;
1.31 @@ -133,16 +133,6 @@
1.32
1.33 public int DeviceNumber { get { return deviceNumber; } }
1.34
1.35 - public override string Name {
1.36 - get { return name; }
1.37 - }
1.38 -
1.39 - public override Identifier Identifier {
1.40 - get {
1.41 - return new Identifier("atigpu",
1.42 - adapterIndex.ToString(CultureInfo.InvariantCulture));
1.43 - }
1.44 - }
1.45
1.46 public override HardwareType HardwareType {
1.47 get { return HardwareType.GpuAti; }