mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Added statistics to underlying operating system version.
This commit is contained in:
@@ -39,7 +39,7 @@ namespace DiscImageChef.Metadata
|
||||
public class Stats
|
||||
{
|
||||
[XmlArrayItem("OperatingSystem")]
|
||||
public List<NameValueStats> OperatingSystems { get; set; }
|
||||
public List<OsStats> OperatingSystems { get; set; }
|
||||
[XmlArrayItem("Version")]
|
||||
public List<NameValueStats> Versions { get; set; }
|
||||
public CommandsStats Commands;
|
||||
@@ -165,4 +165,14 @@ namespace DiscImageChef.Metadata
|
||||
[XmlText]
|
||||
public long Value { get; set; }
|
||||
}
|
||||
|
||||
public class OsStats
|
||||
{
|
||||
[XmlAttribute]
|
||||
public string name { get; set; }
|
||||
[XmlAttribute]
|
||||
public string version { get; set; }
|
||||
[XmlText]
|
||||
public long Value { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user