mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
REFACTOR: Fixed MOST name inconsistencies.
This commit is contained in:
@@ -84,22 +84,22 @@ namespace DiscImageChef.Core.Logging
|
||||
logSw.WriteLine("Removable device: {0}", dev.IsRemovable);
|
||||
logSw.WriteLine("Device type: {0}", dev.Type);
|
||||
logSw.WriteLine("CompactFlash device: {0}", dev.IsCompactFlash);
|
||||
logSw.WriteLine("PCMCIA device: {0}", dev.IsPCMCIA);
|
||||
logSw.WriteLine("USB device: {0}", dev.IsUSB);
|
||||
if(dev.IsUSB)
|
||||
logSw.WriteLine("PCMCIA device: {0}", dev.IsPcmcia);
|
||||
logSw.WriteLine("USB device: {0}", dev.IsUsb);
|
||||
if(dev.IsUsb)
|
||||
{
|
||||
logSw.WriteLine("USB manufacturer: {0}", dev.USBManufacturerString);
|
||||
logSw.WriteLine("USB product: {0}", dev.USBProductString);
|
||||
logSw.WriteLine("USB serial: {0}", dev.USBSerialString);
|
||||
logSw.WriteLine("USB vendor ID: {0:X4}h", dev.USBVendorID);
|
||||
logSw.WriteLine("USB product ID: {0:X4}h", dev.USBProductID);
|
||||
logSw.WriteLine("USB manufacturer: {0}", dev.UsbManufacturerString);
|
||||
logSw.WriteLine("USB product: {0}", dev.UsbProductString);
|
||||
logSw.WriteLine("USB serial: {0}", dev.UsbSerialString);
|
||||
logSw.WriteLine("USB vendor ID: {0:X4}h", dev.UsbVendorId);
|
||||
logSw.WriteLine("USB product ID: {0:X4}h", dev.UsbProductId);
|
||||
}
|
||||
logSw.WriteLine("FireWire device: {0}", dev.IsFireWire);
|
||||
if(dev.IsFireWire)
|
||||
{
|
||||
logSw.WriteLine("FireWire vendor: {0}", dev.FireWireVendorName);
|
||||
logSw.WriteLine("FireWire model: {0}", dev.FireWireModelName);
|
||||
logSw.WriteLine("FireWire GUID: 0x{0:X16}", dev.FireWireGUID);
|
||||
logSw.WriteLine("FireWire GUID: 0x{0:X16}", dev.FireWireGuid);
|
||||
logSw.WriteLine("FireWire vendor ID: 0x{0:X8}", dev.FireWireVendor);
|
||||
logSw.WriteLine("FireWire product ID: 0x{0:X8}", dev.FireWireModel);
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ using DiscImageChef.Devices;
|
||||
|
||||
namespace DiscImageChef.Core.Logging
|
||||
{
|
||||
class IBGLog
|
||||
class IbgLog
|
||||
{
|
||||
static FileStream ibgFs;
|
||||
static StringBuilder ibgSb;
|
||||
@@ -54,7 +54,7 @@ namespace DiscImageChef.Core.Logging
|
||||
static ulong ibgIntSector;
|
||||
static int ibgSampleRate;
|
||||
|
||||
internal IBGLog(string outputFile, ushort currentProfile)
|
||||
internal IbgLog(string outputFile, ushort currentProfile)
|
||||
{
|
||||
if(!string.IsNullOrEmpty(outputFile))
|
||||
{
|
||||
@@ -230,7 +230,7 @@ namespace DiscImageChef.Core.Logging
|
||||
StringBuilder ibgHeader = new StringBuilder();
|
||||
string ibgBusType;
|
||||
|
||||
if(dev.IsUSB) ibgBusType = "USB";
|
||||
if(dev.IsUsb) ibgBusType = "USB";
|
||||
else if(dev.IsFireWire) ibgBusType = "FireWire";
|
||||
else ibgBusType = dev.Type.ToString();
|
||||
|
||||
|
||||
@@ -37,11 +37,11 @@ using DiscImageChef.Devices;
|
||||
|
||||
namespace DiscImageChef.Core.Logging
|
||||
{
|
||||
class MHDDLog
|
||||
class MhddLog
|
||||
{
|
||||
FileStream mhddFs;
|
||||
|
||||
internal MHDDLog(string outputFile, Device dev, ulong blocks, ulong blockSize, ulong blocksToRead)
|
||||
internal MhddLog(string outputFile, Device dev, ulong blocks, ulong blockSize, ulong blocksToRead)
|
||||
{
|
||||
if(dev != null && !string.IsNullOrEmpty(outputFile))
|
||||
{
|
||||
@@ -98,7 +98,7 @@ namespace DiscImageChef.Core.Logging
|
||||
byte[] scanblocksizeBytes = Encoding.ASCII.GetBytes(scanblocksize);
|
||||
byte[] verBytes = Encoding.ASCII.GetBytes(ver);
|
||||
|
||||
uint Pointer = (uint)(deviceBytes.Length + modeBytes.Length + fwBytes.Length + snBytes.Length +
|
||||
uint pointer = (uint)(deviceBytes.Length + modeBytes.Length + fwBytes.Length + snBytes.Length +
|
||||
sectorsBytes.Length + sectorsizeBytes.Length + scanblocksizeBytes.Length +
|
||||
verBytes.Length + 2 * 9 + // New lines
|
||||
4); // Pointer
|
||||
@@ -107,7 +107,7 @@ namespace DiscImageChef.Core.Logging
|
||||
newLine[0] = 0x0D;
|
||||
newLine[1] = 0x0A;
|
||||
|
||||
mhddFs.Write(BitConverter.GetBytes(Pointer), 0, 4);
|
||||
mhddFs.Write(BitConverter.GetBytes(pointer), 0, 4);
|
||||
mhddFs.Write(newLine, 0, 2);
|
||||
mhddFs.Write(verBytes, 0, verBytes.Length);
|
||||
mhddFs.Write(newLine, 0, 2);
|
||||
|
||||
Reference in New Issue
Block a user