using System.Xml.Serialization; using Newtonsoft.Json; namespace SabreTools.Models.Internal { [JsonObject("display"), XmlRoot("display")] public class Display : DatItem { #region Keys /// (yes|no) "no" public const string FlipXKey = "flipx"; /// long public const string HBEndKey = "hbend"; /// long public const string HBStart = "hbstart"; /// long public const string HeightKey = "height"; /// long public const string HTotalKey = "htotal"; /// long public const string PixClockKey = "pixclock"; /// double public const string RefreshKey = "refresh"; /// (0|90|180|270) public const string RotateKey = "rotate"; /// string public const string TagKey = "tag"; /// (raster|vector|lcd|svg|unknown) public const string DisplayTypeKey = "type"; /// long public const string VBEndKey = "vbend"; /// long public const string VBStartKey = "vbstart"; /// long public const string VTotalKey = "vtotal"; /// long public const string WidthKey = "width"; #endregion public Display() => Type = ItemType.Display; } }