mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-05 22:01:33 +00:00
This change looks dramatic, but it's just separating out the already-split namespaces into separate top-level folders. In theory, every single one could be built into their own Nuget package. `SabreTools.Serialization` still builds the normal Nuget package that is used by all other projects and includes all namespaces.
67 lines
1.8 KiB
C#
67 lines
1.8 KiB
C#
using System.Xml;
|
|
using System.Xml.Serialization;
|
|
|
|
namespace SabreTools.Data.Models.Listxml
|
|
{
|
|
[XmlRoot("display")]
|
|
public class Display
|
|
{
|
|
[XmlAttribute("tag")]
|
|
public string? Tag { get; set; }
|
|
|
|
/// <remarks>(raster|vector|lcd|svg|unknown)</remarks>
|
|
[Required]
|
|
[XmlAttribute("type")]
|
|
public string? Type { get; set; }
|
|
|
|
/// <remarks>(0|90|180|270)</remarks>
|
|
[XmlAttribute("rotate")]
|
|
public string? Rotate { get; set; }
|
|
|
|
/// <remarks>(yes|no) "no"</remarks>
|
|
[XmlAttribute("flipx")]
|
|
public string? FlipX { get; set; }
|
|
|
|
/// <remarks>Numeric</remarks>
|
|
[XmlAttribute("width")]
|
|
public string? Width { get; set; }
|
|
|
|
/// <remarks>Numeric</remarks>
|
|
[XmlAttribute("height")]
|
|
public string? Height { get; set; }
|
|
|
|
/// <remarks>Numeric</remarks>
|
|
[Required]
|
|
[XmlAttribute("refresh")]
|
|
public string? Refresh { get; set; }
|
|
|
|
/// <remarks>Numeric</remarks>
|
|
[XmlAttribute("pixclock")]
|
|
public string? PixClock { get; set; }
|
|
|
|
/// <remarks>Numeric</remarks>
|
|
[XmlAttribute("htotal")]
|
|
public string? HTotal { get; set; }
|
|
|
|
/// <remarks>Numeric</remarks>
|
|
[XmlAttribute("hbend")]
|
|
public string? HBEnd { get; set; }
|
|
|
|
/// <remarks>Numeric</remarks>
|
|
[XmlAttribute("hbstart")]
|
|
public string? HBStart { get; set; }
|
|
|
|
/// <remarks>Numeric</remarks>
|
|
[XmlAttribute("vtotal")]
|
|
public string? VTotal { get; set; }
|
|
|
|
/// <remarks>Numeric</remarks>
|
|
[XmlAttribute("vbend")]
|
|
public string? VBEnd { get; set; }
|
|
|
|
/// <remarks>Numeric</remarks>
|
|
[XmlAttribute("vbstart")]
|
|
public string? VBStart { get; set; }
|
|
}
|
|
}
|