Fixed Issue 651.
3 This Source Code Form is subject to the terms of the Mozilla Public
4 License, v. 2.0. If a copy of the MPL was not distributed with this
5 file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 Copyright (C) 2009-2011 Michael Möller <mmoeller@openhardwaremonitor.org>
11 namespace OpenHardwareMonitor.Hardware {
13 public delegate void SensorEventHandler(ISensor sensor);
15 public enum HardwareType {
27 public interface IHardware : IElement {
29 string Name { get; set; }
30 Identifier Identifier { get; }
32 HardwareType HardwareType { get; }
38 IHardware[] SubHardware { get; }
40 IHardware Parent { get; }
42 ISensor[] Sensors { get; }
44 event SensorEventHandler SensorAdded;
45 event SensorEventHandler SensorRemoved;