mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Correct database model taking ATA instead of ATAPI.
This commit is contained in:
@@ -13,7 +13,7 @@ namespace DiscImageChef.Database.Models
|
|||||||
public Device(DeviceReportV2 report)
|
public Device(DeviceReportV2 report)
|
||||||
{
|
{
|
||||||
ATA = report.ATA;
|
ATA = report.ATA;
|
||||||
ATAPI = report.ATA;
|
ATAPI = report.ATAPI;
|
||||||
CompactFlash = report.CompactFlash;
|
CompactFlash = report.CompactFlash;
|
||||||
FireWire = report.FireWire;
|
FireWire = report.FireWire;
|
||||||
LastSynchronized = DateTime.UtcNow;
|
LastSynchronized = DateTime.UtcNow;
|
||||||
|
|||||||
@@ -7,14 +7,14 @@ namespace DiscImageChef.Database.Models
|
|||||||
{
|
{
|
||||||
public Report()
|
public Report()
|
||||||
{
|
{
|
||||||
Created = DateTime.UtcNow;
|
Created = DateTime.UtcNow;
|
||||||
Uploaded = false;
|
Uploaded = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Report(DeviceReportV2 report)
|
public Report(DeviceReportV2 report)
|
||||||
{
|
{
|
||||||
ATA = report.ATA;
|
ATA = report.ATA;
|
||||||
ATAPI = report.ATA;
|
ATAPI = report.ATAPI;
|
||||||
CompactFlash = report.CompactFlash;
|
CompactFlash = report.CompactFlash;
|
||||||
FireWire = report.FireWire;
|
FireWire = report.FireWire;
|
||||||
Created = DateTime.UtcNow;
|
Created = DateTime.UtcNow;
|
||||||
|
|||||||
Reference in New Issue
Block a user