mirror of
https://github.com/openhardwaremonitor/openhardwaremonitor
synced 2025-08-31 22:35:11 +00:00
Added support for sensor parameters. Fixed Core and Thread count detection for Intel Core i7 CPUs with disabled HyperThreading.
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user