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:
@@ -78,7 +78,7 @@ namespace OpenHardwareMonitor.Hardware.Mainboard {
|
||||
|
||||
superIOHardware = new IHardware[superIO.Length];
|
||||
for (int i = 0; i < superIO.Length; i++)
|
||||
superIOHardware[i] = new SuperIOHardware(superIO[i],
|
||||
superIOHardware[i] = new SuperIOHardware(this, superIO[i],
|
||||
smbios.Board != null ? smbios.Board.Manufacturer :
|
||||
Manufacturer.Unknown, smbios.Board != null ? smbios.Board.Model :
|
||||
Model.Unknown, settings);
|
||||
@@ -96,6 +96,10 @@ namespace OpenHardwareMonitor.Hardware.Mainboard {
|
||||
get { return HardwareType.Mainboard; }
|
||||
}
|
||||
|
||||
public virtual IHardware Parent {
|
||||
get { return null; }
|
||||
}
|
||||
|
||||
public string GetReport() {
|
||||
StringBuilder r = new StringBuilder();
|
||||
|
||||
|
Reference in New Issue
Block a user