Hardware/HDD/HDD.cs
changeset 195 0ee888c485d5
parent 176 c16fd81b520a
child 218 194186efdde9
     1.1 --- a/Hardware/HDD/HDD.cs	Tue Sep 21 10:33:28 2010 +0000
     1.2 +++ b/Hardware/HDD/HDD.cs	Tue Sep 21 20:32:36 2010 +0000
     1.3 @@ -36,7 +36,6 @@
     1.4  */
     1.5  
     1.6  using System;
     1.7 -using System.Collections.Generic;
     1.8  using System.Globalization;
     1.9  
    1.10  namespace OpenHardwareMonitor.Hardware.HDD {
    1.11 @@ -44,11 +43,11 @@
    1.12  
    1.13      private const int UPDATE_DIVIDER = 30; // update only every 30s
    1.14  
    1.15 -    private string name;
    1.16 -    private IntPtr handle;
    1.17 -    private int drive;
    1.18 -    private int attribute;    
    1.19 -    private Sensor temperature;
    1.20 +    private readonly string name;
    1.21 +    private readonly IntPtr handle;
    1.22 +    private readonly int drive;
    1.23 +    private readonly int attribute;    
    1.24 +    private readonly Sensor temperature;
    1.25      private int count;
    1.26      
    1.27