mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
40 lines
1.0 KiB
C#
40 lines
1.0 KiB
C#
|
|
using System.Xml.Serialization;
|
||
|
|
using Newtonsoft.Json;
|
||
|
|
|
||
|
|
namespace SabreTools.Models.Internal
|
||
|
|
{
|
||
|
|
[JsonObject("dipswitch"), XmlRoot("dipswitch")]
|
||
|
|
public class DipSwitch : DatItem
|
||
|
|
{
|
||
|
|
#region Keys
|
||
|
|
|
||
|
|
/// <remarks>Condition</remarks>
|
||
|
|
public const string ConditionKey = "condition";
|
||
|
|
|
||
|
|
/// <remarks>(yes|no) "no"</remarks>
|
||
|
|
public const string DefaultKey = "default";
|
||
|
|
|
||
|
|
/// <remarks>DipLocation[]</remarks>
|
||
|
|
public const string DipLocationKey = "diplocation";
|
||
|
|
|
||
|
|
/// <remarks>DipValue[]</remarks>
|
||
|
|
public const string DipValueKey = "dipvalue";
|
||
|
|
|
||
|
|
/// <remarks>string[]</remarks>
|
||
|
|
public const string EntryKey = "entry";
|
||
|
|
|
||
|
|
/// <remarks>string</remarks>
|
||
|
|
public const string MaskKey = "mask";
|
||
|
|
|
||
|
|
/// <remarks>string</remarks>
|
||
|
|
public const string NameKey = "name";
|
||
|
|
|
||
|
|
/// <remarks>string</remarks>
|
||
|
|
public const string TagKey = "tag";
|
||
|
|
|
||
|
|
#endregion
|
||
|
|
|
||
|
|
public DipSwitch() => Type = ItemType.DipSwitch;
|
||
|
|
}
|
||
|
|
}
|