Hardware/ATI/ATIGPU.cs
changeset 195 0ee888c485d5
parent 182 4801e9eaf979
child 247 6dc755f1970e
     1.1 --- a/Hardware/ATI/ATIGPU.cs	Tue Sep 21 10:33:28 2010 +0000
     1.2 +++ b/Hardware/ATI/ATIGPU.cs	Tue Sep 21 20:32:36 2010 +0000
     1.3 @@ -41,17 +41,17 @@
     1.4  namespace OpenHardwareMonitor.Hardware.ATI {
     1.5    internal sealed class ATIGPU : Hardware {
     1.6  
     1.7 -    private string name;
     1.8 -    private int adapterIndex;
     1.9 -    private int busNumber;
    1.10 -    private int deviceNumber;
    1.11 -    private Sensor temperature;
    1.12 -    private Sensor fan;
    1.13 -    private Sensor coreClock;
    1.14 -    private Sensor memoryClock;
    1.15 -    private Sensor coreVoltage;
    1.16 -    private Sensor coreLoad;
    1.17 -    private Sensor fanControl;
    1.18 +    private readonly string name;
    1.19 +    private readonly int adapterIndex;
    1.20 +    private readonly int busNumber;
    1.21 +    private readonly int deviceNumber;
    1.22 +    private readonly Sensor temperature;
    1.23 +    private readonly Sensor fan;
    1.24 +    private readonly Sensor coreClock;
    1.25 +    private readonly Sensor memoryClock;
    1.26 +    private readonly Sensor coreVoltage;
    1.27 +    private readonly Sensor coreLoad;
    1.28 +    private readonly Sensor fanControl;
    1.29  
    1.30      public ATIGPU(string name, int adapterIndex, int busNumber, 
    1.31        int deviceNumber, ISettings settings)