2017-05-19 20:28:49 +01:00
|
|
|
// /***************************************************************************
|
2020-02-27 12:31:23 +00:00
|
|
|
// Aaru Data Preservation Suite
|
2015-10-19 02:59:32 +01:00
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
|
//
|
|
|
|
|
// Filename : Enums.cs
|
2016-07-28 18:13:49 +01:00
|
|
|
// Author(s) : Natalia Portillo <claunia@claunia.com>
|
2015-10-19 02:59:32 +01:00
|
|
|
//
|
2016-07-28 18:13:49 +01:00
|
|
|
// Component : Device structures decoders.
|
2015-10-19 02:59:32 +01:00
|
|
|
//
|
|
|
|
|
// --[ Description ] ----------------------------------------------------------
|
|
|
|
|
//
|
2018-12-29 15:26:00 +00:00
|
|
|
// Contains various SCSI MMC enumerations.
|
2015-10-19 02:59:32 +01:00
|
|
|
//
|
|
|
|
|
// --[ License ] --------------------------------------------------------------
|
|
|
|
|
//
|
2016-07-28 18:13:49 +01:00
|
|
|
// This library is free software; you can redistribute it and/or modify
|
|
|
|
|
// it under the terms of the GNU Lesser General Public License as
|
|
|
|
|
// published by the Free Software Foundation; either version 2.1 of the
|
2015-10-19 02:59:32 +01:00
|
|
|
// License, or (at your option) any later version.
|
|
|
|
|
//
|
2016-07-28 18:13:49 +01:00
|
|
|
// This library is distributed in the hope that it will be useful, but
|
|
|
|
|
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
|
// Lesser General Public License for more details.
|
2015-10-19 02:59:32 +01:00
|
|
|
//
|
2016-07-28 18:13:49 +01:00
|
|
|
// You should have received a copy of the GNU Lesser General Public
|
|
|
|
|
// License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
2015-10-19 02:59:32 +01:00
|
|
|
//
|
|
|
|
|
// ----------------------------------------------------------------------------
|
2020-12-31 23:08:22 +00:00
|
|
|
// Copyright © 2011-2021 Natalia Portillo
|
2015-10-19 02:59:32 +01:00
|
|
|
// ****************************************************************************/
|
2016-07-28 18:13:49 +01:00
|
|
|
|
2017-12-22 02:04:18 +00:00
|
|
|
using System.Diagnostics.CodeAnalysis;
|
|
|
|
|
|
2020-02-27 00:33:24 +00:00
|
|
|
namespace Aaru.Decoders.SCSI.MMC
|
2015-10-19 02:59:32 +01:00
|
|
|
{
|
2019-11-25 00:54:38 +00:00
|
|
|
[SuppressMessage("ReSharper", "InconsistentNaming"), SuppressMessage("ReSharper", "MemberCanBeInternal")]
|
2015-10-19 02:59:32 +01:00
|
|
|
public enum FormatLayerTypeCodes : ushort
|
|
|
|
|
{
|
2019-11-25 00:54:38 +00:00
|
|
|
CDLayer = 0x0008, DVDLayer = 0x0010, BDLayer = 0x0040,
|
2015-10-19 02:59:32 +01:00
|
|
|
HDDVDLayer = 0x0050
|
|
|
|
|
}
|
|
|
|
|
|
2019-11-25 00:54:38 +00:00
|
|
|
[SuppressMessage("ReSharper", "InconsistentNaming"), SuppressMessage("ReSharper", "MemberCanBeInternal")]
|
2015-10-19 02:59:32 +01:00
|
|
|
public enum SessionStatusCodes : byte
|
|
|
|
|
{
|
2019-11-25 00:54:38 +00:00
|
|
|
Empty = 0x00, Incomplete = 0x01, ReservedOrDamaged = 0x02,
|
|
|
|
|
Complete = 0x03
|
2015-10-19 02:59:32 +01:00
|
|
|
}
|
|
|
|
|
|
2019-11-25 00:54:38 +00:00
|
|
|
[SuppressMessage("ReSharper", "InconsistentNaming"), SuppressMessage("ReSharper", "MemberCanBeInternal")]
|
2015-10-19 02:59:32 +01:00
|
|
|
public enum DiscStatusCodes : byte
|
|
|
|
|
{
|
2019-11-25 00:54:38 +00:00
|
|
|
Empty = 0x00, Incomplete = 0x01, Finalized = 0x02,
|
|
|
|
|
Others = 0x03
|
2015-10-19 02:59:32 +01:00
|
|
|
}
|
|
|
|
|
|
2019-11-25 00:54:38 +00:00
|
|
|
[SuppressMessage("ReSharper", "InconsistentNaming"), SuppressMessage("ReSharper", "MemberCanBeInternal")]
|
2015-10-19 02:59:32 +01:00
|
|
|
public enum BGFormatStatusCodes : byte
|
|
|
|
|
{
|
2019-11-25 00:54:38 +00:00
|
|
|
NoFormattable = 0x00, IncompleteBackgroundFormat = 0x01, BackgroundFormatInProgress = 0x02,
|
|
|
|
|
FormatComplete = 0x03
|
2015-10-19 02:59:32 +01:00
|
|
|
}
|
|
|
|
|
|
2019-11-25 00:54:38 +00:00
|
|
|
[SuppressMessage("ReSharper", "InconsistentNaming"), SuppressMessage("ReSharper", "MemberCanBeInternal")]
|
2015-10-19 02:59:32 +01:00
|
|
|
public enum DiscTypeCodes : byte
|
|
|
|
|
{
|
2019-11-25 00:54:38 +00:00
|
|
|
/// <summary>Also valid for CD-DA, DVD and BD</summary>
|
|
|
|
|
CDROM = 0x00, CDi = 0x10, CDROMXA = 0x20, Undefined = 0xFF
|
2015-10-19 02:59:32 +01:00
|
|
|
}
|
2020-06-16 20:03:30 +01:00
|
|
|
|
|
|
|
|
public enum LayerJumpRecordingStatus : byte
|
|
|
|
|
{
|
|
|
|
|
Incremental = 0, Unspecified = 1, Manual = 2,
|
|
|
|
|
RegularInterval = 3
|
|
|
|
|
}
|
2017-12-19 20:33:03 +00:00
|
|
|
}
|