2023-08-01 23:18:53 -04:00
|
|
|
using System.Xml.Serialization;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
namespace SabreTools.Models.Internal
|
|
|
|
|
{
|
|
|
|
|
[JsonObject("part"), XmlRoot("part")]
|
|
|
|
|
public class Part : DatItem
|
|
|
|
|
{
|
|
|
|
|
#region Keys
|
|
|
|
|
|
|
|
|
|
/// <remarks>DataArea[]</remarks>
|
2023-08-11 11:29:25 -04:00
|
|
|
[NoFilter]
|
2023-08-01 23:18:53 -04:00
|
|
|
public const string DataAreaKey = "dataarea";
|
|
|
|
|
|
|
|
|
|
/// <remarks>DiskArea[]</remarks>
|
2023-08-11 11:29:25 -04:00
|
|
|
[NoFilter]
|
2023-08-01 23:18:53 -04:00
|
|
|
public const string DiskAreaKey = "diskarea";
|
|
|
|
|
|
|
|
|
|
/// <remarks>DipSwitch[]</remarks>
|
2023-08-11 11:29:25 -04:00
|
|
|
[NoFilter]
|
2023-08-01 23:18:53 -04:00
|
|
|
public const string DipSwitchKey = "dipswitch";
|
|
|
|
|
|
|
|
|
|
/// <remarks>Feature[]</remarks>
|
2023-08-11 11:29:25 -04:00
|
|
|
[NoFilter]
|
2023-08-01 23:18:53 -04:00
|
|
|
public const string FeatureKey = "feature";
|
|
|
|
|
|
|
|
|
|
/// <remarks>string</remarks>
|
|
|
|
|
public const string InterfaceKey = "interface";
|
|
|
|
|
|
|
|
|
|
/// <remarks>string</remarks>
|
|
|
|
|
public const string NameKey = "name";
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public Part() => Type = ItemType.Part;
|
|
|
|
|
}
|
|
|
|
|
}
|