2025-09-26 10:20:48 -04:00
|
|
|
using System.Xml;
|
|
|
|
|
using System.Xml.Serialization;
|
2026-04-02 02:18:08 -04:00
|
|
|
using SabreTools.Data.Models.Metadata;
|
2025-09-26 10:20:48 -04:00
|
|
|
|
2025-09-26 13:06:18 -04:00
|
|
|
namespace SabreTools.Data.Models.Listxml
|
2025-09-26 10:20:48 -04:00
|
|
|
{
|
|
|
|
|
[XmlRoot("display")]
|
|
|
|
|
public class Display
|
|
|
|
|
{
|
|
|
|
|
[XmlAttribute("tag")]
|
|
|
|
|
public string? Tag { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <remarks>(raster|vector|lcd|svg|unknown)</remarks>
|
2025-09-26 11:42:28 -04:00
|
|
|
[Required]
|
2025-09-26 10:20:48 -04:00
|
|
|
[XmlAttribute("type")]
|
2026-04-02 02:18:08 -04:00
|
|
|
public DisplayType? Type { get; set; }
|
2025-09-26 10:20:48 -04:00
|
|
|
|
|
|
|
|
/// <remarks>(0|90|180|270)</remarks>
|
|
|
|
|
[XmlAttribute("rotate")]
|
2026-04-03 13:08:36 -04:00
|
|
|
public Rotation? Rotate { get; set; }
|
2025-09-26 10:20:48 -04:00
|
|
|
|
|
|
|
|
/// <remarks>(yes|no) "no"</remarks>
|
|
|
|
|
[XmlAttribute("flipx")]
|
2026-04-01 21:59:16 -04:00
|
|
|
public bool? FlipX { get; set; }
|
2025-09-26 10:20:48 -04:00
|
|
|
|
|
|
|
|
[XmlAttribute("width")]
|
2026-04-03 11:57:30 -04:00
|
|
|
public long? Width { get; set; }
|
2025-09-26 10:20:48 -04:00
|
|
|
|
|
|
|
|
[XmlAttribute("height")]
|
2026-04-03 11:57:30 -04:00
|
|
|
public long? Height { get; set; }
|
2025-09-26 10:20:48 -04:00
|
|
|
|
2025-09-26 11:42:28 -04:00
|
|
|
[Required]
|
2025-09-26 10:20:48 -04:00
|
|
|
[XmlAttribute("refresh")]
|
2026-04-03 00:04:11 -04:00
|
|
|
public double? Refresh { get; set; }
|
2025-09-26 10:20:48 -04:00
|
|
|
|
|
|
|
|
[XmlAttribute("pixclock")]
|
2026-04-03 11:57:30 -04:00
|
|
|
public long? PixClock { get; set; }
|
2025-09-26 10:20:48 -04:00
|
|
|
|
|
|
|
|
[XmlAttribute("htotal")]
|
2026-04-03 11:57:30 -04:00
|
|
|
public long? HTotal { get; set; }
|
2025-09-26 10:20:48 -04:00
|
|
|
|
|
|
|
|
[XmlAttribute("hbend")]
|
2026-04-03 11:57:30 -04:00
|
|
|
public long? HBEnd { get; set; }
|
2025-09-26 10:20:48 -04:00
|
|
|
|
|
|
|
|
[XmlAttribute("hbstart")]
|
2026-04-03 11:57:30 -04:00
|
|
|
public long? HBStart { get; set; }
|
2025-09-26 10:20:48 -04:00
|
|
|
|
|
|
|
|
[XmlAttribute("vtotal")]
|
2026-04-03 11:57:30 -04:00
|
|
|
public long? VTotal { get; set; }
|
2025-09-26 10:20:48 -04:00
|
|
|
|
|
|
|
|
[XmlAttribute("vbend")]
|
2026-04-03 11:57:30 -04:00
|
|
|
public long? VBEnd { get; set; }
|
2025-09-26 10:20:48 -04:00
|
|
|
|
|
|
|
|
[XmlAttribute("vbstart")]
|
2026-04-03 11:57:30 -04:00
|
|
|
public long? VBStart { get; set; }
|
2025-09-26 10:20:48 -04:00
|
|
|
}
|
2026-01-27 12:03:01 -05:00
|
|
|
}
|