Fix display names for ASP.NET views.

This commit is contained in:
2019-11-24 19:15:29 +00:00
parent 6da345673a
commit b285b8fe3f
2 changed files with 637 additions and 329 deletions

View File

@@ -37,6 +37,7 @@
// ****************************************************************************/
using System;
using System.ComponentModel;
using System.Xml.Serialization;
using DiscImageChef.Decoders.ATA;
using DiscImageChef.Decoders.SCSI;
@@ -981,19 +982,24 @@ namespace DiscImageChef.CommonTypes.Metadata
public class SupportedDensity
{
[XmlIgnore, JsonIgnore]
public int Id { get; set; }
public byte PrimaryCode { get; set; }
public byte SecondaryCode { get; set; }
public bool Writable { get; set; }
public bool Duplicate { get; set; }
public bool DefaultDensity { get; set; }
public uint BitsPerMm { get; set; }
public ushort Width { get; set; }
public ushort Tracks { get; set; }
public uint Capacity { get; set; }
public string Organization { get; set; }
public string Name { get; set; }
public string Description { get; set; }
public int Id { get; set; }
[DisplayName("Primary density code")]
public byte PrimaryCode { get; set; }
[DisplayName("Secondary density code")]
public byte SecondaryCode { get; set; }
public bool Writable { get; set; }
public bool Duplicate { get; set; }
[DisplayName("Default density code")]
public bool DefaultDensity { get; set; }
[DisplayName("Bits per mm")]
public uint BitsPerMm { get; set; }
public ushort Width { get; set; }
public ushort Tracks { get; set; }
[DisplayName("Nominal capacity (MiB)")]
public uint Capacity { get; set; }
public string Organization { get; set; }
public string Name { get; set; }
public string Description { get; set; }
}
public class SupportedMedia