mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Added some device static values to variables.
This commit is contained in:
@@ -46,6 +46,11 @@ namespace DiscImageChef.Devices
|
||||
object fd;
|
||||
bool error;
|
||||
int lastError;
|
||||
DeviceType type;
|
||||
string manufacturer;
|
||||
string model;
|
||||
string revision;
|
||||
string serial;
|
||||
|
||||
/// <summary>
|
||||
/// Gets the Platform ID for this device
|
||||
@@ -104,6 +109,66 @@ namespace DiscImageChef.Devices
|
||||
return lastError;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the device type.
|
||||
/// </summary>
|
||||
/// <value>The device type.</value>
|
||||
public DeviceType Type
|
||||
{
|
||||
get
|
||||
{
|
||||
return type;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the device's manufacturer
|
||||
/// </summary>
|
||||
/// <value>The manufacturer.</value>
|
||||
public string Manufacturer
|
||||
{
|
||||
get
|
||||
{
|
||||
return manufacturer;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the device model
|
||||
/// </summary>
|
||||
/// <value>The model.</value>
|
||||
public string Model
|
||||
{
|
||||
get
|
||||
{
|
||||
return model;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the device's revision.
|
||||
/// </summary>
|
||||
/// <value>The revision.</value>
|
||||
public string Revision
|
||||
{
|
||||
get
|
||||
{
|
||||
return revision;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the device's serial number.
|
||||
/// </summary>
|
||||
/// <value>The serial number.</value>
|
||||
public string Serial
|
||||
{
|
||||
get
|
||||
{
|
||||
return serial;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user