mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Add basic fields to device report.
This commit is contained in:
@@ -67,9 +67,12 @@ namespace DiscImageChef.Commands
|
||||
|
||||
Core.Statistics.AddDevice(dev);
|
||||
|
||||
DeviceReportV2 report = new DeviceReportV2();
|
||||
bool removable = false;
|
||||
string jsonFile;
|
||||
DeviceReportV2 report = new DeviceReportV2
|
||||
{
|
||||
Manufacturer = dev.Manufacturer, Model = dev.Model, Revision = dev.Revision, Type = dev.Type
|
||||
};
|
||||
bool removable = false;
|
||||
string jsonFile;
|
||||
|
||||
if(!string.IsNullOrWhiteSpace(dev.Manufacturer) && !string.IsNullOrWhiteSpace(dev.Revision))
|
||||
jsonFile = dev.Manufacturer + "_" + dev.Model + "_" + dev.Revision + ".json";
|
||||
|
||||
Reference in New Issue
Block a user