Having a globally accessed static SCSI Peripheral Device Type

allows easier command filtering.
This commit is contained in:
2015-10-19 05:20:42 +01:00
parent e873377777
commit 6a2cb7cf50
3 changed files with 21 additions and 0 deletions

View File

@@ -51,6 +51,7 @@ namespace DiscImageChef.Devices
string model;
string revision;
string serial;
Decoders.SCSI.PeripheralDeviceTypes scsiType;
/// <summary>
/// Gets the Platform ID for this device
@@ -169,6 +170,14 @@ namespace DiscImageChef.Devices
return serial;
}
}
public Decoders.SCSI.PeripheralDeviceTypes SCSIType
{
get
{
return scsiType;
}
}
}
}