Added support for Fintek F71862, F71869, F71889.
2 using System.Collections.Generic;
6 namespace OpenHardwareMonitor.Hardware {
7 public class ReportWriter {
9 private static void NewSection(TextWriter writer) {
10 for (int i = 0; i < 8; i++)
11 writer.Write("----------");
16 public static void Save(List<IGroup> groupList, Version version) {
19 new StreamWriter("OpenHardwareMonitor.Report.txt")) {
22 w.WriteLine("Open Hardware Monitor Report");
25 w.Write("Version: "); w.WriteLine(version.ToString());
28 foreach (IGroup group in groupList) {
29 string report = group.GetReport();
35 IHardware[] hardwareArray = group.Hardware;
36 foreach (IHardware hardware in hardwareArray) {
37 string hardwareReport = hardware.GetReport();
38 if (hardwareReport != null) {
40 w.Write(hardwareReport);