mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
39 lines
976 B
C#
39 lines
976 B
C#
using System.Xml;
|
|
using System.Xml.Serialization;
|
|
|
|
namespace SabreTools.Models.SoftwareList
|
|
{
|
|
[XmlRoot("part")]
|
|
public class Part
|
|
{
|
|
[XmlAttribute("name")]
|
|
public string Name { get; set; }
|
|
|
|
[XmlAttribute("interface")]
|
|
public string Interface { get; set; }
|
|
|
|
[XmlElement("feature")]
|
|
public Feature[]? Feature { get; set; }
|
|
|
|
[XmlElement("dataarea")]
|
|
public DataArea[]? DataArea { get; set; }
|
|
|
|
[XmlElement("diskarea")]
|
|
public DiskArea[]? DiskArea { get; set; }
|
|
|
|
[XmlElement("dipswitch")]
|
|
public DipSwitch[]? DipSwitch { 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
|
|
}
|
|
} |