mirror of
https://github.com/openhardwaremonitor/openhardwaremonitor
synced 2025-09-01 23:05:19 +00:00
Refactored the hardware monitoring code into a library (Issue 101).
This commit is contained in:
@@ -37,18 +37,26 @@
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
|
||||
namespace OpenHardwareMonitor.Hardware {
|
||||
|
||||
public delegate void SensorEventHandler(ISensor sensor);
|
||||
|
||||
public enum HardwareType {
|
||||
CPU,
|
||||
GPU,
|
||||
HDD,
|
||||
Mainboard,
|
||||
SuperIO,
|
||||
TBalancer
|
||||
}
|
||||
|
||||
public interface IHardware : IElement {
|
||||
|
||||
string Name { get; }
|
||||
Identifier Identifier { get; }
|
||||
|
||||
Image Icon { get; }
|
||||
HardwareType HardwareType { get; }
|
||||
|
||||
string GetReport();
|
||||
|
||||
|
Reference in New Issue
Block a user