mirror of
https://github.com/aaru-dps/Aaru.CommonTypes.git
synced 2025-12-16 19:24:30 +00:00
Annotate or remove unused elements.
This commit is contained in:
@@ -40,16 +40,12 @@ namespace Aaru.CommonTypes;
|
||||
public static partial class MediaTypeFromDevice
|
||||
{
|
||||
/// <summary>Gets the media type from an SCSI Streaming Commands compliant device</summary>
|
||||
/// <param name="scsiPeripheralType">Peripheral type</param>
|
||||
/// <param name="vendor">Vendor string</param>
|
||||
/// <param name="model">Model string</param>
|
||||
/// <param name="mediumType">Medium type from MODE SENSE</param>
|
||||
/// <param name="densityCode">Density code from MODE SENSE</param>
|
||||
/// <param name="blocks">Number of blocks in media</param>
|
||||
/// <param name="blockSize">Size of a block in bytes</param>
|
||||
/// <returns>Media type</returns>
|
||||
public static MediaType GetFromSsc(byte scsiPeripheralType, string vendor, string model, byte mediumType,
|
||||
byte densityCode, ulong blocks, uint blockSize)
|
||||
public static MediaType GetFromSsc(string vendor, string model, byte mediumType, byte densityCode)
|
||||
{
|
||||
switch(mediumType)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user