mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
[GUI] Fix media scan speed calculations.
This commit is contained in:
@@ -211,13 +211,13 @@ public sealed partial class MediaScanViewModel : ViewModelBase
|
|||||||
results.ProcessingTime.Seconds().Humanize(minUnit: TimeUnit.Second));
|
results.ProcessingTime.Seconds().Humanize(minUnit: TimeUnit.Second));
|
||||||
|
|
||||||
AvgSpeed = string.Format(Localization.Core.Average_speed_0,
|
AvgSpeed = string.Format(Localization.Core.Average_speed_0,
|
||||||
ByteSize.FromBytes(results.AvgSpeed).Per(1.Seconds()).Humanize());
|
ByteSize.FromMegabytes(results.AvgSpeed).Per(1.Seconds()).Humanize());
|
||||||
|
|
||||||
MaxSpeed = string.Format(Localization.Core.Fastest_speed_burst_0,
|
MaxSpeed = string.Format(Localization.Core.Fastest_speed_burst_0,
|
||||||
ByteSize.FromBytes(results.MaxSpeed).Per(1.Seconds()).Humanize());
|
ByteSize.FromMegabytes(results.MaxSpeed).Per(1.Seconds()).Humanize());
|
||||||
|
|
||||||
MinSpeed = string.Format(Localization.Core.Slowest_speed_burst_0,
|
MinSpeed = string.Format(Localization.Core.Slowest_speed_burst_0,
|
||||||
ByteSize.FromBytes(results.MinSpeed).Per(1.Seconds()).Humanize());
|
ByteSize.FromMegabytes(results.MinSpeed).Per(1.Seconds()).Humanize());
|
||||||
|
|
||||||
A = string.Format(Localization.Core._0_sectors_took_less_than_3_ms, results.A);
|
A = string.Format(Localization.Core._0_sectors_took_less_than_3_ms, results.A);
|
||||||
B = string.Format(Localization.Core._0_sectors_took_less_than_10_ms_but_more_than_3_ms, results.B);
|
B = string.Format(Localization.Core._0_sectors_took_less_than_10_ms_but_more_than_3_ms, results.B);
|
||||||
|
|||||||
Reference in New Issue
Block a user