Added support for sensor parameters. Fixed Core and Thread count detection for Intel Core i7 CPUs with disabled HyperThreading.

This commit is contained in:
Michael Möller
2010-02-27 15:55:17 +00:00
parent f7d8eb1d48
commit f208712a0d
23 changed files with 995 additions and 110 deletions

View File

@@ -37,6 +37,7 @@
using System;
using System.Collections.Generic;
using OpenHardwareMonitor.Utilities;
namespace OpenHardwareMonitor.Hardware {
@@ -55,15 +56,21 @@ namespace OpenHardwareMonitor.Hardware {
}
public interface ISensor {
IHardware Hardware { get; }
SensorType SensorType { get; }
string Identifier { get; }
string Name { get; set; }
int Index { get; }
IReadOnlyArray<IParameter> Parameters { get; }
float? Value { get; }
float? Min { get; }
float? Max { get; }
float? Limit { get; set; }
IEnumerable<ISensorEntry> Plot { get; }
}