Example #1
0
        public static string Dump()
        {
            string str  = "";
            string text = "WDC WD2009FYPX-09AAMB0";
            Range  driveTemperatureRange = SystemConfig.GetDriveTemperatureRange(text, "Warning");

            if (driveTemperatureRange != null)
            {
                str += string.Format("Model={0} Warning Min={1} Max={2}", text, driveTemperatureRange.Min, driveTemperatureRange.Max);
            }
            else
            {
                str += string.Format("Cannot find drive model: {0}", text);
            }
            str += Environment.NewLine;
            str += Drivelist.GetInstance().Dump();
            str += DriveMap.GetInstance().Dump();
            str += EthernetPortProfiles.GetInstance().Dump();
            str += CpuList.GetInstance().Dump();
            str += SystemProfiles.GetInstance().Dump();
            str += ItemProfiles.GetInstance().Dump();
            return(str + ThermalProfiles.GetInstance().Dump());
        }
Example #2
0
 public static DriveMap GetDriveMap()
 {
     return(DriveMap.GetInstance());
 }