Set usb device field names and format.

This commit is contained in:
2019-11-17 23:10:05 +00:00
parent 73e5c50481
commit ef49788fee

View File

@@ -174,9 +174,11 @@ namespace DiscImageChef.CommonTypes.Metadata
}
[JsonIgnore]
public int Id { get; set; }
public ushort VendorID { get; set; }
public ushort ProductID { get; set; }
public int Id { get; set; }
[DisplayName("Vendor ID"), DisplayFormat(DataFormatString = "0x{0:X4}")]
public ushort VendorID { get; set; }
[DisplayName("Product ID"), DisplayFormat(DataFormatString = "0x{0:X4}")]
public ushort ProductID { get; set; }
public string Manufacturer { get; set; }
public string Product { get; set; }
public bool RemovableMedia { get; set; }