using System.Xml.Serialization; using Newtonsoft.Json; namespace SabreTools.Models.Internal { [JsonObject("dipswitch"), XmlRoot("dipswitch")] public class DipSwitch : DatItem { #region Keys /// Condition [NoFilter] public const string ConditionKey = "condition"; /// (yes|no) "no" public const string DefaultKey = "default"; /// DipLocation[] [NoFilter] public const string DipLocationKey = "diplocation"; /// DipValue[] [NoFilter] public const string DipValueKey = "dipvalue"; /// string[] public const string EntryKey = "entry"; /// string public const string MaskKey = "mask"; /// string public const string NameKey = "name"; /// string public const string TagKey = "tag"; #endregion public DipSwitch() => Type = ItemType.DipSwitch; } }