Hardware/IHardware.cs
Added mainboard specific configurations for the following Gigabyte mainboards: EX58-UD3R, G41M-Combo, G41MT-S2, G41MT-S2P, GA-MA770T-UD3P, GA-MA785GM-US2H, GA-MA78LM-S2H, GA-MA790X-UD3P, H55-USB3, H55N-USB3, H61M-DS2 REV 1.2, H61M-USB3-B3 REV 2.0, H67A-USB3-B3, P55A-UD3, P67A-UD3-B3, P67A-UD3R-B3, Z68A-D3H-B3, Z68AP-D3, Z68X-UD3H-B3.
moel@1
|
1 |
/*
|
moel@1
|
2 |
|
moel@344
|
3 |
This Source Code Form is subject to the terms of the Mozilla Public
|
moel@344
|
4 |
License, v. 2.0. If a copy of the MPL was not distributed with this
|
moel@344
|
5 |
file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
moel@1
|
6 |
|
moel@344
|
7 |
Copyright (C) 2009-2011 Michael Möller <mmoeller@openhardwaremonitor.org>
|
moel@344
|
8 |
|
moel@1
|
9 |
*/
|
moel@1
|
10 |
|
moel@1
|
11 |
namespace OpenHardwareMonitor.Hardware {
|
moel@1
|
12 |
|
moel@1
|
13 |
public delegate void SensorEventHandler(ISensor sensor);
|
moel@298
|
14 |
|
moel@176
|
15 |
public enum HardwareType {
|
moel@165
|
16 |
Mainboard,
|
moel@165
|
17 |
SuperIO,
|
moel@176
|
18 |
CPU,
|
moel@176
|
19 |
GpuNvidia,
|
moel@176
|
20 |
GpuAti,
|
moel@176
|
21 |
TBalancer,
|
moel@176
|
22 |
Heatmaster,
|
moel@176
|
23 |
HDD,
|
moel@165
|
24 |
}
|
moel@165
|
25 |
|
moel@110
|
26 |
public interface IHardware : IElement {
|
moel@1
|
27 |
|
moel@275
|
28 |
string Name { get; set; }
|
moel@109
|
29 |
Identifier Identifier { get; }
|
moel@1
|
30 |
|
moel@165
|
31 |
HardwareType HardwareType { get; }
|
moel@1
|
32 |
|
moel@1
|
33 |
string GetReport();
|
moel@1
|
34 |
|
moel@1
|
35 |
void Update();
|
moel@1
|
36 |
|
moel@64
|
37 |
IHardware[] SubHardware { get; }
|
moel@64
|
38 |
|
moel@176
|
39 |
IHardware Parent { get; }
|
moel@176
|
40 |
|
moel@1
|
41 |
ISensor[] Sensors { get; }
|
moel@1
|
42 |
|
moel@1
|
43 |
event SensorEventHandler SensorAdded;
|
moel@1
|
44 |
event SensorEventHandler SensorRemoved;
|
moel@1
|
45 |
}
|
moel@1
|
46 |
}
|