Files
SabreTools/SabreTools.Models/Listxml/DipSwitch.cs

39 lines
969 B
C#
Raw Normal View History

2023-07-11 23:39:54 -04:00
using System.Xml;
using System.Xml.Serialization;
namespace SabreTools.Models.Listxml
{
[XmlRoot("dipswitch")]
public class DipSwitch
{
[XmlAttribute("name")]
public string Name { get; set; }
[XmlAttribute("tag")]
public string Tag { get; set; }
[XmlAttribute("mask")]
public string? Mask { get; set; }
[XmlElement("condition")]
public Condition? Condition { get; set; }
[XmlElement("diplocation")]
public DipLocation[]? DipLocation { get; set; }
[XmlElement("dipvalue")]
public DipValue[]? DipValue { get; set; }
#region DO NOT USE IN PRODUCTION
/// <remarks>Should be empty</remarks>
[XmlAnyAttribute]
public XmlAttribute[]? ADDITIONAL_ATTRIBUTES { get; set; }
/// <remarks>Should be empty</remarks>
[XmlAnyElement]
public object[]? ADDITIONAL_ELEMENTS { get; set; }
#endregion
2023-07-11 23:39:54 -04:00
}
}