public void Output() { //Console.Clear(); Console.WriteLine(CPUName); CPUSensors.ForEach(Console.WriteLine); if (MOBOName != null) { Console.WriteLine(MOBOName); } MOBOSensors.ForEach(Console.WriteLine); if (RAMName != null) { Console.WriteLine(RAMName); } RAMSensors.ForEach(Console.WriteLine); Console.WriteLine(GPUATIName); GPUATISensors.ForEach(Console.WriteLine); Console.WriteLine(GPUNVName); GPUNVSensors.ForEach(Console.WriteLine); for (int i = 0; i < HDDReadsC.Count; i++) { Console.WriteLine(HDDNames[i] + " Size: " + HDDSizes[i] + "GB"); Console.WriteLine("Read: " + (HDDReadsC[i].NextValue() / 1024 / 1024).ToString("0.00") + "MB/S"); Console.WriteLine("Write: " + (HDDWritesC[i].NextValue() / 1024 / 1024).ToString("0.00") + "MB/S"); } //HDDNames.ForEach(Console.WriteLine); //HDDSizes.ForEach(Console.WriteLine); // Console.ReadKey(); }
public void ClearAllLists() { CPUSensors.Clear(); MOBOSensors.Clear(); GPUATISensors.Clear(); GPUNVSensors.Clear(); //HDDNames.Clear(); RAMSensors.Clear(); }