[Machine, DatItem] SlotOptions are not Devices

This commit is contained in:
Matt Nadareski
2018-03-21 01:59:03 -07:00
parent dfc2db2736
commit ecd6a70c8d
2 changed files with 25 additions and 0 deletions

View File

@@ -339,6 +339,27 @@ namespace SabreTools.Library.DatItems
_machine.Devices = value;
}
}
public List<string> SlotOptions
{
get
{
if (_machine == null)
{
_machine = new Machine();
}
return _machine.SlotOptions;
}
set
{
if (_machine == null)
{
_machine = new Machine();
}
_machine.SlotOptions = value;
}
}
public MachineType MachineType
{
get

View File

@@ -28,6 +28,7 @@ namespace SabreTools.Library.DatItems
public string Board;
public string RebuildTo;
public List<string> Devices;
public List<string> SlotOptions;
public List<Tuple<string, string>> Infos;
public MachineType MachineType;
@@ -55,6 +56,7 @@ namespace SabreTools.Library.DatItems
Board = null;
RebuildTo = null;
Devices = null;
SlotOptions = null;
Infos = null;
MachineType = MachineType.NULL;
}
@@ -81,6 +83,7 @@ namespace SabreTools.Library.DatItems
Board = null;
RebuildTo = null;
Devices = null;
SlotOptions = null;
Infos = null;
MachineType = MachineType.NULL;
}
@@ -112,6 +115,7 @@ namespace SabreTools.Library.DatItems
Board = this.Board,
RebuildTo = this.RebuildTo,
Devices = this.Devices,
SlotOptions = this.SlotOptions,
Infos = this.Infos,
MachineType = this.MachineType,
};