public static void CheckDriveHealth() { Bus.Model.CCTVDrives.ForEach(drive => { if (drive.Monitor) { CCTVManager.CheckDriveHealth(drive); } }); }
public static void CheckHDDUsage() { Bus.Model.CCTVDrives.ForEach(drive => { if (drive.Monitor) { drive.Used = Math.Round(CCTVManager.CheckDriveStorage(drive)); } }); }