mirror of
https://github.com/aaru-dps/Aaru.CommonTypes.git
synced 2025-12-16 19:24:30 +00:00
Code reformat.
This commit is contained in:
@@ -59,9 +59,11 @@ namespace DiscImageChef.CommonTypes.Enums
|
||||
None = 0, /// <summary>Subchannel is packed and error corrected</summary>
|
||||
Packed = 1, /// <summary>Subchannel is interleaved</summary>
|
||||
Raw = 2, /// <summary>Subchannel is packed and comes interleaved with main channel in same file</summary>
|
||||
PackedInterleaved = 3, /// <summary>Subchannel is interleaved and comes interleaved with main channel in same file</summary>
|
||||
PackedInterleaved = 3,
|
||||
/// <summary>Subchannel is interleaved and comes interleaved with main channel in same file</summary>
|
||||
RawInterleaved = 4, /// <summary>Only Q subchannel is stored as 16 bytes</summary>
|
||||
Q16 = 5, /// <summary>Only Q subchannel is stored as 16 bytes and comes interleaved with main channel in same file</summary>
|
||||
Q16 = 5,
|
||||
/// <summary>Only Q subchannel is stored as 16 bytes and comes interleaved with main channel in same file</summary>
|
||||
Q16Interleaved = 6
|
||||
}
|
||||
|
||||
|
||||
@@ -53,8 +53,10 @@ namespace DiscImageChef.CommonTypes.Interfaces
|
||||
/// The archive supports explicit entries for directories (like Zip, for example). If this flag is not set,
|
||||
/// directories are implicit by the relative name of the files.
|
||||
/// </summary>
|
||||
HasExplicitDirectories = 1 << 3, /// <summary>The archive stores a timestamp with each entry if this flag is set.</summary>
|
||||
HasEntryTimestamp = 1 << 4, /// <summary>If this flag is set, individual files or the whole archive might be encrypted or password-protected.</summary>
|
||||
HasExplicitDirectories = 1 << 3,
|
||||
/// <summary>The archive stores a timestamp with each entry if this flag is set.</summary>
|
||||
HasEntryTimestamp = 1 << 4,
|
||||
/// <summary>If this flag is set, individual files or the whole archive might be encrypted or password-protected.</summary>
|
||||
SupportsProtection = 1 << 5, // TODO: not implemented yet
|
||||
|
||||
/// <summary>If this flag is set, the archive supports returning extended attributes (Xattrs) for each entry.</summary>
|
||||
|
||||
@@ -46,7 +46,7 @@ namespace DiscImageChef.CommonTypes.Metadata
|
||||
public string Model { get; set; }
|
||||
public short Offset { get; set; }
|
||||
public int Submissions { get; set; }
|
||||
[DisplayFormat(ApplyFormatInEditMode =true, DataFormatString = "{0:P0}")]
|
||||
public float Agreement { get; set; }
|
||||
[DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:P0}")]
|
||||
public float Agreement { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -40,7 +40,7 @@ namespace DiscImageChef.CommonTypes.Metadata
|
||||
{
|
||||
public static class MediaType
|
||||
{
|
||||
public static (string type, string subType) MediaTypeToString(CommonTypes.MediaType dskType)
|
||||
public static(string type, string subType) MediaTypeToString(CommonTypes.MediaType dskType)
|
||||
{
|
||||
string discType;
|
||||
string discSubType;
|
||||
|
||||
@@ -46,18 +46,18 @@ namespace DiscImageChef.CommonTypes.Metadata
|
||||
[Serializable, XmlRoot("DicResume", Namespace = "", IsNullable = false)]
|
||||
public class Resume
|
||||
{
|
||||
[XmlArrayItem("Block")]
|
||||
public List<ulong> BadBlocks;
|
||||
[XmlElement(DataType = "dateTime")]
|
||||
public DateTime CreationDate;
|
||||
public ulong LastBlock;
|
||||
[XmlElement(DataType = "dateTime")]
|
||||
public DateTime LastWriteDate;
|
||||
public bool Removable;
|
||||
public ulong LastBlock;
|
||||
public ulong NextBlock;
|
||||
public bool Removable;
|
||||
public bool Tape;
|
||||
|
||||
[XmlArrayItem("DumpTry")]
|
||||
public List<DumpHardwareType> Tries;
|
||||
[XmlArrayItem("Block")]
|
||||
public List<ulong> BadBlocks;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user