Added sub-hardware support and basic enumeration for mainboards.

This commit is contained in:
Michael Möller
2010-02-27 20:08:13 +00:00
parent f208712a0d
commit 2dcac6acac
12 changed files with 369 additions and 59 deletions

View File

@@ -43,6 +43,10 @@ namespace OpenHardwareMonitor.Hardware {
private List<ISensor> active = new List<ISensor>();
public IHardware[] SubHardware {
get { return new IHardware[0]; }
}
public ISensor[] Sensors {
get { return active.ToArray(); }
}
@@ -63,7 +67,9 @@ namespace OpenHardwareMonitor.Hardware {
}
}
#pragma warning disable 67
public event SensorEventHandler SensorAdded;
public event SensorEventHandler SensorRemoved;
#pragma warning restore 67
}
}