mirror of
https://github.com/openhardwaremonitor/openhardwaremonitor
synced 2025-09-01 23:05:19 +00:00
Added a desktop gadget implementation.
This commit is contained in:
@@ -42,14 +42,15 @@ namespace OpenHardwareMonitor.Hardware {
|
||||
|
||||
public delegate void SensorEventHandler(ISensor sensor);
|
||||
|
||||
public enum HardwareType {
|
||||
CPU,
|
||||
GPU,
|
||||
HDD,
|
||||
Heatmaster,
|
||||
public enum HardwareType {
|
||||
Mainboard,
|
||||
SuperIO,
|
||||
TBalancer
|
||||
CPU,
|
||||
GpuNvidia,
|
||||
GpuAti,
|
||||
TBalancer,
|
||||
Heatmaster,
|
||||
HDD,
|
||||
}
|
||||
|
||||
public interface IHardware : IElement {
|
||||
@@ -65,6 +66,8 @@ namespace OpenHardwareMonitor.Hardware {
|
||||
|
||||
IHardware[] SubHardware { get; }
|
||||
|
||||
IHardware Parent { get; }
|
||||
|
||||
ISensor[] Sensors { get; }
|
||||
|
||||
event SensorEventHandler SensorAdded;
|
||||
|
Reference in New Issue
Block a user