author | StephaneLenclud |
Thu, 18 Apr 2013 23:25:10 +0200 | |
changeset 402 | ded1323b61ee |
parent 344 | 3145aadca3d2 |
permissions | -rw-r--r-- |
1 /*
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-2010 Michael Möller <mmoeller@openhardwaremonitor.org>
9 */
11 namespace OpenHardwareMonitor.Hardware.Mainboard {
12 internal class MainboardGroup : IGroup {
14 private readonly Mainboard[] mainboards;
16 public MainboardGroup(SMBIOS smbios, ISettings settings) {
17 mainboards = new Mainboard[1];
18 mainboards[0] = new Mainboard(smbios, settings);
19 }
21 public void Close() {
22 foreach (Mainboard mainboard in mainboards)
23 mainboard.Close();
24 }
26 public string GetReport() {
27 return null;
28 }
30 public IHardware[] Hardware {
31 get { return mainboards; }
33 }
34 }
35 }