Refactored some of the hardware monitoring code and fixed a few code inspection warnings.

This commit is contained in:
Michael Möller
2010-09-21 20:32:36 +00:00
parent dfb06376d6
commit bcde768e25
44 changed files with 437 additions and 472 deletions

View File

@@ -52,8 +52,8 @@ namespace OpenHardwareMonitor.Hardware {
}
public struct SensorValue {
private float value;
private DateTime time;
private readonly float value;
private readonly DateTime time;
public SensorValue(float value, DateTime time) {
this.value = value;