Replace Storage implementation with CrystalDiskInfo based implementation (#2015)
* Replace Storage implementation with CrystalDiskInfo based implementation. * Formatting. * Code review. * Code review. * Increase space for attribute name in report. * Implement dynamic disk handling for usage sensor. Disable unused warnings. * Further cleanup in NativeMethods.txt and referenced.
This commit is contained in:
@@ -436,11 +436,11 @@ public sealed partial class MainForm : Form
|
||||
switch (_throttleAtaUpdate.Value)
|
||||
{
|
||||
case true:
|
||||
AtaStorage.ThrottleInterval = TimeSpan.FromSeconds(30);
|
||||
StorageDevice.ThrottleInterval = TimeSpan.FromSeconds(30);
|
||||
break;
|
||||
|
||||
case false:
|
||||
AtaStorage.ThrottleInterval = TimeSpan.Zero;
|
||||
StorageDevice.ThrottleInterval = TimeSpan.Zero;
|
||||
break;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user