Add database entry for optimal count of sectors for multiple read in devices.

This commit is contained in:
2019-01-03 16:55:15 +00:00
parent 38544897e5
commit cb1ed0450c
16 changed files with 1791 additions and 7 deletions

View File

@@ -58,7 +58,7 @@ namespace DiscImageChef.Dto
Type = report.Type;
}
public DeviceDto(DeviceReportV2 report, int id)
public DeviceDto(DeviceReportV2 report, int id, int optimalMultipleSectorsRead)
{
ATA = report.ATA;
ATAPI = report.ATAPI;
@@ -148,9 +148,12 @@ namespace DiscImageChef.Dto
if(USB != null) USB.Descriptors = null;
Id = id;
Id = id;
OptimalMultipleSectorsRead = optimalMultipleSectorsRead;
}
public int OptimalMultipleSectorsRead { get; set; }
public new int Id { get; set; }
static TestedMedia ClearBinaries(TestedMedia media)