mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
Code styling.
This commit is contained in:
@@ -368,15 +368,15 @@ namespace Aaru.Server.Task
|
||||
|
||||
switch(manufacturer)
|
||||
{
|
||||
case"Lite-ON":
|
||||
case "Lite-ON":
|
||||
manufacturer = "JLMS";
|
||||
|
||||
break;
|
||||
case"LG Electronics":
|
||||
case "LG Electronics":
|
||||
manufacturer = "HL-DT-ST";
|
||||
|
||||
break;
|
||||
case"Panasonic":
|
||||
case "Panasonic":
|
||||
manufacturer = "MATSHITA";
|
||||
|
||||
break;
|
||||
@@ -472,46 +472,49 @@ namespace Aaru.Server.Task
|
||||
{
|
||||
var sr = new StreamReader("drive_offsets.json");
|
||||
|
||||
var offsets = JsonSerializer.Deserialize<CompactDiscOffset[]>(sr.ReadToEnd());
|
||||
CompactDiscOffset[] offsets = JsonSerializer.Deserialize<CompactDiscOffset[]>(sr.ReadToEnd());
|
||||
|
||||
if(offsets != null)
|
||||
{
|
||||
foreach(var offset in offsets)
|
||||
foreach(CompactDiscOffset offset in offsets)
|
||||
{
|
||||
CompactDiscOffset cdOffset =
|
||||
ctx.CdOffsets.FirstOrDefault(o => o.Manufacturer == offset.Manufacturer && o.Model == offset.Model);
|
||||
if(cdOffset is null)
|
||||
{
|
||||
offset.ModifiedWhen = DateTime.UtcNow;
|
||||
CompactDiscOffset cdOffset =
|
||||
ctx.CdOffsets.FirstOrDefault(o => o.Manufacturer == offset.Manufacturer &&
|
||||
o.Model == offset.Model);
|
||||
|
||||
ctx.CdOffsets.Add(offset);
|
||||
addedOffsets++;
|
||||
}
|
||||
else
|
||||
{
|
||||
if(Math.Abs(cdOffset.Agreement - offset.Agreement) > 0 || offset.Agreement < 0)
|
||||
{
|
||||
cdOffset.Agreement = offset.Agreement;
|
||||
cdOffset.ModifiedWhen = DateTime.UtcNow;
|
||||
}
|
||||
if(cdOffset is null)
|
||||
{
|
||||
offset.ModifiedWhen = DateTime.UtcNow;
|
||||
|
||||
if(cdOffset.Offset != offset.Offset)
|
||||
{
|
||||
cdOffset.Offset = offset.Offset;
|
||||
cdOffset.ModifiedWhen = DateTime.UtcNow;
|
||||
}
|
||||
ctx.CdOffsets.Add(offset);
|
||||
addedOffsets++;
|
||||
}
|
||||
else
|
||||
{
|
||||
if(Math.Abs(cdOffset.Agreement - offset.Agreement) > 0 ||
|
||||
offset.Agreement < 0)
|
||||
{
|
||||
cdOffset.Agreement = offset.Agreement;
|
||||
cdOffset.ModifiedWhen = DateTime.UtcNow;
|
||||
}
|
||||
|
||||
if(cdOffset.Submissions != offset.Submissions)
|
||||
{
|
||||
cdOffset.Submissions = offset.Submissions;
|
||||
cdOffset.ModifiedWhen = DateTime.UtcNow;
|
||||
}
|
||||
if(cdOffset.Offset != offset.Offset)
|
||||
{
|
||||
cdOffset.Offset = offset.Offset;
|
||||
cdOffset.ModifiedWhen = DateTime.UtcNow;
|
||||
}
|
||||
|
||||
if(Math.Abs(cdOffset.Agreement - offset.Agreement) > 0 ||
|
||||
cdOffset.Offset != offset.Offset ||
|
||||
cdOffset.Submissions != offset.Submissions)
|
||||
modifiedOffsets++;
|
||||
}
|
||||
if(cdOffset.Submissions != offset.Submissions)
|
||||
{
|
||||
cdOffset.Submissions = offset.Submissions;
|
||||
cdOffset.ModifiedWhen = DateTime.UtcNow;
|
||||
}
|
||||
|
||||
if(Math.Abs(cdOffset.Agreement - offset.Agreement) > 0 ||
|
||||
cdOffset.Offset != offset.Offset ||
|
||||
cdOffset.Submissions != offset.Submissions)
|
||||
modifiedOffsets++;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,9 +3,9 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using System.Threading.Tasks;
|
||||
using Aaru.Server.Models;
|
||||
using Aaru.CommonTypes.Metadata;
|
||||
using Aaru.CommonTypes.Structs.Devices.ATA;
|
||||
using Aaru.Server.Models;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
@@ -326,7 +326,7 @@ namespace Aaru.Server.Areas.Admin.Controllers
|
||||
}
|
||||
}
|
||||
else if(lv == null &&
|
||||
rv == null) { }
|
||||
rv == null) {}
|
||||
else if(lv != null &&
|
||||
rv == null)
|
||||
{
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Aaru.Server.Models;
|
||||
using Aaru.CommonTypes.Metadata;
|
||||
using Aaru.Server.Models;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Aaru.Server.Models;
|
||||
using Aaru.CommonTypes.Metadata;
|
||||
using Aaru.Server.Models;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Aaru.Server.Models;
|
||||
using Aaru.CommonTypes.Metadata;
|
||||
using Aaru.Server.Models;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Aaru.Server.Models;
|
||||
using Aaru.CommonTypes.Metadata;
|
||||
using Aaru.Server.Models;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.Threading.Tasks;
|
||||
using Aaru.Server.Models;
|
||||
using Aaru.CommonTypes.Metadata;
|
||||
using Aaru.Server.Models;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.Threading.Tasks;
|
||||
using Aaru.Server.Models;
|
||||
using Aaru.CommonTypes.Metadata;
|
||||
using Aaru.Server.Models;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.Threading.Tasks;
|
||||
using Aaru.Server.Models;
|
||||
using Aaru.CommonTypes.Metadata;
|
||||
using Aaru.Server.Models;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Aaru.Server.Models;
|
||||
using Aaru.CommonTypes.Metadata;
|
||||
using Aaru.Server.Models;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.Threading.Tasks;
|
||||
using Aaru.Server.Models;
|
||||
using Aaru.CommonTypes.Metadata;
|
||||
using Aaru.Server.Models;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.Threading.Tasks;
|
||||
using Aaru.Server.Models;
|
||||
using Aaru.CommonTypes.Metadata;
|
||||
using Aaru.Server.Models;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
@@ -3,9 +3,9 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using System.Threading.Tasks;
|
||||
using Aaru.Server.Models;
|
||||
using Aaru.CommonTypes.Metadata;
|
||||
using Aaru.CommonTypes.Structs.Devices.SCSI;
|
||||
using Aaru.Server.Models;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
@@ -300,7 +300,7 @@ namespace Aaru.Server.Areas.Admin.Controllers
|
||||
}
|
||||
}
|
||||
else if(lv == null &&
|
||||
rv == null) { }
|
||||
rv == null) {}
|
||||
else if(lv != null &&
|
||||
rv == null)
|
||||
{
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Aaru.Server.Models;
|
||||
using Aaru.CommonTypes.Metadata;
|
||||
using Aaru.Server.Models;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Aaru.Server.Models;
|
||||
using Aaru.CommonTypes.Metadata;
|
||||
using Aaru.Server.Models;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using System.Web;
|
||||
using Aaru.Server.Models;
|
||||
using Aaru.CommonTypes.Metadata;
|
||||
using Aaru.CommonTypes.Structs.Devices.SCSI;
|
||||
using Aaru.Decoders.ATA;
|
||||
@@ -9,6 +8,7 @@ using Aaru.Decoders.Bluray;
|
||||
using Aaru.Decoders.CD;
|
||||
using Aaru.Decoders.DVD;
|
||||
using Aaru.Decoders.SCSI;
|
||||
using Aaru.Server.Models;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Aaru.Server.Models;
|
||||
using Aaru.CommonTypes.Metadata;
|
||||
using Aaru.Server.Models;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Aaru.Server.Models;
|
||||
using Aaru.CommonTypes.Metadata;
|
||||
using Aaru.Server.Models;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
}
|
||||
ATA IDENTIFY DEVICE responses with possible private data
|
||||
|
||||
@if (!Model.Any())
|
||||
@if(!Model.Any())
|
||||
{
|
||||
<div>
|
||||
No private data found.
|
||||
@@ -91,7 +91,7 @@ ATA IDENTIFY DEVICE responses with possible private data
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model)
|
||||
@foreach(var item in Model)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
@@ -34,13 +34,13 @@
|
||||
// ****************************************************************************/
|
||||
}
|
||||
<h2>Comparing ATA IDENTIFY ID @Model.LeftId with ID @Model.RightId</h2>
|
||||
@if (Model.AreEqual)
|
||||
@if(Model.AreEqual)
|
||||
{
|
||||
<p>No differences found.</p>
|
||||
return;
|
||||
}
|
||||
|
||||
@if (Model.HasError)
|
||||
@if(Model.HasError)
|
||||
{
|
||||
<p class="alert-info">@Model.ErrorMessage</p>
|
||||
return;
|
||||
@@ -61,7 +61,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@for (var i = 0; i < Model.ValueNames.Count; i++)
|
||||
@for(var i = 0; i < Model.ValueNames.Count; i++)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model.List)
|
||||
@foreach(var item in Model.List)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model)
|
||||
@foreach(var item in Model)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model)
|
||||
@foreach(var item in Model)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model.List)
|
||||
@foreach(var item in Model.List)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model)
|
||||
@foreach(var item in Model)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model)
|
||||
@foreach(var item in Model)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model)
|
||||
@foreach(var item in Model)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model)
|
||||
@foreach(var item in Model)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
@@ -72,7 +72,7 @@
|
||||
@Html.DisplayFor(modelItem => item.Bus)
|
||||
</td>
|
||||
<td>
|
||||
@if (item.Report is null)
|
||||
@if(item.Report is null)
|
||||
{
|
||||
@("No")
|
||||
<a asp-action="Find" asp-controller="Devices" asp-route-id="@item.Id" asp-route-manufacturer="@item.Manufacturer" asp-route-model="@item.Model" asp-route-revision="@item.Revision" asp-route-bus="@item.Bus" target="_blank">(Find)</a>
|
||||
|
||||
@@ -91,61 +91,61 @@
|
||||
<a asp-action="Edit" asp-route-id="@Model.Report.Id" class="btn btn-primary">Edit</a>
|
||||
<a asp-action="Index" class="btn btn-secondary">Back to List</a>
|
||||
</div>
|
||||
@if (Model.ReadCapabilitiesId != 0)
|
||||
@if(Model.ReadCapabilitiesId != 0)
|
||||
{
|
||||
<div>
|
||||
<a asp-controller="TestedMedias" asp-action="Details" asp-route-id="@Model.ReadCapabilitiesId" target="_blank">Read capabilities</a>
|
||||
</div>
|
||||
}
|
||||
@if (Model.Report.ATA != null)
|
||||
@if(Model.Report.ATA != null)
|
||||
{
|
||||
<div>
|
||||
<a asp-controller="Atas" asp-action="Details" asp-route-id="@Model.Report.ATA.Id" target="_blank">ATA report</a>
|
||||
</div>
|
||||
}
|
||||
@if (Model.Report.ATAPI != null)
|
||||
@if(Model.Report.ATAPI != null)
|
||||
{
|
||||
<div>
|
||||
<a asp-controller="Atas" asp-action="Details" asp-route-id="@Model.Report.ATAPI.Id" target="_blank">ATAPI report</a>
|
||||
</div>
|
||||
}
|
||||
@if (Model.Report.SCSI != null)
|
||||
@if(Model.Report.SCSI != null)
|
||||
{
|
||||
<div>
|
||||
<a asp-controller="Scsis" asp-action="Details" asp-route-id="@Model.Report.SCSI.Id" target="_blank">SCSI report</a>
|
||||
</div>
|
||||
}
|
||||
@if (Model.Report.MultiMediaCard != null)
|
||||
@if(Model.Report.MultiMediaCard != null)
|
||||
{
|
||||
<div>
|
||||
<a asp-controller="MmcSds" asp-action="Details" asp-route-id="@Model.Report.MultiMediaCard.Id" target="_blank">MultiMediaCard report</a>
|
||||
</div>
|
||||
}
|
||||
@if (Model.Report.SecureDigital != null)
|
||||
@if(Model.Report.SecureDigital != null)
|
||||
{
|
||||
<div>
|
||||
<a asp-controller="MmcSds" asp-action="Details" asp-route-id="@Model.Report.SecureDigital.Id" target="_blank">SecureDigital report</a>
|
||||
</div>
|
||||
}
|
||||
@if (Model.Report.USB != null)
|
||||
@if(Model.Report.USB != null)
|
||||
{
|
||||
<div>
|
||||
<a asp-controller="Usbs" asp-action="Details" asp-route-id="@Model.Report.USB.Id" target="_blank">USB report</a>
|
||||
</div>
|
||||
}
|
||||
@if (Model.Report.FireWire != null)
|
||||
@if(Model.Report.FireWire != null)
|
||||
{
|
||||
<div>
|
||||
Has a FireWire report.
|
||||
</div>
|
||||
}
|
||||
@if (Model.Report.PCMCIA != null)
|
||||
@if(Model.Report.PCMCIA != null)
|
||||
{
|
||||
<div>
|
||||
Has a PCMCIA report.
|
||||
</div>
|
||||
}
|
||||
@if (Model.SameAll.Count > 0)
|
||||
@if(Model.SameAll.Count > 0)
|
||||
{
|
||||
<div>
|
||||
<h4>Other device reports with same manufacturer, model and revision:</h4>
|
||||
@@ -159,7 +159,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model.SameAll)
|
||||
@foreach(var item in Model.SameAll)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
@@ -175,7 +175,7 @@
|
||||
</table>
|
||||
</div>
|
||||
}
|
||||
@if (Model.SameButManufacturer.Count > 0)
|
||||
@if(Model.SameButManufacturer.Count > 0)
|
||||
{
|
||||
<div>
|
||||
<h4>Other device reports with same model and revision:</h4>
|
||||
@@ -189,7 +189,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model.SameButManufacturer)
|
||||
@foreach(var item in Model.SameButManufacturer)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
@@ -205,7 +205,7 @@
|
||||
</table>
|
||||
</div>
|
||||
}
|
||||
@if (Model.ReportAll.Count > 0)
|
||||
@if(Model.ReportAll.Count > 0)
|
||||
{
|
||||
<div>
|
||||
<h4>Uploaded reports with same manufacturer, model and revision:</h4>
|
||||
@@ -219,7 +219,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model.ReportAll)
|
||||
@foreach(var item in Model.ReportAll)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
@@ -235,7 +235,7 @@
|
||||
</table>
|
||||
</div>
|
||||
}
|
||||
@if (Model.ReportButManufacturer.Count > 0)
|
||||
@if(Model.ReportButManufacturer.Count > 0)
|
||||
{
|
||||
<div>
|
||||
<h4>Device reports with same model and revision:</h4>
|
||||
@@ -249,7 +249,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model.ReportButManufacturer)
|
||||
@foreach(var item in Model.ReportButManufacturer)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
@@ -265,7 +265,7 @@
|
||||
</table>
|
||||
</div>
|
||||
}
|
||||
@if (Model.StatsAll.Count > 0)
|
||||
@if(Model.StatsAll.Count > 0)
|
||||
{
|
||||
<div>
|
||||
<h4>Device statistics with same manufacturer, model and revision:</h4>
|
||||
@@ -291,7 +291,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model.StatsAll)
|
||||
@foreach(var item in Model.StatsAll)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
@@ -307,13 +307,13 @@
|
||||
@Html.DisplayFor(modelItem => item.Bus)
|
||||
</td>
|
||||
<td>
|
||||
@if (item.Report is null)
|
||||
@if(item.Report is null)
|
||||
{
|
||||
@("No")
|
||||
}
|
||||
else
|
||||
{
|
||||
@if (item.Report.Id == Model.Report.Id)
|
||||
@if(item.Report.Id == Model.Report.Id)
|
||||
{
|
||||
@("Us")
|
||||
}
|
||||
@@ -332,7 +332,7 @@
|
||||
</table>
|
||||
</div>
|
||||
}
|
||||
@if (Model.StatsButManufacturer.Count > 0)
|
||||
@if(Model.StatsButManufacturer.Count > 0)
|
||||
{
|
||||
<div>
|
||||
<h4>Device statistics with same model and revision:</h4>
|
||||
@@ -358,7 +358,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model.StatsButManufacturer)
|
||||
@foreach(var item in Model.StatsButManufacturer)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
@@ -374,7 +374,7 @@
|
||||
@Html.DisplayFor(modelItem => item.Bus)
|
||||
</td>
|
||||
<td>
|
||||
@if (item.Report is null)
|
||||
@if(item.Report is null)
|
||||
{
|
||||
@("No")
|
||||
}
|
||||
@@ -392,7 +392,7 @@
|
||||
</table>
|
||||
</div>
|
||||
}
|
||||
@if (Model.TestedMedias.Count > 0)
|
||||
@if(Model.TestedMedias.Count > 0)
|
||||
{
|
||||
<div>
|
||||
<h4>Tested media:</h4>
|
||||
@@ -412,7 +412,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model.TestedMedias)
|
||||
@foreach(var item in Model.TestedMedias)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
@@ -433,7 +433,7 @@
|
||||
</table>
|
||||
</div>
|
||||
}
|
||||
@if (Model.TestedSequentialMedias.Count > 0)
|
||||
@if(Model.TestedSequentialMedias.Count > 0)
|
||||
{
|
||||
<div>
|
||||
<h4>Tested media:</h4>
|
||||
@@ -453,7 +453,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model.TestedSequentialMedias)
|
||||
@foreach(var item in Model.TestedSequentialMedias)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
@if (Model.LikeDevices.Count == 0)
|
||||
@if(Model.LikeDevices.Count == 0)
|
||||
{
|
||||
<div>No device report with similar information has been found!</div>
|
||||
}
|
||||
@@ -91,7 +91,7 @@ else
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model.LikeDevices)
|
||||
@foreach(var item in Model.LikeDevices)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model)
|
||||
@foreach(var item in Model)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model)
|
||||
@foreach(var item in Model)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model)
|
||||
@foreach(var item in Model)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model.List)
|
||||
@foreach(var item in Model.List)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model)
|
||||
@foreach(var item in Model)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model)
|
||||
@foreach(var item in Model)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model)
|
||||
@foreach(var item in Model)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
@@ -51,14 +51,14 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model)
|
||||
@foreach(var item in Model)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.Id)
|
||||
</td>
|
||||
<td>
|
||||
@if (item.FeaturesId != null)
|
||||
@if(item.FeaturesId != null)
|
||||
{
|
||||
<a asp-action="details" asp-controller="MmcFeatures" asp-route-id="@item.FeaturesId" target="_blank">@Html.DisplayFor(modelItem => item.FeaturesId)</a>
|
||||
}
|
||||
|
||||
@@ -410,7 +410,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model)
|
||||
@foreach(var item in Model)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
@@ -40,9 +40,9 @@
|
||||
<h4>MultiMediaCard / SecureDigital registers</h4>
|
||||
<hr />
|
||||
<dl class="row">
|
||||
@if (Model.SCR != null)
|
||||
@if(Model.SCR != null)
|
||||
{
|
||||
if (Model.CID != null)
|
||||
if(Model.CID != null)
|
||||
{
|
||||
<dt class="col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.CID)
|
||||
@@ -51,7 +51,7 @@
|
||||
@Html.Raw(Html.EncodedMultiLineText(Decoders.PrettifyCID(Model.CID)))
|
||||
</dd>
|
||||
}
|
||||
if (Model.CSD != null)
|
||||
if(Model.CSD != null)
|
||||
{
|
||||
<dt class="col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.CSD)
|
||||
@@ -60,7 +60,7 @@
|
||||
@Html.Raw(Html.EncodedMultiLineText(Decoders.PrettifyCSD(Model.CSD)))
|
||||
</dd>
|
||||
}
|
||||
if (Model.OCR != null)
|
||||
if(Model.OCR != null)
|
||||
{
|
||||
<dt class="col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.OCR)
|
||||
@@ -79,7 +79,7 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
if (Model.CID != null)
|
||||
if(Model.CID != null)
|
||||
{
|
||||
<dt class="col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.CID)
|
||||
@@ -88,7 +88,7 @@
|
||||
@Html.Raw(Html.EncodedMultiLineText(Aaru.Decoders.MMC.Decoders.PrettifyCID(Model.CID)))
|
||||
</dd>
|
||||
}
|
||||
if (Model.CSD != null)
|
||||
if(Model.CSD != null)
|
||||
{
|
||||
<dt class="col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.CSD)
|
||||
@@ -97,7 +97,7 @@
|
||||
@Html.Raw(Html.EncodedMultiLineText(Aaru.Decoders.MMC.Decoders.PrettifyCSD(Model.CSD)))
|
||||
</dd>
|
||||
}
|
||||
if (Model.OCR != null)
|
||||
if(Model.OCR != null)
|
||||
{
|
||||
<dt class="col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.OCR)
|
||||
@@ -107,7 +107,7 @@
|
||||
</dd>
|
||||
}
|
||||
|
||||
if (Model.ExtendedCSD != null)
|
||||
if(Model.ExtendedCSD != null)
|
||||
{
|
||||
<dt class="col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.ExtendedCSD)
|
||||
|
||||
@@ -39,9 +39,9 @@
|
||||
<h4>MultiMediaCard / SecureDigital registers</h4>
|
||||
<hr />
|
||||
<dl class="row">
|
||||
@if (Model.SCR != null)
|
||||
@if(Model.SCR != null)
|
||||
{
|
||||
if (Model.CID != null)
|
||||
if(Model.CID != null)
|
||||
{
|
||||
<dt class="col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.CID)
|
||||
@@ -50,7 +50,7 @@
|
||||
@Html.Raw(Html.EncodedMultiLineText(Decoders.PrettifyCID(Model.CID)))
|
||||
</dd>
|
||||
}
|
||||
if (Model.CSD != null)
|
||||
if(Model.CSD != null)
|
||||
{
|
||||
<dt class="col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.CSD)
|
||||
@@ -59,7 +59,7 @@
|
||||
@Html.Raw(Html.EncodedMultiLineText(Decoders.PrettifyCSD(Model.CSD)))
|
||||
</dd>
|
||||
}
|
||||
if (Model.OCR != null)
|
||||
if(Model.OCR != null)
|
||||
{
|
||||
<dt class="col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.OCR)
|
||||
@@ -78,7 +78,7 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
if (Model.CID != null)
|
||||
if(Model.CID != null)
|
||||
{
|
||||
<dt class="col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.CID)
|
||||
@@ -87,7 +87,7 @@
|
||||
@Html.Raw(Html.EncodedMultiLineText(Aaru.Decoders.MMC.Decoders.PrettifyCID(Model.CID)))
|
||||
</dd>
|
||||
}
|
||||
if (Model.CSD != null)
|
||||
if(Model.CSD != null)
|
||||
{
|
||||
<dt class="col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.CSD)
|
||||
@@ -96,7 +96,7 @@
|
||||
@Html.Raw(Html.EncodedMultiLineText(Aaru.Decoders.MMC.Decoders.PrettifyCSD(Model.CSD)))
|
||||
</dd>
|
||||
}
|
||||
if (Model.OCR != null)
|
||||
if(Model.OCR != null)
|
||||
{
|
||||
<dt class="col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.OCR)
|
||||
@@ -106,7 +106,7 @@
|
||||
</dd>
|
||||
}
|
||||
|
||||
if (Model.ExtendedCSD != null)
|
||||
if(Model.ExtendedCSD != null)
|
||||
{
|
||||
<dt class="col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.ExtendedCSD)
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model)
|
||||
@foreach(var item in Model)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model)
|
||||
@foreach(var item in Model)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model)
|
||||
@foreach(var item in Model)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model)
|
||||
@foreach(var item in Model)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
@@ -50,61 +50,61 @@
|
||||
<a asp-action="Promote" asp-route-id="@Model.Report.Id" class="btn btn-secondary">Promote</a>
|
||||
<a asp-action="Index" class="btn btn-secondary">Back to List</a>
|
||||
</div>
|
||||
@if (Model.ReadCapabilitiesId != 0)
|
||||
@if(Model.ReadCapabilitiesId != 0)
|
||||
{
|
||||
<div>
|
||||
<a asp-controller="TestedMedias" asp-action="Details" asp-route-id="@Model.ReadCapabilitiesId" target="_blank">Read capabilities</a>
|
||||
</div>
|
||||
}
|
||||
@if (Model.Report.ATA != null)
|
||||
@if(Model.Report.ATA != null)
|
||||
{
|
||||
<div>
|
||||
<a asp-controller="Atas" asp-action="Details" asp-route-id="@Model.Report.ATA.Id" target="_blank">ATA report</a>
|
||||
</div>
|
||||
}
|
||||
@if (Model.Report.ATAPI != null)
|
||||
@if(Model.Report.ATAPI != null)
|
||||
{
|
||||
<div>
|
||||
<a asp-controller="Atas" asp-action="Details" asp-route-id="@Model.Report.ATAPI.Id" target="_blank">ATAPI report</a>
|
||||
</div>
|
||||
}
|
||||
@if (Model.Report.SCSI != null)
|
||||
@if(Model.Report.SCSI != null)
|
||||
{
|
||||
<div>
|
||||
<a asp-controller="Scsis" asp-action="Details" asp-route-id="@Model.Report.SCSI.Id" target="_blank">SCSI report</a>
|
||||
</div>
|
||||
}
|
||||
@if (Model.Report.MultiMediaCard != null)
|
||||
@if(Model.Report.MultiMediaCard != null)
|
||||
{
|
||||
<div>
|
||||
<a asp-controller="MmcSds" asp-action="Details" asp-route-id="@Model.Report.MultiMediaCard.Id" target="_blank">MultiMediaCard report</a>
|
||||
</div>
|
||||
}
|
||||
@if (Model.Report.SecureDigital != null)
|
||||
@if(Model.Report.SecureDigital != null)
|
||||
{
|
||||
<div>
|
||||
<a asp-controller="MmcSds" asp-action="Details" asp-route-id="@Model.Report.SecureDigital.Id" target="_blank">SecureDigital report</a>
|
||||
</div>
|
||||
}
|
||||
@if (Model.Report.USB != null)
|
||||
@if(Model.Report.USB != null)
|
||||
{
|
||||
<div>
|
||||
<a asp-controller="Usbs" asp-action="Details" asp-route-id="@Model.Report.USB.Id" target="_blank">USB report</a>
|
||||
</div>
|
||||
}
|
||||
@if (Model.Report.FireWire != null)
|
||||
@if(Model.Report.FireWire != null)
|
||||
{
|
||||
<div>
|
||||
Has a FireWire report.
|
||||
</div>
|
||||
}
|
||||
@if (Model.Report.PCMCIA != null)
|
||||
@if(Model.Report.PCMCIA != null)
|
||||
{
|
||||
<div>
|
||||
Has a PCMCIA report.
|
||||
</div>
|
||||
}
|
||||
@if (Model.SameAll.Count > 0)
|
||||
@if(Model.SameAll.Count > 0)
|
||||
{
|
||||
<div>
|
||||
<h4>Other uploaded reports with same manufacturer, model and revision:</h4>
|
||||
@@ -118,7 +118,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model.SameAll)
|
||||
@foreach(var item in Model.SameAll)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
@@ -134,7 +134,7 @@
|
||||
</table>
|
||||
</div>
|
||||
}
|
||||
@if (Model.SameButManufacturer.Count > 0)
|
||||
@if(Model.SameButManufacturer.Count > 0)
|
||||
{
|
||||
<div>
|
||||
<h4>Other uploaded reports with same model and revision:</h4>
|
||||
@@ -148,7 +148,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model.SameButManufacturer)
|
||||
@foreach(var item in Model.SameButManufacturer)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
@@ -164,7 +164,7 @@
|
||||
</table>
|
||||
</div>
|
||||
}
|
||||
@if (Model.ReportAll.Count > 0)
|
||||
@if(Model.ReportAll.Count > 0)
|
||||
{
|
||||
<div>
|
||||
<h4>Device reports with same manufacturer, model and revision:</h4>
|
||||
@@ -178,7 +178,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model.ReportAll)
|
||||
@foreach(var item in Model.ReportAll)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
@@ -194,7 +194,7 @@
|
||||
</table>
|
||||
</div>
|
||||
}
|
||||
@if (Model.ReportButManufacturer.Count > 0)
|
||||
@if(Model.ReportButManufacturer.Count > 0)
|
||||
{
|
||||
<div>
|
||||
<h4>Device reports with same model and revision:</h4>
|
||||
@@ -208,7 +208,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model.ReportButManufacturer)
|
||||
@foreach(var item in Model.ReportButManufacturer)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
@@ -224,7 +224,7 @@
|
||||
</table>
|
||||
</div>
|
||||
}
|
||||
@if (Model.TestedMedias.Count > 0)
|
||||
@if(Model.TestedMedias.Count > 0)
|
||||
{
|
||||
<div>
|
||||
<h4>Tested media:</h4>
|
||||
@@ -244,7 +244,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model.TestedMedias)
|
||||
@foreach(var item in Model.TestedMedias)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
@@ -265,7 +265,7 @@
|
||||
</table>
|
||||
</div>
|
||||
}
|
||||
@if (Model.TestedSequentialMedias.Count > 0)
|
||||
@if(Model.TestedSequentialMedias.Count > 0)
|
||||
{
|
||||
<div>
|
||||
<h4>Tested media:</h4>
|
||||
@@ -285,7 +285,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model.TestedSequentialMedias)
|
||||
@foreach(var item in Model.TestedSequentialMedias)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model)
|
||||
@foreach(var item in Model)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model)
|
||||
@foreach(var item in Model)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model)
|
||||
@foreach(var item in Model)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
@@ -34,13 +34,13 @@
|
||||
// ****************************************************************************/
|
||||
}
|
||||
<h2>Comparing SCSI INQUIRY ID @Model.LeftId with ID @Model.RightId</h2>
|
||||
@if (Model.AreEqual)
|
||||
@if(Model.AreEqual)
|
||||
{
|
||||
<p>No differences found.</p>
|
||||
return;
|
||||
}
|
||||
|
||||
@if (Model.HasError)
|
||||
@if(Model.HasError)
|
||||
{
|
||||
<p class="alert-info">@Model.ErrorMessage</p>
|
||||
return;
|
||||
@@ -61,7 +61,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@for (var i = 0; i < Model.ValueNames.Count; i++)
|
||||
@for(var i = 0; i < Model.ValueNames.Count; i++)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model.List)
|
||||
@foreach(var item in Model.List)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model)
|
||||
@foreach(var item in Model)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
<html>
|
||||
<meta charset="UTF-8">
|
||||
<head>
|
||||
@switch (DateTime.UtcNow.DayOfYear)
|
||||
@switch(DateTime.UtcNow.DayOfYear)
|
||||
{
|
||||
// 24th January, Macintosh launch
|
||||
case 24:
|
||||
@@ -77,7 +77,7 @@
|
||||
DiscImageChef
|
||||
</a>
|
||||
</i> Server Administrative Area
|
||||
@if (SignInManager.IsSignedIn(User))
|
||||
@if(SignInManager.IsSignedIn(User))
|
||||
{
|
||||
<div>
|
||||
<a asp-area="Identity" asp-page="/Account/Manage/Index" class="text-dark" id="manage" title="Manage">Hello @UserManager.GetUserName(User)!</a>
|
||||
@@ -103,7 +103,7 @@
|
||||
Claunia.com
|
||||
</a>
|
||||
<br />
|
||||
@switch (DateTime.UtcNow.DayOfYear)
|
||||
@switch(DateTime.UtcNow.DayOfYear)
|
||||
{
|
||||
// 24th January, Macintosh launch
|
||||
case 24:
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@inject SignInManager<IdentityUser> SignInManager
|
||||
@inject UserManager<IdentityUser> UserManager
|
||||
<ul class="navbar-nav">
|
||||
@if (SignInManager.IsSignedIn(User))
|
||||
@if(SignInManager.IsSignedIn(User))
|
||||
{
|
||||
<li class="nav-item">
|
||||
<a asp-area="Identity" asp-page="/Account/Manage/Index" class="nav-link text-dark" id="manage" title="Manage">Hello @UserManager.GetUserName(User)!</a>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model.List)
|
||||
@foreach(var item in Model.List)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model)
|
||||
@foreach(var item in Model)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model)
|
||||
@foreach(var item in Model)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
@Html.DisplayNameFor(model => model.IdentifyData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.IdentifyData != null)
|
||||
@if(Model.IdentifyData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.IdentifyData)">@Model.IdentifyData.Length bytes</a>
|
||||
}
|
||||
@@ -253,7 +253,7 @@
|
||||
@Html.DisplayNameFor(model => model.Density)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.Density is null)
|
||||
@if(Model.Density is null)
|
||||
{
|
||||
@("<null>")
|
||||
}
|
||||
@@ -284,7 +284,7 @@
|
||||
@Html.DisplayNameFor(model => model.MediumType)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.MediumType is null)
|
||||
@if(Model.MediumType is null)
|
||||
{
|
||||
@("<null>")
|
||||
}
|
||||
@@ -417,7 +417,7 @@
|
||||
@Html.DisplayNameFor(model => model.ModeSense6Data)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.ModeSense6Data != null)
|
||||
@if(Model.ModeSense6Data != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.ModeSense6Data)">@Model.ModeSense6Data.Length bytes</a>
|
||||
}
|
||||
@@ -430,7 +430,7 @@
|
||||
@Html.DisplayNameFor(model => model.ModeSense10Data)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.ModeSense10Data != null)
|
||||
@if(Model.ModeSense10Data != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.ModeSense10Data)">@Model.ModeSense10Data.Length bytes</a>
|
||||
}
|
||||
@@ -479,7 +479,7 @@
|
||||
@Html.DisplayNameFor(model => model.UnformattedBPT)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.UnformattedBPT is null)
|
||||
@if(Model.UnformattedBPT is null)
|
||||
{
|
||||
@("<null>")
|
||||
}
|
||||
@@ -492,7 +492,7 @@
|
||||
@Html.DisplayNameFor(model => model.UnformattedBPS)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.UnformattedBPS is null)
|
||||
@if(Model.UnformattedBPS is null)
|
||||
{
|
||||
@("<null>")
|
||||
}
|
||||
@@ -607,7 +607,7 @@
|
||||
@Html.DisplayNameFor(model => model.IntersessionLeadInData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.IntersessionLeadInData != null)
|
||||
@if(Model.IntersessionLeadInData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.IntersessionLeadInData)">@Model.IntersessionLeadInData.Length bytes</a>
|
||||
}
|
||||
@@ -620,7 +620,7 @@
|
||||
@Html.DisplayNameFor(model => model.IntersessionLeadOutData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.IntersessionLeadOutData != null)
|
||||
@if(Model.IntersessionLeadOutData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.IntersessionLeadOutData)">@Model.IntersessionLeadOutData.Length bytes</a>
|
||||
}
|
||||
@@ -633,7 +633,7 @@
|
||||
@Html.DisplayNameFor(model => model.Read6Data)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.Read6Data != null)
|
||||
@if(Model.Read6Data != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.Read6Data)">@Model.Read6Data.Length bytes</a>
|
||||
}
|
||||
@@ -646,7 +646,7 @@
|
||||
@Html.DisplayNameFor(model => model.Read10Data)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.Read10Data != null)
|
||||
@if(Model.Read10Data != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.Read10Data)">@Model.Read10Data.Length bytes</a>
|
||||
}
|
||||
@@ -659,7 +659,7 @@
|
||||
@Html.DisplayNameFor(model => model.Read12Data)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.Read12Data != null)
|
||||
@if(Model.Read12Data != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.Read12Data)">@Model.Read12Data.Length bytes</a>
|
||||
}
|
||||
@@ -672,7 +672,7 @@
|
||||
@Html.DisplayNameFor(model => model.Read16Data)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.Read16Data != null)
|
||||
@if(Model.Read16Data != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.Read16Data)">@Model.Read16Data.Length bytes</a>
|
||||
}
|
||||
@@ -685,7 +685,7 @@
|
||||
@Html.DisplayNameFor(model => model.ReadLong10Data)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.ReadLong10Data != null)
|
||||
@if(Model.ReadLong10Data != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.ReadLong10Data)">@Model.ReadLong10Data.Length bytes</a>
|
||||
}
|
||||
@@ -698,7 +698,7 @@
|
||||
@Html.DisplayNameFor(model => model.ReadLong16Data)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.ReadLong16Data != null)
|
||||
@if(Model.ReadLong16Data != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.ReadLong16Data)">@Model.ReadLong16Data.Length bytes</a>
|
||||
}
|
||||
@@ -711,7 +711,7 @@
|
||||
@Html.DisplayNameFor(model => model.ReadSectorsData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.ReadSectorsData != null)
|
||||
@if(Model.ReadSectorsData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.ReadSectorsData)">@Model.ReadSectorsData.Length bytes</a>
|
||||
}
|
||||
@@ -724,7 +724,7 @@
|
||||
@Html.DisplayNameFor(model => model.ReadSectorsRetryData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.ReadSectorsRetryData != null)
|
||||
@if(Model.ReadSectorsRetryData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.ReadSectorsRetryData)">@Model.ReadSectorsRetryData.Length bytes</a>
|
||||
}
|
||||
@@ -737,7 +737,7 @@
|
||||
@Html.DisplayNameFor(model => model.ReadDmaData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.ReadDmaData != null)
|
||||
@if(Model.ReadDmaData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.ReadDmaData)">@Model.ReadDmaData.Length bytes</a>
|
||||
}
|
||||
@@ -750,7 +750,7 @@
|
||||
@Html.DisplayNameFor(model => model.ReadDmaRetryData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.ReadDmaRetryData != null)
|
||||
@if(Model.ReadDmaRetryData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.ReadDmaRetryData)">@Model.ReadDmaRetryData.Length bytes</a>
|
||||
}
|
||||
@@ -763,7 +763,7 @@
|
||||
@Html.DisplayNameFor(model => model.ReadLbaData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.ReadLbaData != null)
|
||||
@if(Model.ReadLbaData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.ReadLbaData)">@Model.ReadLbaData.Length bytes</a>
|
||||
}
|
||||
@@ -776,7 +776,7 @@
|
||||
@Html.DisplayNameFor(model => model.ReadRetryLbaData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.ReadRetryLbaData != null)
|
||||
@if(Model.ReadRetryLbaData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.ReadRetryLbaData)">@Model.ReadRetryLbaData.Length bytes</a>
|
||||
}
|
||||
@@ -789,7 +789,7 @@
|
||||
@Html.DisplayNameFor(model => model.ReadDmaLbaData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.ReadDmaLbaData != null)
|
||||
@if(Model.ReadDmaLbaData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.ReadDmaLbaData)">@Model.ReadDmaLbaData.Length bytes</a>
|
||||
}
|
||||
@@ -802,7 +802,7 @@
|
||||
@Html.DisplayNameFor(model => model.ReadDmaRetryLbaData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.ReadDmaRetryLbaData != null)
|
||||
@if(Model.ReadDmaRetryLbaData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.ReadDmaRetryLbaData)">@Model.ReadDmaRetryLbaData.Length bytes</a>
|
||||
}
|
||||
@@ -815,7 +815,7 @@
|
||||
@Html.DisplayNameFor(model => model.ReadLba48Data)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.ReadLba48Data != null)
|
||||
@if(Model.ReadLba48Data != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.ReadLba48Data)">@Model.ReadLba48Data.Length bytes</a>
|
||||
}
|
||||
@@ -828,7 +828,7 @@
|
||||
@Html.DisplayNameFor(model => model.ReadDmaLba48Data)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.ReadDmaLba48Data != null)
|
||||
@if(Model.ReadDmaLba48Data != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.ReadDmaLba48Data)">@Model.ReadDmaLba48Data.Length bytes</a>
|
||||
}
|
||||
@@ -841,7 +841,7 @@
|
||||
@Html.DisplayNameFor(model => model.ReadLongData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.ReadLongData != null)
|
||||
@if(Model.ReadLongData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.ReadLongData)">@Model.ReadLongData.Length bytes</a>
|
||||
}
|
||||
@@ -854,7 +854,7 @@
|
||||
@Html.DisplayNameFor(model => model.ReadLongRetryData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.ReadLongRetryData != null)
|
||||
@if(Model.ReadLongRetryData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.ReadLongRetryData)">@Model.ReadLongRetryData.Length bytes</a>
|
||||
}
|
||||
@@ -867,7 +867,7 @@
|
||||
@Html.DisplayNameFor(model => model.ReadLongLbaData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.ReadLongLbaData != null)
|
||||
@if(Model.ReadLongLbaData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.ReadLongLbaData)">@Model.ReadLongLbaData.Length bytes</a>
|
||||
}
|
||||
@@ -880,7 +880,7 @@
|
||||
@Html.DisplayNameFor(model => model.ReadLongRetryLbaData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.ReadLongRetryLbaData != null)
|
||||
@if(Model.ReadLongRetryLbaData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.ReadLongRetryLbaData)">@Model.ReadLongRetryLbaData.Length bytes</a>
|
||||
}
|
||||
@@ -893,7 +893,7 @@
|
||||
@Html.DisplayNameFor(model => model.TocData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.TocData != null)
|
||||
@if(Model.TocData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.TocData)">@Model.TocData.Length bytes</a>
|
||||
}
|
||||
@@ -906,7 +906,7 @@
|
||||
@Html.DisplayNameFor(model => model.FullTocData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.FullTocData != null)
|
||||
@if(Model.FullTocData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.FullTocData)">@Model.FullTocData.Length bytes</a>
|
||||
}
|
||||
@@ -919,7 +919,7 @@
|
||||
@Html.DisplayNameFor(model => model.AtipData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.AtipData != null)
|
||||
@if(Model.AtipData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.AtipData)">@Model.AtipData.Length bytes</a>
|
||||
}
|
||||
@@ -932,7 +932,7 @@
|
||||
@Html.DisplayNameFor(model => model.PmaData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.PmaData != null)
|
||||
@if(Model.PmaData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.PmaData)">@Model.PmaData.Length bytes</a>
|
||||
}
|
||||
@@ -945,7 +945,7 @@
|
||||
@Html.DisplayNameFor(model => model.ReadCdData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.ReadCdData != null)
|
||||
@if(Model.ReadCdData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.ReadCdData)">@Model.ReadCdData.Length bytes</a>
|
||||
}
|
||||
@@ -958,7 +958,7 @@
|
||||
@Html.DisplayNameFor(model => model.ReadCdMsfData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.ReadCdMsfData != null)
|
||||
@if(Model.ReadCdMsfData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.ReadCdMsfData)">@Model.ReadCdMsfData.Length bytes</a>
|
||||
}
|
||||
@@ -971,7 +971,7 @@
|
||||
@Html.DisplayNameFor(model => model.ReadCdFullData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.ReadCdFullData != null)
|
||||
@if(Model.ReadCdFullData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.ReadCdFullData)">@Model.ReadCdFullData.Length bytes</a>
|
||||
}
|
||||
@@ -984,7 +984,7 @@
|
||||
@Html.DisplayNameFor(model => model.ReadCdMsfFullData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.ReadCdMsfFullData != null)
|
||||
@if(Model.ReadCdMsfFullData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.ReadCdMsfFullData)">@Model.ReadCdMsfFullData.Length bytes</a>
|
||||
}
|
||||
@@ -997,7 +997,7 @@
|
||||
@Html.DisplayNameFor(model => model.Track1PregapData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.Track1PregapData != null)
|
||||
@if(Model.Track1PregapData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.Track1PregapData)">@Model.Track1PregapData.Length bytes</a>
|
||||
}
|
||||
@@ -1010,7 +1010,7 @@
|
||||
@Html.DisplayNameFor(model => model.LeadInData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.LeadInData != null)
|
||||
@if(Model.LeadInData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.LeadInData)">@Model.LeadInData.Length bytes</a>
|
||||
}
|
||||
@@ -1023,7 +1023,7 @@
|
||||
@Html.DisplayNameFor(model => model.LeadOutData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.LeadOutData != null)
|
||||
@if(Model.LeadOutData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.LeadOutData)">@Model.LeadOutData.Length bytes</a>
|
||||
}
|
||||
@@ -1036,7 +1036,7 @@
|
||||
@Html.DisplayNameFor(model => model.C2PointersData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.C2PointersData != null)
|
||||
@if(Model.C2PointersData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.C2PointersData)">@Model.C2PointersData.Length bytes</a>
|
||||
}
|
||||
@@ -1049,7 +1049,7 @@
|
||||
@Html.DisplayNameFor(model => model.PQSubchannelData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.PQSubchannelData != null)
|
||||
@if(Model.PQSubchannelData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.PQSubchannelData)">@Model.PQSubchannelData.Length bytes</a>
|
||||
}
|
||||
@@ -1062,7 +1062,7 @@
|
||||
@Html.DisplayNameFor(model => model.RWSubchannelData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.RWSubchannelData != null)
|
||||
@if(Model.RWSubchannelData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.RWSubchannelData)">@Model.RWSubchannelData.Length bytes</a>
|
||||
}
|
||||
@@ -1075,7 +1075,7 @@
|
||||
@Html.DisplayNameFor(model => model.CorrectedSubchannelData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.CorrectedSubchannelData != null)
|
||||
@if(Model.CorrectedSubchannelData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.CorrectedSubchannelData)">@Model.CorrectedSubchannelData.Length bytes</a>
|
||||
}
|
||||
@@ -1088,7 +1088,7 @@
|
||||
@Html.DisplayNameFor(model => model.PQSubchannelWithC2Data)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.PQSubchannelWithC2Data != null)
|
||||
@if(Model.PQSubchannelWithC2Data != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.PQSubchannelWithC2Data)">@Model.PQSubchannelWithC2Data.Length bytes</a>
|
||||
}
|
||||
@@ -1101,7 +1101,7 @@
|
||||
@Html.DisplayNameFor(model => model.RWSubchannelWithC2Data)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.RWSubchannelWithC2Data != null)
|
||||
@if(Model.RWSubchannelWithC2Data != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.RWSubchannelWithC2Data)">@Model.RWSubchannelWithC2Data.Length bytes</a>
|
||||
}
|
||||
@@ -1114,7 +1114,7 @@
|
||||
@Html.DisplayNameFor(model => model.CorrectedSubchannelWithC2Data)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.CorrectedSubchannelWithC2Data != null)
|
||||
@if(Model.CorrectedSubchannelWithC2Data != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.CorrectedSubchannelWithC2Data)">@Model.CorrectedSubchannelWithC2Data.Length bytes</a>
|
||||
}
|
||||
@@ -1127,7 +1127,7 @@
|
||||
@Html.DisplayNameFor(model => model.PfiData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.PfiData != null)
|
||||
@if(Model.PfiData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.PfiData)">@Model.PfiData.Length bytes</a>
|
||||
}
|
||||
@@ -1140,7 +1140,7 @@
|
||||
@Html.DisplayNameFor(model => model.DmiData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.DmiData != null)
|
||||
@if(Model.DmiData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.DmiData)">@Model.DmiData.Length bytes</a>
|
||||
}
|
||||
@@ -1153,7 +1153,7 @@
|
||||
@Html.DisplayNameFor(model => model.CmiData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.CmiData != null)
|
||||
@if(Model.CmiData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.CmiData)">@Model.CmiData.Length bytes</a>
|
||||
}
|
||||
@@ -1166,7 +1166,7 @@
|
||||
@Html.DisplayNameFor(model => model.DvdBcaData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.DvdBcaData != null)
|
||||
@if(Model.DvdBcaData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.DvdBcaData)">@Model.DvdBcaData.Length bytes</a>
|
||||
}
|
||||
@@ -1179,7 +1179,7 @@
|
||||
@Html.DisplayNameFor(model => model.DvdAacsData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.DvdAacsData != null)
|
||||
@if(Model.DvdAacsData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.DvdAacsData)">@Model.DvdAacsData.Length bytes</a>
|
||||
}
|
||||
@@ -1192,7 +1192,7 @@
|
||||
@Html.DisplayNameFor(model => model.DvdDdsData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.DvdDdsData != null)
|
||||
@if(Model.DvdDdsData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.DvdDdsData)">@Model.DvdDdsData.Length bytes</a>
|
||||
}
|
||||
@@ -1205,7 +1205,7 @@
|
||||
@Html.DisplayNameFor(model => model.DvdSaiData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.DvdSaiData != null)
|
||||
@if(Model.DvdSaiData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.DvdSaiData)">@Model.DvdSaiData.Length bytes</a>
|
||||
}
|
||||
@@ -1218,7 +1218,7 @@
|
||||
@Html.DisplayNameFor(model => model.PriData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.PriData != null)
|
||||
@if(Model.PriData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.PriData)">@Model.PriData.Length bytes</a>
|
||||
}
|
||||
@@ -1231,7 +1231,7 @@
|
||||
@Html.DisplayNameFor(model => model.EmbossedPfiData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.EmbossedPfiData != null)
|
||||
@if(Model.EmbossedPfiData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.EmbossedPfiData)">@Model.EmbossedPfiData.Length bytes</a>
|
||||
}
|
||||
@@ -1244,7 +1244,7 @@
|
||||
@Html.DisplayNameFor(model => model.AdipData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.AdipData != null)
|
||||
@if(Model.AdipData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.AdipData)">@Model.AdipData.Length bytes</a>
|
||||
}
|
||||
@@ -1257,7 +1257,7 @@
|
||||
@Html.DisplayNameFor(model => model.DcbData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.DcbData != null)
|
||||
@if(Model.DcbData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.DcbData)">@Model.DcbData.Length bytes</a>
|
||||
}
|
||||
@@ -1270,7 +1270,7 @@
|
||||
@Html.DisplayNameFor(model => model.HdCmiData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.HdCmiData != null)
|
||||
@if(Model.HdCmiData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.HdCmiData)">@Model.HdCmiData.Length bytes</a>
|
||||
}
|
||||
@@ -1283,7 +1283,7 @@
|
||||
@Html.DisplayNameFor(model => model.DvdLayerData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.DvdLayerData != null)
|
||||
@if(Model.DvdLayerData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.DvdLayerData)">@Model.DvdLayerData.Length bytes</a>
|
||||
}
|
||||
@@ -1296,7 +1296,7 @@
|
||||
@Html.DisplayNameFor(model => model.BluBcaData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.BluBcaData != null)
|
||||
@if(Model.BluBcaData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.BluBcaData)">@Model.BluBcaData.Length bytes</a>
|
||||
}
|
||||
@@ -1309,7 +1309,7 @@
|
||||
@Html.DisplayNameFor(model => model.BluDdsData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.BluDdsData != null)
|
||||
@if(Model.BluDdsData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.BluDdsData)">@Model.BluDdsData.Length bytes</a>
|
||||
}
|
||||
@@ -1322,7 +1322,7 @@
|
||||
@Html.DisplayNameFor(model => model.BluSaiData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.BluSaiData != null)
|
||||
@if(Model.BluSaiData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.BluSaiData)">@Model.BluSaiData.Length bytes</a>
|
||||
}
|
||||
@@ -1335,7 +1335,7 @@
|
||||
@Html.DisplayNameFor(model => model.BluDiData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.BluDiData != null)
|
||||
@if(Model.BluDiData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.BluDiData)">@Model.BluDiData.Length bytes</a>
|
||||
}
|
||||
@@ -1348,7 +1348,7 @@
|
||||
@Html.DisplayNameFor(model => model.BluPacData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.PlextorReadCddaData != null)
|
||||
@if(Model.PlextorReadCddaData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.PlextorReadCddaData)">@Model.PlextorReadCddaData.Length bytes</a>
|
||||
}
|
||||
@@ -1361,7 +1361,7 @@
|
||||
@Html.DisplayNameFor(model => model.PlextorReadCddaData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.PlextorReadCddaData != null)
|
||||
@if(Model.PlextorReadCddaData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.PlextorReadCddaData)">@Model.PlextorReadCddaData.Length bytes</a>
|
||||
}
|
||||
@@ -1374,7 +1374,7 @@
|
||||
@Html.DisplayNameFor(model => model.PioneerReadCddaData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.PioneerReadCddaData != null)
|
||||
@if(Model.PioneerReadCddaData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.PioneerReadCddaData)">@Model.PioneerReadCddaData.Length bytes</a>
|
||||
}
|
||||
@@ -1387,7 +1387,7 @@
|
||||
@Html.DisplayNameFor(model => model.PioneerReadCddaMsfData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.PioneerReadCddaMsfData != null)
|
||||
@if(Model.PioneerReadCddaMsfData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.PioneerReadCddaMsfData)">@Model.PioneerReadCddaMsfData.Length bytes</a>
|
||||
}
|
||||
@@ -1400,7 +1400,7 @@
|
||||
@Html.DisplayNameFor(model => model.NecReadCddaData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.NecReadCddaData != null)
|
||||
@if(Model.NecReadCddaData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.NecReadCddaData)">@Model.NecReadCddaData.Length bytes</a>
|
||||
}
|
||||
@@ -1413,7 +1413,7 @@
|
||||
@Html.DisplayNameFor(model => model.PlextorReadRawDVDData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.PlextorReadRawDVDData != null)
|
||||
@if(Model.PlextorReadRawDVDData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.PlextorReadRawDVDData)">@Model.PlextorReadRawDVDData.Length bytes</a>
|
||||
}
|
||||
@@ -1426,7 +1426,7 @@
|
||||
@Html.DisplayNameFor(model => model.HLDTSTReadRawDVDData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.HLDTSTReadRawDVDData != null)
|
||||
@if(Model.HLDTSTReadRawDVDData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.HLDTSTReadRawDVDData)">@Model.HLDTSTReadRawDVDData.Length bytes</a>
|
||||
}
|
||||
@@ -1445,7 +1445,7 @@
|
||||
@Html.DisplayNameFor(model => model.ReadCdScrambledData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.ReadCdScrambledData != null)
|
||||
@if(Model.ReadCdScrambledData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.ReadCdScrambledData)">@Model.ReadCdScrambledData.Length bytes</a>
|
||||
}
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
@Html.DisplayNameFor(model => model.IdentifyData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.IdentifyData != null)
|
||||
@if(Model.IdentifyData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.IdentifyData)">@Model.IdentifyData.Length bytes</a>
|
||||
}
|
||||
@@ -252,7 +252,7 @@
|
||||
@Html.DisplayNameFor(model => model.Density)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.Density is null)
|
||||
@if(Model.Density is null)
|
||||
{
|
||||
@("<null>")
|
||||
}
|
||||
@@ -283,7 +283,7 @@
|
||||
@Html.DisplayNameFor(model => model.MediumType)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.MediumType is null)
|
||||
@if(Model.MediumType is null)
|
||||
{
|
||||
@("<null>")
|
||||
}
|
||||
@@ -416,7 +416,7 @@
|
||||
@Html.DisplayNameFor(model => model.ModeSense6Data)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.ModeSense6Data != null)
|
||||
@if(Model.ModeSense6Data != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.ModeSense6Data)">@Model.ModeSense6Data.Length bytes</a>
|
||||
}
|
||||
@@ -429,7 +429,7 @@
|
||||
@Html.DisplayNameFor(model => model.ModeSense10Data)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.ModeSense10Data != null)
|
||||
@if(Model.ModeSense10Data != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.ModeSense10Data)">@Model.ModeSense10Data.Length bytes</a>
|
||||
}
|
||||
@@ -478,7 +478,7 @@
|
||||
@Html.DisplayNameFor(model => model.UnformattedBPT)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.UnformattedBPT is null)
|
||||
@if(Model.UnformattedBPT is null)
|
||||
{
|
||||
@("<null>")
|
||||
}
|
||||
@@ -491,7 +491,7 @@
|
||||
@Html.DisplayNameFor(model => model.UnformattedBPS)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.UnformattedBPS is null)
|
||||
@if(Model.UnformattedBPS is null)
|
||||
{
|
||||
@("<null>")
|
||||
}
|
||||
@@ -606,7 +606,7 @@
|
||||
@Html.DisplayNameFor(model => model.IntersessionLeadInData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.IntersessionLeadInData != null)
|
||||
@if(Model.IntersessionLeadInData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.IntersessionLeadInData)">@Model.IntersessionLeadInData.Length bytes</a>
|
||||
}
|
||||
@@ -619,7 +619,7 @@
|
||||
@Html.DisplayNameFor(model => model.IntersessionLeadOutData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.IntersessionLeadOutData != null)
|
||||
@if(Model.IntersessionLeadOutData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.IntersessionLeadOutData)">@Model.IntersessionLeadOutData.Length bytes</a>
|
||||
}
|
||||
@@ -632,7 +632,7 @@
|
||||
@Html.DisplayNameFor(model => model.Read6Data)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.Read6Data != null)
|
||||
@if(Model.Read6Data != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.Read6Data)">@Model.Read6Data.Length bytes</a>
|
||||
}
|
||||
@@ -645,7 +645,7 @@
|
||||
@Html.DisplayNameFor(model => model.Read10Data)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.Read10Data != null)
|
||||
@if(Model.Read10Data != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.Read10Data)">@Model.Read10Data.Length bytes</a>
|
||||
}
|
||||
@@ -658,7 +658,7 @@
|
||||
@Html.DisplayNameFor(model => model.Read12Data)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.Read12Data != null)
|
||||
@if(Model.Read12Data != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.Read12Data)">@Model.Read12Data.Length bytes</a>
|
||||
}
|
||||
@@ -671,7 +671,7 @@
|
||||
@Html.DisplayNameFor(model => model.Read16Data)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.Read16Data != null)
|
||||
@if(Model.Read16Data != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.Read16Data)">@Model.Read16Data.Length bytes</a>
|
||||
}
|
||||
@@ -684,7 +684,7 @@
|
||||
@Html.DisplayNameFor(model => model.ReadLong10Data)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.ReadLong10Data != null)
|
||||
@if(Model.ReadLong10Data != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.ReadLong10Data)">@Model.ReadLong10Data.Length bytes</a>
|
||||
}
|
||||
@@ -697,7 +697,7 @@
|
||||
@Html.DisplayNameFor(model => model.ReadLong16Data)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.ReadLong16Data != null)
|
||||
@if(Model.ReadLong16Data != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.ReadLong16Data)">@Model.ReadLong16Data.Length bytes</a>
|
||||
}
|
||||
@@ -710,7 +710,7 @@
|
||||
@Html.DisplayNameFor(model => model.ReadSectorsData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.ReadSectorsData != null)
|
||||
@if(Model.ReadSectorsData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.ReadSectorsData)">@Model.ReadSectorsData.Length bytes</a>
|
||||
}
|
||||
@@ -723,7 +723,7 @@
|
||||
@Html.DisplayNameFor(model => model.ReadSectorsRetryData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.ReadSectorsRetryData != null)
|
||||
@if(Model.ReadSectorsRetryData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.ReadSectorsRetryData)">@Model.ReadSectorsRetryData.Length bytes</a>
|
||||
}
|
||||
@@ -736,7 +736,7 @@
|
||||
@Html.DisplayNameFor(model => model.ReadDmaData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.ReadDmaData != null)
|
||||
@if(Model.ReadDmaData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.ReadDmaData)">@Model.ReadDmaData.Length bytes</a>
|
||||
}
|
||||
@@ -749,7 +749,7 @@
|
||||
@Html.DisplayNameFor(model => model.ReadDmaRetryData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.ReadDmaRetryData != null)
|
||||
@if(Model.ReadDmaRetryData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.ReadDmaRetryData)">@Model.ReadDmaRetryData.Length bytes</a>
|
||||
}
|
||||
@@ -762,7 +762,7 @@
|
||||
@Html.DisplayNameFor(model => model.ReadLbaData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.ReadLbaData != null)
|
||||
@if(Model.ReadLbaData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.ReadLbaData)">@Model.ReadLbaData.Length bytes</a>
|
||||
}
|
||||
@@ -775,7 +775,7 @@
|
||||
@Html.DisplayNameFor(model => model.ReadRetryLbaData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.ReadRetryLbaData != null)
|
||||
@if(Model.ReadRetryLbaData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.ReadRetryLbaData)">@Model.ReadRetryLbaData.Length bytes</a>
|
||||
}
|
||||
@@ -788,7 +788,7 @@
|
||||
@Html.DisplayNameFor(model => model.ReadDmaLbaData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.ReadDmaLbaData != null)
|
||||
@if(Model.ReadDmaLbaData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.ReadDmaLbaData)">@Model.ReadDmaLbaData.Length bytes</a>
|
||||
}
|
||||
@@ -801,7 +801,7 @@
|
||||
@Html.DisplayNameFor(model => model.ReadDmaRetryLbaData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.ReadDmaRetryLbaData != null)
|
||||
@if(Model.ReadDmaRetryLbaData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.ReadDmaRetryLbaData)">@Model.ReadDmaRetryLbaData.Length bytes</a>
|
||||
}
|
||||
@@ -814,7 +814,7 @@
|
||||
@Html.DisplayNameFor(model => model.ReadLba48Data)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.ReadLba48Data != null)
|
||||
@if(Model.ReadLba48Data != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.ReadLba48Data)">@Model.ReadLba48Data.Length bytes</a>
|
||||
}
|
||||
@@ -827,7 +827,7 @@
|
||||
@Html.DisplayNameFor(model => model.ReadDmaLba48Data)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.ReadDmaLba48Data != null)
|
||||
@if(Model.ReadDmaLba48Data != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.ReadDmaLba48Data)">@Model.ReadDmaLba48Data.Length bytes</a>
|
||||
}
|
||||
@@ -840,7 +840,7 @@
|
||||
@Html.DisplayNameFor(model => model.ReadLongData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.ReadLongData != null)
|
||||
@if(Model.ReadLongData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.ReadLongData)">@Model.ReadLongData.Length bytes</a>
|
||||
}
|
||||
@@ -853,7 +853,7 @@
|
||||
@Html.DisplayNameFor(model => model.ReadLongRetryData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.ReadLongRetryData != null)
|
||||
@if(Model.ReadLongRetryData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.ReadLongRetryData)">@Model.ReadLongRetryData.Length bytes</a>
|
||||
}
|
||||
@@ -866,7 +866,7 @@
|
||||
@Html.DisplayNameFor(model => model.ReadLongLbaData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.ReadLongLbaData != null)
|
||||
@if(Model.ReadLongLbaData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.ReadLongLbaData)">@Model.ReadLongLbaData.Length bytes</a>
|
||||
}
|
||||
@@ -879,7 +879,7 @@
|
||||
@Html.DisplayNameFor(model => model.ReadLongRetryLbaData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.ReadLongRetryLbaData != null)
|
||||
@if(Model.ReadLongRetryLbaData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.ReadLongRetryLbaData)">@Model.ReadLongRetryLbaData.Length bytes</a>
|
||||
}
|
||||
@@ -892,7 +892,7 @@
|
||||
@Html.DisplayNameFor(model => model.TocData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.TocData != null)
|
||||
@if(Model.TocData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.TocData)">@Model.TocData.Length bytes</a>
|
||||
}
|
||||
@@ -905,7 +905,7 @@
|
||||
@Html.DisplayNameFor(model => model.FullTocData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.FullTocData != null)
|
||||
@if(Model.FullTocData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.FullTocData)">@Model.FullTocData.Length bytes</a>
|
||||
}
|
||||
@@ -918,7 +918,7 @@
|
||||
@Html.DisplayNameFor(model => model.AtipData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.AtipData != null)
|
||||
@if(Model.AtipData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.AtipData)">@Model.AtipData.Length bytes</a>
|
||||
}
|
||||
@@ -931,7 +931,7 @@
|
||||
@Html.DisplayNameFor(model => model.PmaData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.PmaData != null)
|
||||
@if(Model.PmaData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.PmaData)">@Model.PmaData.Length bytes</a>
|
||||
}
|
||||
@@ -944,7 +944,7 @@
|
||||
@Html.DisplayNameFor(model => model.ReadCdData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.ReadCdData != null)
|
||||
@if(Model.ReadCdData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.ReadCdData)">@Model.ReadCdData.Length bytes</a>
|
||||
}
|
||||
@@ -957,7 +957,7 @@
|
||||
@Html.DisplayNameFor(model => model.ReadCdMsfData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.ReadCdMsfData != null)
|
||||
@if(Model.ReadCdMsfData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.ReadCdMsfData)">@Model.ReadCdMsfData.Length bytes</a>
|
||||
}
|
||||
@@ -970,7 +970,7 @@
|
||||
@Html.DisplayNameFor(model => model.ReadCdFullData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.ReadCdFullData != null)
|
||||
@if(Model.ReadCdFullData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.ReadCdFullData)">@Model.ReadCdFullData.Length bytes</a>
|
||||
}
|
||||
@@ -983,7 +983,7 @@
|
||||
@Html.DisplayNameFor(model => model.ReadCdMsfFullData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.ReadCdMsfFullData != null)
|
||||
@if(Model.ReadCdMsfFullData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.ReadCdMsfFullData)">@Model.ReadCdMsfFullData.Length bytes</a>
|
||||
}
|
||||
@@ -996,7 +996,7 @@
|
||||
@Html.DisplayNameFor(model => model.Track1PregapData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.Track1PregapData != null)
|
||||
@if(Model.Track1PregapData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.Track1PregapData)">@Model.Track1PregapData.Length bytes</a>
|
||||
}
|
||||
@@ -1009,7 +1009,7 @@
|
||||
@Html.DisplayNameFor(model => model.LeadInData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.LeadInData != null)
|
||||
@if(Model.LeadInData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.LeadInData)">@Model.LeadInData.Length bytes</a>
|
||||
}
|
||||
@@ -1022,7 +1022,7 @@
|
||||
@Html.DisplayNameFor(model => model.LeadOutData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.LeadOutData != null)
|
||||
@if(Model.LeadOutData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.LeadOutData)">@Model.LeadOutData.Length bytes</a>
|
||||
}
|
||||
@@ -1035,7 +1035,7 @@
|
||||
@Html.DisplayNameFor(model => model.C2PointersData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.C2PointersData != null)
|
||||
@if(Model.C2PointersData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.C2PointersData)">@Model.C2PointersData.Length bytes</a>
|
||||
}
|
||||
@@ -1048,7 +1048,7 @@
|
||||
@Html.DisplayNameFor(model => model.PQSubchannelData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.PQSubchannelData != null)
|
||||
@if(Model.PQSubchannelData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.PQSubchannelData)">@Model.PQSubchannelData.Length bytes</a>
|
||||
}
|
||||
@@ -1061,7 +1061,7 @@
|
||||
@Html.DisplayNameFor(model => model.RWSubchannelData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.RWSubchannelData != null)
|
||||
@if(Model.RWSubchannelData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.RWSubchannelData)">@Model.RWSubchannelData.Length bytes</a>
|
||||
}
|
||||
@@ -1074,7 +1074,7 @@
|
||||
@Html.DisplayNameFor(model => model.CorrectedSubchannelData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.CorrectedSubchannelData != null)
|
||||
@if(Model.CorrectedSubchannelData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.CorrectedSubchannelData)">@Model.CorrectedSubchannelData.Length bytes</a>
|
||||
}
|
||||
@@ -1087,7 +1087,7 @@
|
||||
@Html.DisplayNameFor(model => model.PQSubchannelWithC2Data)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.PQSubchannelWithC2Data != null)
|
||||
@if(Model.PQSubchannelWithC2Data != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.PQSubchannelWithC2Data)">@Model.PQSubchannelWithC2Data.Length bytes</a>
|
||||
}
|
||||
@@ -1100,7 +1100,7 @@
|
||||
@Html.DisplayNameFor(model => model.RWSubchannelWithC2Data)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.RWSubchannelWithC2Data != null)
|
||||
@if(Model.RWSubchannelWithC2Data != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.RWSubchannelWithC2Data)">@Model.RWSubchannelWithC2Data.Length bytes</a>
|
||||
}
|
||||
@@ -1113,7 +1113,7 @@
|
||||
@Html.DisplayNameFor(model => model.CorrectedSubchannelWithC2Data)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.CorrectedSubchannelWithC2Data != null)
|
||||
@if(Model.CorrectedSubchannelWithC2Data != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.CorrectedSubchannelWithC2Data)">@Model.CorrectedSubchannelWithC2Data.Length bytes</a>
|
||||
}
|
||||
@@ -1126,7 +1126,7 @@
|
||||
@Html.DisplayNameFor(model => model.PfiData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.PfiData != null)
|
||||
@if(Model.PfiData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.PfiData)">@Model.PfiData.Length bytes</a>
|
||||
}
|
||||
@@ -1139,7 +1139,7 @@
|
||||
@Html.DisplayNameFor(model => model.DmiData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.DmiData != null)
|
||||
@if(Model.DmiData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.DmiData)">@Model.DmiData.Length bytes</a>
|
||||
}
|
||||
@@ -1152,7 +1152,7 @@
|
||||
@Html.DisplayNameFor(model => model.CmiData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.CmiData != null)
|
||||
@if(Model.CmiData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.CmiData)">@Model.CmiData.Length bytes</a>
|
||||
}
|
||||
@@ -1165,7 +1165,7 @@
|
||||
@Html.DisplayNameFor(model => model.DvdBcaData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.DvdBcaData != null)
|
||||
@if(Model.DvdBcaData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.DvdBcaData)">@Model.DvdBcaData.Length bytes</a>
|
||||
}
|
||||
@@ -1178,7 +1178,7 @@
|
||||
@Html.DisplayNameFor(model => model.DvdAacsData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.DvdAacsData != null)
|
||||
@if(Model.DvdAacsData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.DvdAacsData)">@Model.DvdAacsData.Length bytes</a>
|
||||
}
|
||||
@@ -1191,7 +1191,7 @@
|
||||
@Html.DisplayNameFor(model => model.DvdDdsData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.DvdDdsData != null)
|
||||
@if(Model.DvdDdsData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.DvdDdsData)">@Model.DvdDdsData.Length bytes</a>
|
||||
}
|
||||
@@ -1204,7 +1204,7 @@
|
||||
@Html.DisplayNameFor(model => model.DvdSaiData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.DvdSaiData != null)
|
||||
@if(Model.DvdSaiData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.DvdSaiData)">@Model.DvdSaiData.Length bytes</a>
|
||||
}
|
||||
@@ -1217,7 +1217,7 @@
|
||||
@Html.DisplayNameFor(model => model.PriData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.PriData != null)
|
||||
@if(Model.PriData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.PriData)">@Model.PriData.Length bytes</a>
|
||||
}
|
||||
@@ -1230,7 +1230,7 @@
|
||||
@Html.DisplayNameFor(model => model.EmbossedPfiData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.EmbossedPfiData != null)
|
||||
@if(Model.EmbossedPfiData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.EmbossedPfiData)">@Model.EmbossedPfiData.Length bytes</a>
|
||||
}
|
||||
@@ -1243,7 +1243,7 @@
|
||||
@Html.DisplayNameFor(model => model.AdipData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.AdipData != null)
|
||||
@if(Model.AdipData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.AdipData)">@Model.AdipData.Length bytes</a>
|
||||
}
|
||||
@@ -1256,7 +1256,7 @@
|
||||
@Html.DisplayNameFor(model => model.DcbData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.DcbData != null)
|
||||
@if(Model.DcbData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.DcbData)">@Model.DcbData.Length bytes</a>
|
||||
}
|
||||
@@ -1269,7 +1269,7 @@
|
||||
@Html.DisplayNameFor(model => model.HdCmiData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.HdCmiData != null)
|
||||
@if(Model.HdCmiData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.HdCmiData)">@Model.HdCmiData.Length bytes</a>
|
||||
}
|
||||
@@ -1282,7 +1282,7 @@
|
||||
@Html.DisplayNameFor(model => model.DvdLayerData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.DvdLayerData != null)
|
||||
@if(Model.DvdLayerData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.DvdLayerData)">@Model.DvdLayerData.Length bytes</a>
|
||||
}
|
||||
@@ -1295,7 +1295,7 @@
|
||||
@Html.DisplayNameFor(model => model.BluBcaData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.BluBcaData != null)
|
||||
@if(Model.BluBcaData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.BluBcaData)">@Model.BluBcaData.Length bytes</a>
|
||||
}
|
||||
@@ -1308,7 +1308,7 @@
|
||||
@Html.DisplayNameFor(model => model.BluDdsData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.BluDdsData != null)
|
||||
@if(Model.BluDdsData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.BluDdsData)">@Model.BluDdsData.Length bytes</a>
|
||||
}
|
||||
@@ -1321,7 +1321,7 @@
|
||||
@Html.DisplayNameFor(model => model.BluSaiData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.BluSaiData != null)
|
||||
@if(Model.BluSaiData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.BluSaiData)">@Model.BluSaiData.Length bytes</a>
|
||||
}
|
||||
@@ -1334,7 +1334,7 @@
|
||||
@Html.DisplayNameFor(model => model.BluDiData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.BluDiData != null)
|
||||
@if(Model.BluDiData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.BluDiData)">@Model.BluDiData.Length bytes</a>
|
||||
}
|
||||
@@ -1347,7 +1347,7 @@
|
||||
@Html.DisplayNameFor(model => model.BluPacData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.PlextorReadCddaData != null)
|
||||
@if(Model.PlextorReadCddaData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.PlextorReadCddaData)">@Model.PlextorReadCddaData.Length bytes</a>
|
||||
}
|
||||
@@ -1360,7 +1360,7 @@
|
||||
@Html.DisplayNameFor(model => model.PlextorReadCddaData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.PlextorReadCddaData != null)
|
||||
@if(Model.PlextorReadCddaData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.PlextorReadCddaData)">@Model.PlextorReadCddaData.Length bytes</a>
|
||||
}
|
||||
@@ -1373,7 +1373,7 @@
|
||||
@Html.DisplayNameFor(model => model.PioneerReadCddaData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.PioneerReadCddaData != null)
|
||||
@if(Model.PioneerReadCddaData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.PioneerReadCddaData)">@Model.PioneerReadCddaData.Length bytes</a>
|
||||
}
|
||||
@@ -1386,7 +1386,7 @@
|
||||
@Html.DisplayNameFor(model => model.PioneerReadCddaMsfData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.PioneerReadCddaMsfData != null)
|
||||
@if(Model.PioneerReadCddaMsfData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.PioneerReadCddaMsfData)">@Model.PioneerReadCddaMsfData.Length bytes</a>
|
||||
}
|
||||
@@ -1399,7 +1399,7 @@
|
||||
@Html.DisplayNameFor(model => model.NecReadCddaData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.NecReadCddaData != null)
|
||||
@if(Model.NecReadCddaData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.NecReadCddaData)">@Model.NecReadCddaData.Length bytes</a>
|
||||
}
|
||||
@@ -1412,7 +1412,7 @@
|
||||
@Html.DisplayNameFor(model => model.PlextorReadRawDVDData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.PlextorReadRawDVDData != null)
|
||||
@if(Model.PlextorReadRawDVDData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.PlextorReadRawDVDData)">@Model.PlextorReadRawDVDData.Length bytes</a>
|
||||
}
|
||||
@@ -1425,7 +1425,7 @@
|
||||
@Html.DisplayNameFor(model => model.HLDTSTReadRawDVDData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.HLDTSTReadRawDVDData != null)
|
||||
@if(Model.HLDTSTReadRawDVDData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.HLDTSTReadRawDVDData)">@Model.HLDTSTReadRawDVDData.Length bytes</a>
|
||||
}
|
||||
@@ -1444,7 +1444,7 @@
|
||||
@Html.DisplayNameFor(model => model.ReadCdScrambledData)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@if (Model.ReadCdScrambledData != null)
|
||||
@if(Model.ReadCdScrambledData != null)
|
||||
{
|
||||
<a asp-action="ViewData" target="_blank" asp-route-id="@Model.Id" asp-route-data="@nameof(Model.ReadCdScrambledData)">@Model.ReadCdScrambledData.Length bytes</a>
|
||||
}
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model)
|
||||
@foreach(var item in Model)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
@@ -5,13 +5,13 @@
|
||||
Layout = "_Layout";
|
||||
}
|
||||
<h2>Showing data from @Model.DataName for tested media id @Model.TestedMediaId</h2>
|
||||
@if (Model.Decoded is null &&
|
||||
Model.RawDataAsHex is null)
|
||||
@if(Model.Decoded is null &&
|
||||
Model.RawDataAsHex is null)
|
||||
{
|
||||
<div>No data found</div>
|
||||
}
|
||||
|
||||
@if (Model.RawDataAsHex != null)
|
||||
@if(Model.RawDataAsHex != null)
|
||||
{
|
||||
<h4>Hex dump:</h4>
|
||||
<div>
|
||||
@@ -20,7 +20,7 @@
|
||||
}
|
||||
|
||||
|
||||
@if (Model.Decoded != null)
|
||||
@if(Model.Decoded != null)
|
||||
{
|
||||
<h4>Decoded information:</h4>
|
||||
<div>
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model)
|
||||
@foreach(var item in Model)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model)
|
||||
@foreach(var item in Model)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model.Products)
|
||||
@foreach(var item in Model.Products)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model)
|
||||
@foreach(var item in Model)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model.List)
|
||||
@foreach(var item in Model.List)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model)
|
||||
@foreach(var item in Model)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model)
|
||||
@foreach(var item in Model)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
@@ -73,10 +73,10 @@ namespace Aaru.Server
|
||||
string validUser = configuration.GetValue<string>("MetricsAuthentication:Username");
|
||||
string validPassword = configuration.GetValue<string>("MetricsAuthentication:Password");
|
||||
|
||||
return!string.IsNullOrWhiteSpace(validUser) &&
|
||||
!string.IsNullOrWhiteSpace(validPassword) &&
|
||||
username.Equals(validUser, StringComparison.InvariantCultureIgnoreCase) &&
|
||||
password.Equals(validPassword);
|
||||
return !string.IsNullOrWhiteSpace(validUser) &&
|
||||
!string.IsNullOrWhiteSpace(validPassword) &&
|
||||
username.Equals(validUser, StringComparison.InvariantCultureIgnoreCase) &&
|
||||
password.Equals(validPassword);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -33,11 +33,11 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Aaru.Server.Models;
|
||||
using Aaru.CommonTypes.Metadata;
|
||||
using Aaru.CommonTypes.Structs.Devices.SCSI;
|
||||
using Aaru.Decoders.PCMCIA;
|
||||
using Aaru.Decoders.SCSI;
|
||||
using Aaru.Server.Models;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.AspNetCore.Routing;
|
||||
using Inquiry = Aaru.CommonTypes.Structs.Devices.SCSI.Inquiry;
|
||||
|
||||
@@ -38,9 +38,9 @@ using System.Reflection;
|
||||
using System.Threading;
|
||||
using System.Xml;
|
||||
using System.Xml.Serialization;
|
||||
using Aaru.Server.Models;
|
||||
using Aaru.CommonTypes.Interop;
|
||||
using Aaru.CommonTypes.Metadata;
|
||||
using Aaru.Server.Models;
|
||||
using Microsoft.AspNetCore.Hosting;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using OperatingSystem = Aaru.Server.Models.OperatingSystem;
|
||||
@@ -52,7 +52,7 @@ namespace Aaru.Server.Controllers
|
||||
/// <summary>Renders a page with statistics, list of media type, devices, etc</summary>
|
||||
public class StatsController : Controller
|
||||
{
|
||||
readonly AaruServerContext ctx;
|
||||
readonly AaruServerContext ctx;
|
||||
readonly IWebHostEnvironment env;
|
||||
|
||||
public StatsController(IWebHostEnvironment environment, AaruServerContext context)
|
||||
@@ -96,7 +96,7 @@ namespace Aaru.Server.Controllers
|
||||
{
|
||||
List<NameValueStats> operatingSystems = new List<NameValueStats>();
|
||||
|
||||
foreach(Models.OperatingSystem nvs in ctx.OperatingSystems)
|
||||
foreach(OperatingSystem nvs in ctx.OperatingSystems)
|
||||
operatingSystems.Add(new NameValueStats
|
||||
{
|
||||
name =
|
||||
@@ -111,7 +111,7 @@ namespace Aaru.Server.Controllers
|
||||
{
|
||||
List<NameValueStats> versions = new List<NameValueStats>();
|
||||
|
||||
foreach(Models.Version nvs in ctx.Versions)
|
||||
foreach(Version nvs in ctx.Versions)
|
||||
versions.Add(new NameValueStats
|
||||
{
|
||||
name = nvs.Name == "previous" ? "Previous than 3.4.99.0" : nvs.Name, Value = nvs.Count
|
||||
|
||||
@@ -35,9 +35,9 @@ using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using Aaru.Server.Models;
|
||||
using Aaru.CommonTypes.Metadata;
|
||||
using Aaru.Dto;
|
||||
using Aaru.Server.Models;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Newtonsoft.Json;
|
||||
@@ -96,8 +96,8 @@ namespace Aaru.Server.Controllers
|
||||
})),
|
||||
device.Id, device.OptimalMultipleSectorsRead));
|
||||
|
||||
JsonSerializer js = JsonSerializer.Create();
|
||||
var sw = new StringWriter();
|
||||
var js = JsonSerializer.Create();
|
||||
var sw = new StringWriter();
|
||||
js.Serialize(sw, sync);
|
||||
|
||||
return new ContentResult
|
||||
|
||||
@@ -38,9 +38,9 @@ using System.Net;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Xml.Serialization;
|
||||
using Aaru.CommonTypes.Metadata;
|
||||
using Aaru.Server.Models;
|
||||
using Cinchoo.PGP;
|
||||
using Aaru.CommonTypes.Metadata;
|
||||
using MailKit.Net.Smtp;
|
||||
using Microsoft.AspNetCore.Hosting;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
@@ -52,7 +52,7 @@ namespace Aaru.Server.Controllers
|
||||
{
|
||||
public class UploadReportController : Controller
|
||||
{
|
||||
readonly AaruServerContext _ctx;
|
||||
readonly AaruServerContext _ctx;
|
||||
readonly IWebHostEnvironment _environment;
|
||||
|
||||
public UploadReportController(IWebHostEnvironment environment, AaruServerContext ctx)
|
||||
@@ -249,9 +249,9 @@ namespace Aaru.Server.Controllers
|
||||
{
|
||||
HttpRequest request = HttpContext.Request;
|
||||
|
||||
var sr = new StreamReader(request.Body);
|
||||
string reportJson = await sr.ReadToEndAsync();
|
||||
var newReport = JsonConvert.DeserializeObject<DeviceReportV2>(reportJson);
|
||||
var sr = new StreamReader(request.Body);
|
||||
string reportJson = await sr.ReadToEndAsync();
|
||||
DeviceReportV2 newReport = JsonConvert.DeserializeObject<DeviceReportV2>(reportJson);
|
||||
|
||||
if(newReport == null)
|
||||
{
|
||||
|
||||
@@ -38,8 +38,8 @@ using System.Net;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using System.Xml.Serialization;
|
||||
using Aaru.Server.Models;
|
||||
using Aaru.CommonTypes.Metadata;
|
||||
using Aaru.Server.Models;
|
||||
using Microsoft.AspNetCore.Hosting;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
@@ -52,7 +52,7 @@ namespace Aaru.Server.Controllers
|
||||
public class UploadStatsController : Controller
|
||||
{
|
||||
readonly AaruServerContext _ctx;
|
||||
IWebHostEnvironment _environment;
|
||||
IWebHostEnvironment _environment;
|
||||
|
||||
public UploadStatsController(IWebHostEnvironment environment, AaruServerContext ctx)
|
||||
{
|
||||
@@ -60,10 +60,7 @@ namespace Aaru.Server.Controllers
|
||||
_ctx = ctx;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Receives statistics from Aaru.Core, processes them and adds them to a server-side global statistics
|
||||
/// XML
|
||||
/// </summary>
|
||||
/// <summary>Receives statistics from Aaru.Core, processes them and adds them to a server-side global statistics XML</summary>
|
||||
/// <returns>HTTP response</returns>
|
||||
[Route("api/uploadstats"), HttpPost]
|
||||
public async Task<IActionResult> UploadStats()
|
||||
@@ -122,9 +119,9 @@ namespace Aaru.Server.Controllers
|
||||
{
|
||||
HttpRequest request = HttpContext.Request;
|
||||
|
||||
var sr = new StreamReader(request.Body);
|
||||
string statsString = await sr.ReadToEndAsync();
|
||||
var newstats = JsonConvert.DeserializeObject<StatsDto>(statsString);
|
||||
var sr = new StreamReader(request.Body);
|
||||
string statsString = await sr.ReadToEndAsync();
|
||||
StatsDto newstats = JsonConvert.DeserializeObject<StatsDto>(statsString);
|
||||
|
||||
if(newstats == null)
|
||||
{
|
||||
@@ -150,10 +147,10 @@ namespace Aaru.Server.Controllers
|
||||
if(newstats.Versions != null)
|
||||
foreach(NameValueStats nvs in newstats.Versions)
|
||||
{
|
||||
Models.Version existing = _ctx.Versions.FirstOrDefault(c => c.Name == nvs.name);
|
||||
Version existing = _ctx.Versions.FirstOrDefault(c => c.Name == nvs.name);
|
||||
|
||||
if(existing == null)
|
||||
_ctx.Versions.Add(new Models.Version
|
||||
_ctx.Versions.Add(new Version
|
||||
{
|
||||
Name = nvs.name, Count = nvs.Value
|
||||
});
|
||||
@@ -220,12 +217,12 @@ namespace Aaru.Server.Controllers
|
||||
if(newstats.OperatingSystems != null)
|
||||
foreach(OsStats operatingSystem in newstats.OperatingSystems)
|
||||
{
|
||||
Models.OperatingSystem existing =
|
||||
OperatingSystem existing =
|
||||
_ctx.OperatingSystems.FirstOrDefault(c => c.Name == operatingSystem.name &&
|
||||
c.Version == operatingSystem.version);
|
||||
|
||||
if(existing == null)
|
||||
_ctx.OperatingSystems.Add(new Models.OperatingSystem
|
||||
_ctx.OperatingSystems.Add(new OperatingSystem
|
||||
{
|
||||
Name = operatingSystem.name, Version = operatingSystem.version,
|
||||
Count = operatingSystem.Value
|
||||
|
||||
@@ -33,7 +33,6 @@
|
||||
using System.Collections.Generic;
|
||||
using Aaru.CommonTypes.Metadata;
|
||||
using Aaru.CommonTypes.Structs.Devices.SCSI;
|
||||
using Aaru.Decoders.SCSI.MMC;
|
||||
|
||||
namespace Aaru.Server
|
||||
{
|
||||
|
||||
@@ -31,8 +31,8 @@
|
||||
// ****************************************************************************/
|
||||
|
||||
using System.Linq;
|
||||
using Aaru.Server.Models;
|
||||
using Aaru.CommonTypes.Metadata;
|
||||
using Aaru.Server.Models;
|
||||
using Version = Aaru.Server.Models.Version;
|
||||
|
||||
namespace Aaru.Server
|
||||
@@ -362,10 +362,10 @@ namespace Aaru.Server
|
||||
if(string.IsNullOrWhiteSpace(nvs.name))
|
||||
continue;
|
||||
|
||||
Models.Version existing = ctx.Versions.FirstOrDefault(c => c.Name == nvs.name);
|
||||
Version existing = ctx.Versions.FirstOrDefault(c => c.Name == nvs.name);
|
||||
|
||||
if(existing == null)
|
||||
ctx.Versions.Add(new Models.Version
|
||||
ctx.Versions.Add(new Version
|
||||
{
|
||||
Count = nvs.Value, Name = nvs.name
|
||||
});
|
||||
@@ -375,10 +375,10 @@ namespace Aaru.Server
|
||||
}
|
||||
else
|
||||
{
|
||||
Models.Version existing = ctx.Versions.FirstOrDefault(c => c.Name == "previous");
|
||||
Version existing = ctx.Versions.FirstOrDefault(c => c.Name == "previous");
|
||||
|
||||
if(existing == null)
|
||||
ctx.Versions.Add(new Models.Version
|
||||
ctx.Versions.Add(new Version
|
||||
{
|
||||
Count = 1, Name = "previous"
|
||||
});
|
||||
|
||||
@@ -86,15 +86,15 @@ namespace Aaru.Server.App_Start
|
||||
{
|
||||
mediaOneValue.Add($"Medium has {testedMedia.Blocks} blocks of {testedMedia.BlockSize} bytes each");
|
||||
|
||||
if(testedMedia.Blocks * testedMedia.BlockSize / 1024 / 1024 > 1000000)
|
||||
if((testedMedia.Blocks * testedMedia.BlockSize) / 1024 / 1024 > 1000000)
|
||||
mediaOneValue.
|
||||
Add($"Medium size: {testedMedia.Blocks * testedMedia.BlockSize} bytes, {testedMedia.Blocks * testedMedia.BlockSize / 1000 / 1000 / 1000 / 1000} Tb, {(double)(testedMedia.Blocks * testedMedia.BlockSize) / 1024 / 1024 / 1024 / 1024:F2} TiB");
|
||||
else if(testedMedia.Blocks * testedMedia.BlockSize / 1024 / 1024 > 1000)
|
||||
Add($"Medium size: {testedMedia.Blocks * testedMedia.BlockSize} bytes, {(testedMedia.Blocks * testedMedia.BlockSize) / 1000 / 1000 / 1000 / 1000} Tb, {(double)(testedMedia.Blocks * testedMedia.BlockSize) / 1024 / 1024 / 1024 / 1024:F2} TiB");
|
||||
else if((testedMedia.Blocks * testedMedia.BlockSize) / 1024 / 1024 > 1000)
|
||||
mediaOneValue.
|
||||
Add($"Medium size: {testedMedia.Blocks * testedMedia.BlockSize} bytes, {testedMedia.Blocks * testedMedia.BlockSize / 1000 / 1000 / 1000} Gb, {(double)(testedMedia.Blocks * testedMedia.BlockSize) / 1024 / 1024 / 1024:F2} GiB");
|
||||
Add($"Medium size: {testedMedia.Blocks * testedMedia.BlockSize} bytes, {(testedMedia.Blocks * testedMedia.BlockSize) / 1000 / 1000 / 1000} Gb, {(double)(testedMedia.Blocks * testedMedia.BlockSize) / 1024 / 1024 / 1024:F2} GiB");
|
||||
else
|
||||
mediaOneValue.
|
||||
Add($"Medium size: {testedMedia.Blocks * testedMedia.BlockSize} bytes, {testedMedia.Blocks * testedMedia.BlockSize / 1000 / 1000} Mb, {(double)(testedMedia.Blocks * testedMedia.BlockSize) / 1024 / 1024:F2} MiB");
|
||||
Add($"Medium size: {testedMedia.Blocks * testedMedia.BlockSize} bytes, {(testedMedia.Blocks * testedMedia.BlockSize) / 1000 / 1000} Mb, {(double)(testedMedia.Blocks * testedMedia.BlockSize) / 1024 / 1024:F2} MiB");
|
||||
}
|
||||
|
||||
if(testedMedia.CHS != null &&
|
||||
@@ -115,7 +115,7 @@ namespace Aaru.Server.App_Start
|
||||
Add($"Sectors addressable in CHS mode: {testedMedia.CHS.Cylinders * testedMedia.CHS.Heads * testedMedia.CHS.Sectors} max., {currentSectors} current");
|
||||
|
||||
mediaOneValue.
|
||||
Add($"Medium size in CHS mode: {(ulong)currentSectors * testedMedia.BlockSize} bytes, {(ulong)currentSectors * testedMedia.BlockSize / 1000 / 1000} Mb, {(double)((ulong)currentSectors * testedMedia.BlockSize) / 1024 / 1024:F2} MiB");
|
||||
Add($"Medium size in CHS mode: {(ulong)currentSectors * testedMedia.BlockSize} bytes, {((ulong)currentSectors * testedMedia.BlockSize) / 1000 / 1000} Mb, {(double)((ulong)currentSectors * testedMedia.BlockSize) / 1024 / 1024:F2} MiB");
|
||||
}
|
||||
else if(testedMedia.CHS != null)
|
||||
{
|
||||
@@ -126,37 +126,37 @@ namespace Aaru.Server.App_Start
|
||||
mediaOneValue.Add($"Sectors addressable in CHS mode: {currentSectors}");
|
||||
|
||||
mediaOneValue.
|
||||
Add($"Medium size in CHS mode: {(ulong)currentSectors * testedMedia.BlockSize} bytes, {(ulong)currentSectors * testedMedia.BlockSize / 1000 / 1000} Mb, {(double)((ulong)currentSectors * testedMedia.BlockSize) / 1024 / 1024:F2} MiB");
|
||||
Add($"Medium size in CHS mode: {(ulong)currentSectors * testedMedia.BlockSize} bytes, {((ulong)currentSectors * testedMedia.BlockSize) / 1000 / 1000} Mb, {(double)((ulong)currentSectors * testedMedia.BlockSize) / 1024 / 1024:F2} MiB");
|
||||
}
|
||||
|
||||
if(testedMedia.LBASectors != null)
|
||||
{
|
||||
mediaOneValue.Add($"Sectors addressable in sectors in 28-bit LBA mode: {testedMedia.LBASectors}");
|
||||
|
||||
if((ulong)testedMedia.LBASectors * testedMedia.BlockSize / 1024 / 1024 > 1000000)
|
||||
if(((ulong)testedMedia.LBASectors * testedMedia.BlockSize) / 1024 / 1024 > 1000000)
|
||||
mediaOneValue.
|
||||
Add($"Medium size in 28-bit LBA mode: {(ulong)testedMedia.LBASectors * testedMedia.BlockSize} bytes, {(ulong)testedMedia.LBASectors * testedMedia.BlockSize / 1000 / 1000 / 1000 / 1000} Tb, {(double)((ulong)testedMedia.LBASectors * testedMedia.BlockSize) / 1024 / 1024 / 1024 / 1024:F2} TiB");
|
||||
else if((ulong)testedMedia.LBASectors * testedMedia.BlockSize / 1024 / 1024 > 1000)
|
||||
Add($"Medium size in 28-bit LBA mode: {(ulong)testedMedia.LBASectors * testedMedia.BlockSize} bytes, {((ulong)testedMedia.LBASectors * testedMedia.BlockSize) / 1000 / 1000 / 1000 / 1000} Tb, {(double)((ulong)testedMedia.LBASectors * testedMedia.BlockSize) / 1024 / 1024 / 1024 / 1024:F2} TiB");
|
||||
else if(((ulong)testedMedia.LBASectors * testedMedia.BlockSize) / 1024 / 1024 > 1000)
|
||||
mediaOneValue.
|
||||
Add($"Medium size in 28-bit LBA mode: {(ulong)testedMedia.LBASectors * testedMedia.BlockSize} bytes, {(ulong)testedMedia.LBASectors * testedMedia.BlockSize / 1000 / 1000 / 1000} Gb, {(double)((ulong)testedMedia.LBASectors * testedMedia.BlockSize) / 1024 / 1024 / 1024:F2} GiB");
|
||||
Add($"Medium size in 28-bit LBA mode: {(ulong)testedMedia.LBASectors * testedMedia.BlockSize} bytes, {((ulong)testedMedia.LBASectors * testedMedia.BlockSize) / 1000 / 1000 / 1000} Gb, {(double)((ulong)testedMedia.LBASectors * testedMedia.BlockSize) / 1024 / 1024 / 1024:F2} GiB");
|
||||
else
|
||||
mediaOneValue.
|
||||
Add($"Medium size in 28-bit LBA mode: {(ulong)testedMedia.LBASectors * testedMedia.BlockSize} bytes, {(ulong)testedMedia.LBASectors * testedMedia.BlockSize / 1000 / 1000} Mb, {(double)((ulong)testedMedia.LBASectors * testedMedia.BlockSize) / 1024 / 1024:F2} MiB");
|
||||
Add($"Medium size in 28-bit LBA mode: {(ulong)testedMedia.LBASectors * testedMedia.BlockSize} bytes, {((ulong)testedMedia.LBASectors * testedMedia.BlockSize) / 1000 / 1000} Mb, {(double)((ulong)testedMedia.LBASectors * testedMedia.BlockSize) / 1024 / 1024:F2} MiB");
|
||||
}
|
||||
|
||||
if(testedMedia.LBA48Sectors != null)
|
||||
{
|
||||
mediaOneValue.Add($"Sectors addressable in sectors in 48-bit LBA mode: {testedMedia.LBA48Sectors}");
|
||||
|
||||
if(testedMedia.LBA48Sectors * testedMedia.BlockSize / 1024 / 1024 > 1000000)
|
||||
if((testedMedia.LBA48Sectors * testedMedia.BlockSize) / 1024 / 1024 > 1000000)
|
||||
mediaOneValue.
|
||||
Add($"Medium size in 48-bit LBA mode: {testedMedia.LBA48Sectors * testedMedia.BlockSize} bytes, {testedMedia.LBA48Sectors * testedMedia.BlockSize / 1000 / 1000 / 1000 / 1000} Tb, {(double)(testedMedia.LBA48Sectors * testedMedia.BlockSize) / 1024 / 1024 / 1024 / 1024:F2} TiB");
|
||||
else if(testedMedia.LBA48Sectors * testedMedia.BlockSize / 1024 / 1024 > 1000)
|
||||
Add($"Medium size in 48-bit LBA mode: {testedMedia.LBA48Sectors * testedMedia.BlockSize} bytes, {(testedMedia.LBA48Sectors * testedMedia.BlockSize) / 1000 / 1000 / 1000 / 1000} Tb, {(double)(testedMedia.LBA48Sectors * testedMedia.BlockSize) / 1024 / 1024 / 1024 / 1024:F2} TiB");
|
||||
else if((testedMedia.LBA48Sectors * testedMedia.BlockSize) / 1024 / 1024 > 1000)
|
||||
mediaOneValue.
|
||||
Add($"Medium size in 48-bit LBA mode: {testedMedia.LBA48Sectors * testedMedia.BlockSize} bytes, {testedMedia.LBA48Sectors * testedMedia.BlockSize / 1000 / 1000 / 1000} Gb, {(double)(testedMedia.LBA48Sectors * testedMedia.BlockSize) / 1024 / 1024 / 1024:F2} GiB");
|
||||
Add($"Medium size in 48-bit LBA mode: {testedMedia.LBA48Sectors * testedMedia.BlockSize} bytes, {(testedMedia.LBA48Sectors * testedMedia.BlockSize) / 1000 / 1000 / 1000} Gb, {(double)(testedMedia.LBA48Sectors * testedMedia.BlockSize) / 1024 / 1024 / 1024:F2} GiB");
|
||||
else
|
||||
mediaOneValue.
|
||||
Add($"Medium size in 48-bit LBA mode: {testedMedia.LBA48Sectors * testedMedia.BlockSize} bytes, {testedMedia.LBA48Sectors * testedMedia.BlockSize / 1000 / 1000} Mb, {(double)(testedMedia.LBA48Sectors * testedMedia.BlockSize) / 1024 / 1024:F2} MiB");
|
||||
Add($"Medium size in 48-bit LBA mode: {testedMedia.LBA48Sectors * testedMedia.BlockSize} bytes, {(testedMedia.LBA48Sectors * testedMedia.BlockSize) / 1000 / 1000} Mb, {(double)(testedMedia.LBA48Sectors * testedMedia.BlockSize) / 1024 / 1024:F2} MiB");
|
||||
}
|
||||
|
||||
if(testedMedia.NominalRotationRate != null &&
|
||||
|
||||
@@ -1492,14 +1492,14 @@ namespace Aaru.Server.Migrations
|
||||
|
||||
modelBuilder.Entity("Aaru.CommonTypes.Metadata.Mmc", b =>
|
||||
{
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.MmcFeatures", "Features").WithMany().
|
||||
HasForeignKey("FeaturesId").OnDelete(DeleteBehavior.SetNull);
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.MmcFeatures", "Features").WithMany().HasForeignKey("FeaturesId").
|
||||
OnDelete(DeleteBehavior.SetNull);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Aaru.CommonTypes.Metadata.Scsi", b =>
|
||||
{
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.ScsiMode", "ModeSense").WithMany().
|
||||
HasForeignKey("ModeSenseId").OnDelete(DeleteBehavior.SetNull);
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.ScsiMode", "ModeSense").WithMany().HasForeignKey("ModeSenseId").
|
||||
OnDelete(DeleteBehavior.SetNull);
|
||||
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.Mmc", "MultiMediaDevice").WithMany().
|
||||
HasForeignKey("MultiMediaDeviceId").OnDelete(DeleteBehavior.SetNull);
|
||||
@@ -1516,46 +1516,44 @@ namespace Aaru.Server.Migrations
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.Scsi", null).WithMany("EVPDPages").HasForeignKey("ScsiId").
|
||||
OnDelete(DeleteBehavior.SetNull);
|
||||
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.ScsiMode", null).WithMany("ModePages").
|
||||
HasForeignKey("ScsiModeId").OnDelete(DeleteBehavior.SetNull);
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.ScsiMode", null).WithMany("ModePages").HasForeignKey("ScsiModeId").
|
||||
OnDelete(DeleteBehavior.SetNull);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Aaru.CommonTypes.Metadata.SscSupportedMedia", b =>
|
||||
{
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.Ssc", null).WithMany("SupportedMediaTypes").
|
||||
HasForeignKey("SscId").OnDelete(DeleteBehavior.SetNull);
|
||||
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.TestedSequentialMedia", null).
|
||||
WithMany("SupportedMediaTypes").HasForeignKey("TestedSequentialMediaId").
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.Ssc", null).WithMany("SupportedMediaTypes").HasForeignKey("SscId").
|
||||
OnDelete(DeleteBehavior.SetNull);
|
||||
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.TestedSequentialMedia", null).WithMany("SupportedMediaTypes").
|
||||
HasForeignKey("TestedSequentialMediaId").OnDelete(DeleteBehavior.SetNull);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Aaru.CommonTypes.Metadata.SupportedDensity", b =>
|
||||
{
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.Ssc", null).WithMany("SupportedDensities").
|
||||
HasForeignKey("SscId").OnDelete(DeleteBehavior.Cascade);
|
||||
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.TestedSequentialMedia", null).
|
||||
WithMany("SupportedDensities").HasForeignKey("TestedSequentialMediaId").
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.Ssc", null).WithMany("SupportedDensities").HasForeignKey("SscId").
|
||||
OnDelete(DeleteBehavior.Cascade);
|
||||
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.TestedSequentialMedia", null).WithMany("SupportedDensities").
|
||||
HasForeignKey("TestedSequentialMediaId").OnDelete(DeleteBehavior.Cascade);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Aaru.CommonTypes.Metadata.TestedMedia", b =>
|
||||
{
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.Ata", null).WithMany("RemovableMedias").
|
||||
HasForeignKey("AtaId").OnDelete(DeleteBehavior.SetNull);
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.Ata", null).WithMany("RemovableMedias").HasForeignKey("AtaId").
|
||||
OnDelete(DeleteBehavior.SetNull);
|
||||
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.Chs", "CHS").WithMany().HasForeignKey("CHSId").
|
||||
OnDelete(DeleteBehavior.SetNull);
|
||||
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.Chs", "CurrentCHS").WithMany().
|
||||
HasForeignKey("CurrentCHSId").OnDelete(DeleteBehavior.SetNull);
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.Chs", "CurrentCHS").WithMany().HasForeignKey("CurrentCHSId").
|
||||
OnDelete(DeleteBehavior.SetNull);
|
||||
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.Mmc", null).WithMany("TestedMedia").HasForeignKey("MmcId").
|
||||
OnDelete(DeleteBehavior.Cascade);
|
||||
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.Scsi", null).WithMany("RemovableMedias").
|
||||
HasForeignKey("ScsiId").OnDelete(DeleteBehavior.SetNull);
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.Scsi", null).WithMany("RemovableMedias").HasForeignKey("ScsiId").
|
||||
OnDelete(DeleteBehavior.SetNull);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Aaru.CommonTypes.Metadata.TestedSequentialMedia", b =>
|
||||
@@ -1575,8 +1573,8 @@ namespace Aaru.Server.Migrations
|
||||
b.HasOne("Aaru.Server.Models.CompactDiscOffset", "CdOffset").WithMany("Devices").
|
||||
HasForeignKey("CdOffsetId").OnDelete(DeleteBehavior.SetNull);
|
||||
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.FireWire", "FireWire").WithMany().
|
||||
HasForeignKey("FireWireId").OnDelete(DeleteBehavior.SetNull);
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.FireWire", "FireWire").WithMany().HasForeignKey("FireWireId").
|
||||
OnDelete(DeleteBehavior.SetNull);
|
||||
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.MmcSd", "MultiMediaCard").WithMany().
|
||||
HasForeignKey("MultiMediaCardId").OnDelete(DeleteBehavior.SetNull);
|
||||
@@ -1608,8 +1606,8 @@ namespace Aaru.Server.Migrations
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.Ata", "ATAPI").WithMany().HasForeignKey("ATAPIId").
|
||||
OnDelete(DeleteBehavior.SetNull);
|
||||
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.FireWire", "FireWire").WithMany().
|
||||
HasForeignKey("FireWireId").OnDelete(DeleteBehavior.SetNull);
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.FireWire", "FireWire").WithMany().HasForeignKey("FireWireId").
|
||||
OnDelete(DeleteBehavior.SetNull);
|
||||
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.MmcSd", "MultiMediaCard").WithMany().
|
||||
HasForeignKey("MultiMediaCardId").OnDelete(DeleteBehavior.SetNull);
|
||||
@@ -1629,8 +1627,8 @@ namespace Aaru.Server.Migrations
|
||||
|
||||
modelBuilder.Entity("Aaru.Server.Models.UsbProduct", b =>
|
||||
{
|
||||
b.HasOne("Aaru.Server.Models.UsbVendor", "Vendor").WithMany("Products").
|
||||
HasForeignKey("VendorId").OnDelete(DeleteBehavior.Cascade).IsRequired();
|
||||
b.HasOne("Aaru.Server.Models.UsbVendor", "Vendor").WithMany("Products").HasForeignKey("VendorId").
|
||||
OnDelete(DeleteBehavior.Cascade).IsRequired();
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityRoleClaim<string>", b =>
|
||||
|
||||
@@ -39,7 +39,7 @@ namespace Aaru.Server.Models
|
||||
{
|
||||
public class CompactDiscOffset : CdOffset
|
||||
{
|
||||
public CompactDiscOffset() { }
|
||||
public CompactDiscOffset() {}
|
||||
|
||||
public CompactDiscOffset(string manufacturer, string model, short offset, int submissions, float agreement)
|
||||
{
|
||||
|
||||
@@ -32,5 +32,5 @@
|
||||
|
||||
namespace Aaru.Server.Models
|
||||
{
|
||||
public class Command : NameCountModel<int> { }
|
||||
public class Command : NameCountModel<int> {}
|
||||
}
|
||||
@@ -41,9 +41,9 @@ namespace Aaru.Server.Models
|
||||
{
|
||||
public sealed class AaruServerContext : IdentityDbContext<IdentityUser>
|
||||
{
|
||||
public AaruServerContext() { }
|
||||
public AaruServerContext() {}
|
||||
|
||||
public AaruServerContext(DbContextOptions<AaruServerContext> options) : base(options) { }
|
||||
public AaruServerContext(DbContextOptions<AaruServerContext> options) : base(options) {}
|
||||
|
||||
public DbSet<Device> Devices { get; set; }
|
||||
public DbSet<UploadedReport> Reports { get; set; }
|
||||
@@ -113,14 +113,14 @@ namespace Aaru.Server.Models
|
||||
|
||||
modelBuilder.Entity("Aaru.CommonTypes.Metadata.Mmc", b =>
|
||||
{
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.MmcFeatures", "Features").WithMany().
|
||||
HasForeignKey("FeaturesId").OnDelete(DeleteBehavior.SetNull);
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.MmcFeatures", "Features").WithMany().HasForeignKey("FeaturesId").
|
||||
OnDelete(DeleteBehavior.SetNull);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Aaru.CommonTypes.Metadata.Scsi", b =>
|
||||
{
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.ScsiMode", "ModeSense").WithMany().
|
||||
HasForeignKey("ModeSenseId").OnDelete(DeleteBehavior.SetNull);
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.ScsiMode", "ModeSense").WithMany().HasForeignKey("ModeSenseId").
|
||||
OnDelete(DeleteBehavior.SetNull);
|
||||
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.Mmc", "MultiMediaDevice").WithMany().
|
||||
HasForeignKey("MultiMediaDeviceId").OnDelete(DeleteBehavior.SetNull);
|
||||
@@ -137,46 +137,44 @@ namespace Aaru.Server.Models
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.Scsi", null).WithMany("EVPDPages").HasForeignKey("ScsiId").
|
||||
OnDelete(DeleteBehavior.SetNull);
|
||||
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.ScsiMode", null).WithMany("ModePages").
|
||||
HasForeignKey("ScsiModeId").OnDelete(DeleteBehavior.SetNull);
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.ScsiMode", null).WithMany("ModePages").HasForeignKey("ScsiModeId").
|
||||
OnDelete(DeleteBehavior.SetNull);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Aaru.CommonTypes.Metadata.SscSupportedMedia", b =>
|
||||
{
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.Ssc", null).WithMany("SupportedMediaTypes").
|
||||
HasForeignKey("SscId").OnDelete(DeleteBehavior.SetNull);
|
||||
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.TestedSequentialMedia", null).
|
||||
WithMany("SupportedMediaTypes").HasForeignKey("TestedSequentialMediaId").
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.Ssc", null).WithMany("SupportedMediaTypes").HasForeignKey("SscId").
|
||||
OnDelete(DeleteBehavior.SetNull);
|
||||
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.TestedSequentialMedia", null).WithMany("SupportedMediaTypes").
|
||||
HasForeignKey("TestedSequentialMediaId").OnDelete(DeleteBehavior.SetNull);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Aaru.CommonTypes.Metadata.SupportedDensity", b =>
|
||||
{
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.Ssc", null).WithMany("SupportedDensities").
|
||||
HasForeignKey("SscId").OnDelete(DeleteBehavior.Cascade);
|
||||
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.TestedSequentialMedia", null).
|
||||
WithMany("SupportedDensities").HasForeignKey("TestedSequentialMediaId").
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.Ssc", null).WithMany("SupportedDensities").HasForeignKey("SscId").
|
||||
OnDelete(DeleteBehavior.Cascade);
|
||||
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.TestedSequentialMedia", null).WithMany("SupportedDensities").
|
||||
HasForeignKey("TestedSequentialMediaId").OnDelete(DeleteBehavior.Cascade);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Aaru.CommonTypes.Metadata.TestedMedia", b =>
|
||||
{
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.Ata", null).WithMany("RemovableMedias").
|
||||
HasForeignKey("AtaId").OnDelete(DeleteBehavior.SetNull);
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.Ata", null).WithMany("RemovableMedias").HasForeignKey("AtaId").
|
||||
OnDelete(DeleteBehavior.SetNull);
|
||||
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.Chs", "CHS").WithMany().HasForeignKey("CHSId").
|
||||
OnDelete(DeleteBehavior.SetNull);
|
||||
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.Chs", "CurrentCHS").WithMany().
|
||||
HasForeignKey("CurrentCHSId").OnDelete(DeleteBehavior.SetNull);
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.Chs", "CurrentCHS").WithMany().HasForeignKey("CurrentCHSId").
|
||||
OnDelete(DeleteBehavior.SetNull);
|
||||
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.Mmc", null).WithMany("TestedMedia").HasForeignKey("MmcId").
|
||||
OnDelete(DeleteBehavior.Cascade);
|
||||
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.Scsi", null).WithMany("RemovableMedias").
|
||||
HasForeignKey("ScsiId").OnDelete(DeleteBehavior.SetNull);
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.Scsi", null).WithMany("RemovableMedias").HasForeignKey("ScsiId").
|
||||
OnDelete(DeleteBehavior.SetNull);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Aaru.CommonTypes.Metadata.TestedSequentialMedia", b =>
|
||||
@@ -196,8 +194,8 @@ namespace Aaru.Server.Models
|
||||
b.HasOne("Aaru.Server.Models.CompactDiscOffset", "CdOffset").WithMany("Devices").
|
||||
HasForeignKey("CdOffsetId").OnDelete(DeleteBehavior.SetNull);
|
||||
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.FireWire", "FireWire").WithMany().
|
||||
HasForeignKey("FireWireId").OnDelete(DeleteBehavior.SetNull);
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.FireWire", "FireWire").WithMany().HasForeignKey("FireWireId").
|
||||
OnDelete(DeleteBehavior.SetNull);
|
||||
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.MmcSd", "MultiMediaCard").WithMany().
|
||||
HasForeignKey("MultiMediaCardId").OnDelete(DeleteBehavior.SetNull);
|
||||
@@ -229,8 +227,8 @@ namespace Aaru.Server.Models
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.Ata", "ATAPI").WithMany().HasForeignKey("ATAPIId").
|
||||
OnDelete(DeleteBehavior.SetNull);
|
||||
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.FireWire", "FireWire").WithMany().
|
||||
HasForeignKey("FireWireId").OnDelete(DeleteBehavior.SetNull);
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.FireWire", "FireWire").WithMany().HasForeignKey("FireWireId").
|
||||
OnDelete(DeleteBehavior.SetNull);
|
||||
|
||||
b.HasOne("Aaru.CommonTypes.Metadata.MmcSd", "MultiMediaCard").WithMany().
|
||||
HasForeignKey("MultiMediaCardId").OnDelete(DeleteBehavior.SetNull);
|
||||
|
||||
@@ -32,5 +32,5 @@
|
||||
|
||||
namespace Aaru.Server.Models
|
||||
{
|
||||
public class Filesystem : NameCountModel<int> { }
|
||||
public class Filesystem : NameCountModel<int> {}
|
||||
}
|
||||
@@ -32,5 +32,5 @@
|
||||
|
||||
namespace Aaru.Server.Models
|
||||
{
|
||||
public class Filter : NameCountModel<int> { }
|
||||
public class Filter : NameCountModel<int> {}
|
||||
}
|
||||
@@ -32,5 +32,5 @@
|
||||
|
||||
namespace Aaru.Server.Models
|
||||
{
|
||||
public class MediaFormat : NameCountModel<int> { }
|
||||
public class MediaFormat : NameCountModel<int> {}
|
||||
}
|
||||
@@ -32,5 +32,5 @@
|
||||
|
||||
namespace Aaru.Server.Models
|
||||
{
|
||||
public class OperatingSystem : BaseOperatingSystem { }
|
||||
public class OperatingSystem : BaseOperatingSystem {}
|
||||
}
|
||||
@@ -32,5 +32,5 @@
|
||||
|
||||
namespace Aaru.Server.Models
|
||||
{
|
||||
public class Partition : NameCountModel<int> { }
|
||||
public class Partition : NameCountModel<int> {}
|
||||
}
|
||||
@@ -32,5 +32,5 @@
|
||||
|
||||
namespace Aaru.Server.Models
|
||||
{
|
||||
public class RemoteApplication : BaseOperatingSystem { }
|
||||
public class RemoteApplication : BaseOperatingSystem {}
|
||||
}
|
||||
@@ -32,5 +32,5 @@
|
||||
|
||||
namespace Aaru.Server.Models
|
||||
{
|
||||
public class RemoteArchitecture : NameCountModel<int> { }
|
||||
public class RemoteArchitecture : NameCountModel<int> {}
|
||||
}
|
||||
@@ -32,5 +32,5 @@
|
||||
|
||||
namespace Aaru.Server.Models
|
||||
{
|
||||
public class RemoteOperatingSystem : BaseOperatingSystem { }
|
||||
public class RemoteOperatingSystem : BaseOperatingSystem {}
|
||||
}
|
||||
@@ -37,7 +37,7 @@ namespace Aaru.Server.Models
|
||||
{
|
||||
public class UsbProduct : BaseModel<int>
|
||||
{
|
||||
public UsbProduct() { }
|
||||
public UsbProduct() {}
|
||||
|
||||
public UsbProduct(UsbVendor vendor, ushort id, string product)
|
||||
{
|
||||
|
||||
@@ -40,7 +40,7 @@ namespace Aaru.Server.Models
|
||||
{
|
||||
public class UsbVendor : BaseModel<int>
|
||||
{
|
||||
public UsbVendor() { }
|
||||
public UsbVendor() {}
|
||||
|
||||
public UsbVendor(ushort id, string vendor)
|
||||
{
|
||||
|
||||
@@ -32,5 +32,5 @@
|
||||
|
||||
namespace Aaru.Server.Models
|
||||
{
|
||||
public class Version : NameCountModel<int> { }
|
||||
public class Version : NameCountModel<int> {}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
using System;
|
||||
using Aaru.Server.Models;
|
||||
using Aaru.CommonTypes.Interop;
|
||||
using Aaru.Server.Models;
|
||||
using Microsoft.AspNetCore.Hosting;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
@@ -49,7 +49,7 @@ namespace Aaru.Server
|
||||
@" _\////////////_____\///////////________\/////////__" +
|
||||
"\n\u001b[0m" +
|
||||
"\u001b[32m :MMMMMK; cWMNkl:;;;:lxKMXc .0MMMMMO\u001b[0m\n" +
|
||||
"\u001b[32m ..KMMMMMMNo,. ,OMMMMMMW:,. \u001b[37;1m DiscImageChef Website\u001b[0m\n" +
|
||||
"\u001b[32m ..KMMMMMMNo,. ,OMMMMMMW:,. \u001b[37;1m Aaru Website\u001b[0m\n" +
|
||||
"\u001b[32m .;d0NMMMMMMMMMMMMMMW0d:' .;lOWMMMMMMMMMMMMMXkl. \u001b[37;1m Version \u001b[0m\u001b[33m{0}\u001b[37;1m-\u001b[0m\u001b[31m{1}\u001b[0m\n" +
|
||||
"\u001b[32m :KMMMMMMMMMMMMMMMMMMMMMMMMc WMMMMMMMMMMMMMMMMMMMMMMWk'\u001b[0m\n" +
|
||||
"\u001b[32m ;NMMMMWX0kkkkO0XMMMMMMMMMMM0' dNMMMMMMMMMMW0xl:;,;:oOWMMX; \u001b[37;1m Running under \u001b[35;1m{2}\u001b[37;1m, \u001b[35m{3}-bit\u001b[37;1m in \u001b[35m{4}-bit\u001b[37;1m mode.\u001b[0m\n" +
|
||||
@@ -89,7 +89,7 @@ namespace Aaru.Server
|
||||
{
|
||||
start = DateTime.Now;
|
||||
System.Console.WriteLine("\u001b[31;1mUpdating database with Entity Framework...\u001b[0m");
|
||||
var context = services.GetRequiredService<AaruServerContext>();
|
||||
AaruServerContext context = services.GetRequiredService<AaruServerContext>();
|
||||
context.Database.Migrate();
|
||||
end = DateTime.Now;
|
||||
|
||||
|
||||
@@ -22,9 +22,9 @@ namespace Aaru.Server
|
||||
public void ConfigureServices(IServiceCollection services)
|
||||
{
|
||||
services.AddDbContext<AaruServerContext>(options => options.
|
||||
UseMySql(Configuration.
|
||||
GetConnectionString("DefaultConnection")).
|
||||
UseLazyLoadingProxies());
|
||||
UseMySql(Configuration.
|
||||
GetConnectionString("DefaultConnection")).
|
||||
UseLazyLoadingProxies());
|
||||
|
||||
services.AddDefaultIdentity<IdentityUser>(options =>
|
||||
{
|
||||
|
||||
@@ -42,7 +42,7 @@ Aaru Report for
|
||||
@ViewBag.lblModel
|
||||
@ViewBag.lblRevision
|
||||
|
||||
@if (ViewBag.UsbItem != null)
|
||||
@if(ViewBag.UsbItem != null)
|
||||
{
|
||||
<div id="divUsb">
|
||||
<br />
|
||||
@@ -55,7 +55,7 @@ Aaru Report for
|
||||
</div>
|
||||
}
|
||||
|
||||
@if (ViewBag.FireWireItem != null)
|
||||
@if(ViewBag.FireWireItem != null)
|
||||
{
|
||||
<div id="divFireWire">
|
||||
<br />
|
||||
@@ -68,7 +68,7 @@ Aaru Report for
|
||||
</div>
|
||||
}
|
||||
|
||||
@if (ViewBag.PcmciaItem != null)
|
||||
@if(ViewBag.PcmciaItem != null)
|
||||
{
|
||||
<div id="divPcmcia">
|
||||
<br />
|
||||
@@ -79,9 +79,9 @@ Aaru Report for
|
||||
<i>Manufacturer code:</i> @ViewBag.PcmciaItem.VendorDescription<br />
|
||||
<i>Card code:</i> @ViewBag.PcmciaItem.CardCode<br />
|
||||
<i>Compliance:</i> @ViewBag.PcmciaItem.Compliance<br />
|
||||
@if (ViewBag.repPcmciaTuples != null)
|
||||
@if(ViewBag.repPcmciaTuples != null)
|
||||
{
|
||||
foreach (KeyValuePair<string, string> kvp in ViewBag.repPcmciaTuples)
|
||||
foreach(KeyValuePair<string, string> kvp in ViewBag.repPcmciaTuples)
|
||||
{
|
||||
<text>
|
||||
<i>@kvp.Key</i>: @kvp.Value<br /></text>
|
||||
@@ -90,7 +90,7 @@ Aaru Report for
|
||||
</div>
|
||||
}
|
||||
|
||||
@if (ViewBag.AtaItem != null)
|
||||
@if(ViewBag.AtaItem != null)
|
||||
{
|
||||
<div id="divAta">
|
||||
<br />
|
||||
@@ -99,19 +99,19 @@ Aaru Report for
|
||||
</b>
|
||||
<br />
|
||||
@ViewBag.lblAtaDeviceType<br />
|
||||
@foreach (KeyValuePair<string, string> kvp in ViewBag.repAtaTwo)
|
||||
@foreach(KeyValuePair<string, string> kvp in ViewBag.repAtaTwo)
|
||||
{
|
||||
<text>
|
||||
<i>@kvp.Key</i>: @kvp.Value<br /></text>
|
||||
}
|
||||
<br />
|
||||
@foreach (string item in ViewBag.repAtaOne)
|
||||
@foreach(string item in ViewBag.repAtaOne)
|
||||
{
|
||||
@Html.Raw(item)<br />
|
||||
}
|
||||
</div>
|
||||
}
|
||||
@if (ViewBag.repScsi != null)
|
||||
@if(ViewBag.repScsi != null)
|
||||
{
|
||||
<div id="divScsi">
|
||||
<br />
|
||||
@@ -120,11 +120,11 @@ Aaru Report for
|
||||
<i>Vendor: </i>@ViewBag.lblScsiVendor<br />
|
||||
<i>Product: </i>@ViewBag.lblScsiProduct<br />
|
||||
<i>Revision: </i>@ViewBag.lblScsiRevision<br />
|
||||
@foreach (string item in ViewBag.repScsi)
|
||||
@foreach(string item in ViewBag.repScsi)
|
||||
{
|
||||
@Html.Raw(item)<br />
|
||||
}
|
||||
@if (ViewBag.repModeSense != null)
|
||||
@if(ViewBag.repModeSense != null)
|
||||
{
|
||||
<div id="divScsiModeSense">
|
||||
<br />
|
||||
@@ -134,7 +134,7 @@ Aaru Report for
|
||||
<th>Mode</th>
|
||||
<th>Contents</th>
|
||||
</tr>
|
||||
@foreach (KeyValuePair<string, string> kvp in ViewBag.repModeSense)
|
||||
@foreach(KeyValuePair<string, string> kvp in ViewBag.repModeSense)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
@@ -148,7 +148,7 @@ Aaru Report for
|
||||
</table>
|
||||
</div>
|
||||
}
|
||||
@if (ViewBag.repEvpd != null)
|
||||
@if(ViewBag.repEvpd != null)
|
||||
{
|
||||
<div id="divScsiEvpd">
|
||||
<br />
|
||||
@@ -158,7 +158,7 @@ Aaru Report for
|
||||
<th>EVPD</th>
|
||||
<th>Contents</th>
|
||||
</tr>
|
||||
@foreach (KeyValuePair<string, string> kvp in ViewBag.repEvpd)
|
||||
@foreach(KeyValuePair<string, string> kvp in ViewBag.repEvpd)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
@@ -172,31 +172,31 @@ Aaru Report for
|
||||
</table>
|
||||
</div>
|
||||
}
|
||||
@if (ViewBag.repScsiMmcMode != null)
|
||||
@if(ViewBag.repScsiMmcMode != null)
|
||||
{
|
||||
<div id="divScsiMmcMode">
|
||||
<br />
|
||||
<b>SCSI CD-ROM capabilities:</b>
|
||||
<br />
|
||||
@foreach (string item in ViewBag.repScsiMmcMode)
|
||||
@foreach(string item in ViewBag.repScsiMmcMode)
|
||||
{
|
||||
@Html.Raw(item)<br />
|
||||
}
|
||||
</div>
|
||||
}
|
||||
@if (ViewBag.repScsiMmcFeatures != null)
|
||||
@if(ViewBag.repScsiMmcFeatures != null)
|
||||
{
|
||||
<div id="divScsiMmcFeatures">
|
||||
<br />
|
||||
<b>SCSI MMC features:</b>
|
||||
<br />
|
||||
@foreach (string item in ViewBag.repScsiMmcFeatures)
|
||||
@foreach(string item in ViewBag.repScsiMmcFeatures)
|
||||
{
|
||||
@Html.Raw(item)<br />
|
||||
}
|
||||
</div>
|
||||
}
|
||||
@if (ViewBag.divScsiSscVisible == true)
|
||||
@if(ViewBag.divScsiSscVisible == true)
|
||||
{
|
||||
<div id="divScsiSsc">
|
||||
<br />
|
||||
@@ -207,9 +207,9 @@ Aaru Report for
|
||||
<br />
|
||||
Minimum block length: @ViewBag.lblScsiSscMinBlock bytes
|
||||
<br />
|
||||
@if (ViewBag.repScsiSscDensities != null)
|
||||
@if(ViewBag.repScsiSscDensities != null)
|
||||
{
|
||||
foreach (SupportedDensity density in ViewBag.repScsiSscDensities)
|
||||
foreach(SupportedDensity density in ViewBag.repScsiSscDensities)
|
||||
{
|
||||
<text>
|
||||
<br />
|
||||
@@ -229,9 +229,9 @@ Aaru Report for
|
||||
</text>
|
||||
}
|
||||
}
|
||||
@if (ViewBag.repScsiSscMedias != null)
|
||||
@if(ViewBag.repScsiSscMedias != null)
|
||||
{
|
||||
foreach (SscSupportedMedia media in ViewBag.repScsiSscMedias)
|
||||
foreach(SscSupportedMedia media in ViewBag.repScsiSscMedias)
|
||||
{
|
||||
<text>
|
||||
<br />
|
||||
@@ -250,37 +250,37 @@ Aaru Report for
|
||||
}
|
||||
</div>
|
||||
}
|
||||
@if (ViewBag.repTestedMedia != null)
|
||||
@if(ViewBag.repTestedMedia != null)
|
||||
{
|
||||
<div id="divTestedMedia">
|
||||
<br />
|
||||
<b>Tested media:</b>
|
||||
<br />
|
||||
@foreach (string item in ViewBag.repTestedMedia)
|
||||
@foreach(string item in ViewBag.repTestedMedia)
|
||||
{
|
||||
@Html.Raw(item)<br />
|
||||
}
|
||||
</div>
|
||||
}
|
||||
@if (ViewBag.repMMC != null)
|
||||
@if(ViewBag.repMMC != null)
|
||||
{
|
||||
<div id="divMMC">
|
||||
<br />
|
||||
<b>MultiMediaCard device:</b>
|
||||
<br />
|
||||
@foreach (string item in ViewBag.repMMC)
|
||||
@foreach(string item in ViewBag.repMMC)
|
||||
{
|
||||
@Html.Raw(item)<br />
|
||||
}
|
||||
</div>
|
||||
}
|
||||
@if (ViewBag.repSD != null)
|
||||
@if(ViewBag.repSD != null)
|
||||
{
|
||||
<div id="divSD">
|
||||
<br />
|
||||
<b>SecureDigital device:</b>
|
||||
<br />
|
||||
@foreach (string item in ViewBag.repSD)
|
||||
@foreach(string item in ViewBag.repSD)
|
||||
{
|
||||
@Html.Raw(item)<br />
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
}
|
||||
<h1 class="text-danger">Error.</h1>
|
||||
<h2 class="text-danger">An error occurred while processing your request.</h2>
|
||||
@if (Model.ShowRequestId)
|
||||
@if(Model.ShowRequestId)
|
||||
{
|
||||
<p>
|
||||
<strong>Request ID:</strong>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
var cookieString = consentFeature?.CreateConsentCookie();
|
||||
}
|
||||
|
||||
@if (showBanner)
|
||||
@if(showBanner)
|
||||
{
|
||||
<div class="alert alert-dismissible alert-info fade show" id="cookieConsent" role="alert">
|
||||
Use this space to summarize your privacy and cookie use policy.
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
<html>
|
||||
<meta charset="UTF-8">
|
||||
<head>
|
||||
@switch (DateTime.UtcNow.DayOfYear)
|
||||
@switch(DateTime.UtcNow.DayOfYear)
|
||||
{
|
||||
// 24th January, Macintosh launch
|
||||
case 24:
|
||||
@@ -74,7 +74,7 @@
|
||||
Claunia.com
|
||||
</a>
|
||||
<br />
|
||||
@switch (DateTime.UtcNow.DayOfYear)
|
||||
@switch(DateTime.UtcNow.DayOfYear)
|
||||
{
|
||||
// 24th January, Macintosh launch
|
||||
case 24:
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
</i> Server version @ViewBag.Version
|
||||
</header>
|
||||
<div class="container-fluid mt-3">
|
||||
@if (ViewBag.repOperatingSystems != null)
|
||||
@if(ViewBag.repOperatingSystems != null)
|
||||
{
|
||||
<div class="container" id="divOperatingSystems">
|
||||
<div class="carousel slide" data-ride="carousel" id="carouselOses">
|
||||
@@ -96,7 +96,7 @@
|
||||
<div aria-labelledby="osHeading" class="collapse" data-parent="#osAccordion" id="osCollapse">
|
||||
<div class="card-body">
|
||||
<table class="table-dark">
|
||||
@foreach (NameValueStats os in ViewBag.repOperatingSystems)
|
||||
@foreach(NameValueStats os in ViewBag.repOperatingSystems)
|
||||
{
|
||||
<tr>
|
||||
<td class="text-left">
|
||||
@@ -113,7 +113,7 @@
|
||||
<br />
|
||||
</div>
|
||||
}
|
||||
@if (ViewBag.repVersions != null)
|
||||
@if(ViewBag.repVersions != null)
|
||||
{
|
||||
<div class="container mt-3" id="divVersions">
|
||||
<div class="container">
|
||||
@@ -131,7 +131,7 @@
|
||||
<div aria-labelledby="versionsHeading" class="collapse" data-parent="#versionsAccordion" id="versionsCollapse">
|
||||
<div class="card-body">
|
||||
<table class="table-dark">
|
||||
@foreach (NameValueStats version in ViewBag.repVersions)
|
||||
@foreach(NameValueStats version in ViewBag.repVersions)
|
||||
{
|
||||
<tr>
|
||||
<td class="text-left">
|
||||
@@ -148,7 +148,7 @@
|
||||
<br />
|
||||
</div>
|
||||
}
|
||||
@if (ViewBag.repCommands != null)
|
||||
@if(ViewBag.repCommands != null)
|
||||
{
|
||||
<div class="container mt-3" id="divCommands">
|
||||
<div class="container">
|
||||
@@ -166,7 +166,7 @@
|
||||
<div aria-labelledby="commandsHeading" class="collapse" data-parent="#commandsAccordion" id="commandsCollapse">
|
||||
<div class="card-body">
|
||||
<table class="table-dark">
|
||||
@foreach (Command command in ViewBag.repCommands)
|
||||
@foreach(Command command in ViewBag.repCommands)
|
||||
{
|
||||
<tr>
|
||||
<td class="text-left">
|
||||
@@ -182,7 +182,7 @@
|
||||
<br />
|
||||
</div>
|
||||
}
|
||||
@if (ViewBag.repFilters != null)
|
||||
@if(ViewBag.repFilters != null)
|
||||
{
|
||||
<div class="container mt-3" id="divFilters">
|
||||
<div class="container">
|
||||
@@ -204,7 +204,7 @@
|
||||
<th class="table-dark-header">Filter</th>
|
||||
<th class="table-dark-header">Times</th>
|
||||
</tr>
|
||||
@foreach (Filter filter in ViewBag.repFilters)
|
||||
@foreach(Filter filter in ViewBag.repFilters)
|
||||
{
|
||||
<tr>
|
||||
<td class="text-right">
|
||||
@@ -222,7 +222,7 @@
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
@if (ViewBag.repMediaImages != null)
|
||||
@if(ViewBag.repMediaImages != null)
|
||||
{
|
||||
<div class="container mt-3" id="divMediaImages">
|
||||
<div class="container">
|
||||
@@ -244,7 +244,7 @@
|
||||
<th class="table-dark-header">Media image format</th>
|
||||
<th class="table-dark-header">Times</th>
|
||||
</tr>
|
||||
@foreach (MediaFormat format in ViewBag.repMediaImages)
|
||||
@foreach(MediaFormat format in ViewBag.repMediaImages)
|
||||
{
|
||||
<tr>
|
||||
<td class="text-left">
|
||||
@@ -262,7 +262,7 @@
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
@if (ViewBag.repPartitions != null)
|
||||
@if(ViewBag.repPartitions != null)
|
||||
{
|
||||
<div class="container mt-3" id="divPartitions">
|
||||
<div class="container">
|
||||
@@ -284,7 +284,7 @@
|
||||
<th class="table-dark-header">Partitioning scheme</th>
|
||||
<th class="table-dark-header">Times</th>
|
||||
</tr>
|
||||
@foreach (Partition partition in ViewBag.repPartitions)
|
||||
@foreach(Partition partition in ViewBag.repPartitions)
|
||||
{
|
||||
<tr>
|
||||
<td class="text-left">
|
||||
@@ -302,7 +302,7 @@
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
@if (ViewBag.repFilesystems != null)
|
||||
@if(ViewBag.repFilesystems != null)
|
||||
{
|
||||
<div class="container mt-3" id="divFilesystems">
|
||||
<div class="container">
|
||||
@@ -324,7 +324,7 @@
|
||||
<th class="table-dark-header">Filesystem name</th>
|
||||
<th class="table-dark-header">Times</th>
|
||||
</tr>
|
||||
@foreach (Filesystem filesystem in ViewBag.repFilesystems)
|
||||
@foreach(Filesystem filesystem in ViewBag.repFilesystems)
|
||||
{
|
||||
<tr>
|
||||
<td class="text-left">
|
||||
@@ -342,7 +342,7 @@
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
@if (ViewBag.repVirtualMedia != null)
|
||||
@if(ViewBag.repVirtualMedia != null)
|
||||
{
|
||||
<div class="container mt-3" id="divVirtualMedia">
|
||||
<div class="container">
|
||||
@@ -365,7 +365,7 @@
|
||||
<th class="table-dark-header">Logical type</th>
|
||||
<th class="table-dark-header">Times</th>
|
||||
</tr>
|
||||
@foreach (MediaItem media in ViewBag.repVirtualMedia)
|
||||
@foreach(MediaItem media in ViewBag.repVirtualMedia)
|
||||
{
|
||||
<tr>
|
||||
<td class="text-left">
|
||||
@@ -386,7 +386,7 @@
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
@if (ViewBag.repRealMedia != null)
|
||||
@if(ViewBag.repRealMedia != null)
|
||||
{
|
||||
<div class="container mt-3" id="divRealMedia">
|
||||
<div class="container">
|
||||
@@ -409,7 +409,7 @@
|
||||
<th class="table-dark-header">Logical type</th>
|
||||
<th class="table-dark-header">Times</th>
|
||||
</tr>
|
||||
@foreach (MediaItem media in ViewBag.repRealMedia)
|
||||
@foreach(MediaItem media in ViewBag.repRealMedia)
|
||||
{
|
||||
<tr>
|
||||
<td class="text-left">
|
||||
@@ -430,7 +430,7 @@
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
@if (ViewBag.repDevices != null)
|
||||
@if(ViewBag.repDevices != null)
|
||||
{
|
||||
<div class="container mt-3" id="divDevices">
|
||||
<div class="carousel slide" data-ride="carousel" id="carouselDevices">
|
||||
@@ -478,7 +478,7 @@
|
||||
<th class="table-dark-header">Bus</th>
|
||||
<th class="table-dark-header">Report</th>
|
||||
</tr>
|
||||
@foreach (DeviceItem device in ViewBag.repDevices)
|
||||
@foreach(DeviceItem device in ViewBag.repDevices)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
@@ -494,7 +494,7 @@
|
||||
@device.Bus
|
||||
</td>
|
||||
<td>
|
||||
@if (device.ReportId != 0)
|
||||
@if(device.ReportId != 0)
|
||||
{
|
||||
<text>@Html.ActionLink("Yes", "View", "Report", new
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user