using System.Runtime.InteropServices;
namespace SabreTools.Data.Models.PIC
{
///
///
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)]
public class DiscInformationUnitHeader
{
///
/// Disc Information Identifier "DI"
/// Emergency Brake Identifier "EB"
///
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 2)]
public string DiscInformationIdentifier = string.Empty;
///
/// Disc Information Format
///
public byte DiscInformationFormat;
///
/// Number of DI units in each DI block
///
public byte NumberOfUnitsInBlock;
///
/// Should be 0x00
///
public byte Reserved0;
///
/// DI unit Sequence Number
///
public byte SequenceNumber;
///
/// Number of bytes in use in this DI unit
///
public byte BytesInUse;
///
/// Should be 0x00
///
public byte Reserved1;
}
}