mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[Machine, DatItem] SlotOptions are not Devices
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user