Match TFS Changeset 303361

This commit is contained in:
2022-02-01 19:49:09 -07:00
parent 6b4180dd68
commit a6abe8fdbd
115 changed files with 8097 additions and 13 deletions

View File

@ -0,0 +1,47 @@
@using APCViewer.Controllers
@{
ViewBag.Title = "Background";
int i = 0;
string homeController = nameof(HomeController).Replace("Controller", string.Empty);
}
<div class="jumbotron">
<h1>APC - @(ViewBag.IsPrimaryInstance) - @(ViewBag.Profile) - @(ViewBag.URLs) - 013</h1>
<p class="lead">@(ViewBag.WorkingDirectory)</p>
<p class="lead">@(ViewBag.Message)</p>
<h1>@(ViewBag.ExceptionsCount)</h1>
</div>
<div>
<ul>
<li><a asp-area="" asp-controller="@(homeController)" asp-action="@(nameof(HomeController.Background))">Background Message</a></li>
<li><a asp-area="" asp-controller="@(homeController)" asp-action="@(nameof(HomeController.Background))" asp-route-message_clear="true">Background Message Clear</a></li>
<li><a asp-area="" asp-controller="@(homeController)" asp-action="@(nameof(HomeController.Background))" asp-route-exceptions_clear="true">Background Exceptions Clear</a></li>
<li><a asp-area="" asp-controller="@(homeController)" asp-action="@(nameof(HomeController.Background))" asp-route-set_is_primary_instance="true">Background Set Is Primary Instance</a></li>
<li><a asp-area="" asp-controller="@(homeController)" asp-action="@(nameof(HomeController.Background))" asp-route-set_is_primary_instance="false">Background Clear Primary Instance</a></li>
<li><a asp-area="" asp-controller="@(homeController)" asp-action="@(nameof(HomeController.Background))" asp-route-logistics_clear="true">Background Logistics Clear</a></li>
</ul>
</div>
<p>&nbsp;</p>
<hr />
<div>
<form action="">
@foreach (Exception exception in ViewBag.Exceptions)
{
<p>
@Html.Raw(string.Concat("<textarea name=\"message_", i, "\" rows='1' cols='400'>", exception.Message, "</textarea>"));
</p>
<p>
@Html.Raw(string.Concat("<textarea name=\"stackTrace_", i, "\" rows='4' cols='400'>", exception.StackTrace, "</textarea>"));
</p>
<hr />
@(i += 1);
}
</form>
</div>
@section scripts {
<script>
$(function () {
console.log("ready!");
});
</script>
}

View File

@ -0,0 +1,69 @@
@{
ViewBag.Title = "PDSF";
Dictionary<string, Dictionary<string, List<Shared.Logistics>>> _KeyValuePairs = ViewBag.Grouped;
List<Tuple<string[], Shared.Logistics>> _Tuples = ViewBag.Sorted;
}
<h3>@(ViewBag.Files) File(s)</h3>
<p>
<table id="records" border="1">
<tr>
<th>Environment</th>
<th>Equipment Type</th>
<th>Sequence</th>
<th>Reactor</th>
<th>RDS</th>
<th>Part Number</th>
<th>Date</th>
</tr>
@foreach (var item in _Tuples)
{
<tr>
<td>@item.Item1[0]</td>
<td>@item.Item1[1]</td>
<td><a href="~/Home/ViewPDSF/sequence_@(item.Item2.Sequence)">@item.Item2.Sequence</a></td>
<td>@item.Item2.ProcessJobID</td>
<td>@item.Item2.MID</td>
<td>@item.Item2.Logistics2[0].PartNumber</td>
<td><a href="~/Home/DownloadPDSF/sequence_@(item.Item2.Sequence)">@item.Item2.DateTimeFromSequence</a></td>
</tr>
}
</table>
<hr />
<table id="records" border="1">
<tr>
<th>Environment</th>
<th>Equipment Type</th>
<th>Sequence</th>
<th>Reactor</th>
<th>RDS</th>
<th>Part Number</th>
<th>Date</th>
</tr>
@foreach (var element in _KeyValuePairs)
{
foreach (var innerElement in element.Value)
{
foreach (var item in innerElement.Value)
{
<tr>
<td>@element.Key</td>
<td>@innerElement.Key</td>
<td><a href="~/Home/ViewPDSF/sequence_@(item.Sequence)">@item.Sequence</a></td>
<td>@item.ProcessJobID</td>
<td>@item.MID</td>
<td>@item.Logistics2[0].PartNumber</td>
<td><a href="~/Home/DownloadPDSF/sequence_@(item.Sequence)">@item.DateTimeFromSequence</a></td>
</tr>
}
}
}
</table>
</p>
@section scripts {
<script>
$(function () {
console.log("ready!");
});
</script>
}

View File

@ -0,0 +1,91 @@
@{
string viewLink;
string downloadLink;
ViewBag.Title = "IPDSF";
string _Directory = ViewBag.Directory;
List<Tuple<string[], Shared.Logistics>> _Tuples = ViewBag.Sorted;
Dictionary<string, Dictionary<string, List<Shared.Logistics>>> _KeyValuePairs = ViewBag.Grouped;
}
<h3>@(ViewBag.Files) File(s)</h3>
<p>
<table id="records" border="1">
<tr>
<th>Technology - Environment</th>
<th>Equipment Type</th>
<th>Sequence</th>
<th>Reactor</th>
<th>RDS</th>
<th>Part Number</th>
<th>File Name</th>
<th>Date</th>
</tr>
@foreach (var item in _Tuples)
{
if (!string.IsNullOrEmpty(_Directory) && item.Item2.ReportFullPath.Contains(_Directory))
{
viewLink = string.Concat("~/Home/ViewCustomIPDSF/?ipdsf_file=", Html.Encode(item.Item2.ReportFullPath));
downloadLink = string.Concat("~/Home/DownloadCustomIPDSF/?ipdsf_file=", Html.Encode(item.Item2.ReportFullPath));
}
else
{
viewLink = string.Concat("~/Home/ViewIPDSF/sequence_", item.Item2.Sequence);
downloadLink = string.Concat("~/Home/DownloadIPDSF/sequence_", item.Item2.Sequence);
}
<tr>
<td>@item.Item1[0]</td>
<td>@item.Item1[1]</td>
<td><a href="@Url.Content(viewLink)">@item.Item2.Sequence</a></td>
<td>@item.Item2.ProcessJobID</td>
<td>@item.Item2.MID</td>
<td>@item.Item2.Logistics2[0].PartNumber</td>
<td>@System.IO.Path.GetFileNameWithoutExtension(item.Item2.ReportFullPath)</td>
<td><a href="@Url.Content(downloadLink)">@item.Item2.DateTimeFromSequence</a></td>
</tr>
}
</table>
@if (string.IsNullOrEmpty(_Directory))
{
<hr />
<table id="records" border="1">
<tr>
<th>Technology - Environment</th>
<th>Equipment Type</th>
<th>Sequence</th>
<th>Reactor</th>
<th>RDS</th>
<th>Part Number</th>
<th>File Name</th>
<th>Date</th>
</tr>
@foreach (var element in _KeyValuePairs)
{
foreach (var innerElement in element.Value)
{
foreach (var item in innerElement.Value)
{
viewLink = string.Concat("~/Home/ViewIPDSF/sequence_", item.Sequence);
downloadLink = string.Concat("~/Home/DownloadIPDSF/sequence_", item.Sequence);
<tr>
<td>@element.Key</td>
<td>@innerElement.Key</td>
<td><a href="@Url.Content(viewLink)">@item.Sequence</a></td>
<td>@item.ProcessJobID</td>
<td>@item.MID</td>
<td>@item.Logistics2[0].PartNumber</td>
<td>@System.IO.Path.GetFileNameWithoutExtension(item.ReportFullPath)</td>
<td><a href="@Url.Content(downloadLink)">@item.DateTimeFromSequence</a></td>
</tr>
}
}
}
</table>
}
</p>
@section scripts {
<script>
$(function () {
console.log("ready!");
});
</script>
}

View File

@ -0,0 +1,12 @@
@{
ViewData["Title"] = "Home Page";
}
<div class="text-center">
<h1 class="display-4">Welcome</h1>
<p>Learn about <a href="https://docs.microsoft.com/aspnet/core">building Web apps with ASP.NET Core</a>.</p>
</div>
<div>
<component render-mode="ServerPrerendered" type="typeof(APCViewer.Blazor.Counter)" />
</div>

View File

@ -0,0 +1,91 @@
@{
string viewLink;
string downloadLink;
ViewBag.Title = "PDSF";
string _Directory = ViewBag.Directory;
List<Tuple<string[], Shared.Logistics>> _Tuples = ViewBag.Sorted;
Dictionary<string, Dictionary<string, List<Shared.Logistics>>> _KeyValuePairs = ViewBag.Grouped;
}
<h3>@(ViewBag.Files) File(s)</h3>
<p>
<table id="records" border="1">
<tr>
<th><a href="#b" id="a">Technology - Environment</a></th>
<th>Equipment Type</th>
<th>Sequence</th>
<th>Reactor</th>
<th>RDS</th>
<th>Part Number</th>
<th>File Name</th>
<th>Date</th>
</tr>
@foreach (var item in _Tuples)
{
if (!string.IsNullOrEmpty(_Directory) && item.Item2.ReportFullPath.Contains(_Directory))
{
viewLink = string.Concat("~/Home/ViewCustomPDSF/?pdsf_file=", Html.Encode(item.Item2.ReportFullPath));
downloadLink = string.Concat("~/Home/DownloadCustomPDSF/?pdsf_file=", Html.Encode(item.Item2.ReportFullPath));
}
else
{
viewLink = string.Concat("~/Home/ViewPDSF/sequence_", item.Item2.Sequence);
downloadLink = string.Concat("~/Home/DownloadPDSF/sequence_", item.Item2.Sequence);
}
<tr>
<td>@item.Item1[0]</td>
<td>@item.Item1[1]</td>
<td><a href="@Url.Content(viewLink)">@item.Item2.Sequence</a></td>
<td>@item.Item2.ProcessJobID</td>
<td>@item.Item2.MID</td>
<td>@item.Item2.Logistics2[0].PartNumber</td>
<td>@System.IO.Path.GetFileNameWithoutExtension(item.Item2.ReportFullPath)</td>
<td><a href="@Url.Content(downloadLink)">@item.Item2.DateTimeFromSequence</a></td>
</tr>
}
</table>
@if (string.IsNullOrEmpty(_Directory))
{
<hr />
<table id="records" border="1">
<tr>
<th><a href="#a" id="b">Technology - Environment</a></th>
<th>Equipment Type</th>
<th>Sequence</th>
<th>Reactor</th>
<th>RDS</th>
<th>Part Number</th>
<th>File Name</th>
<th>Date</th>
</tr>
@foreach (var element in _KeyValuePairs)
{
foreach (var innerElement in element.Value)
{
foreach (var item in innerElement.Value)
{
viewLink = string.Concat("~/Home/ViewPDSF/sequence_", item.Sequence);
downloadLink = string.Concat("~/Home/DownloadPDSF/sequence_", item.Sequence);
<tr>
<td>@element.Key</td>
<td>@innerElement.Key</td>
<td><a href="@Url.Content(viewLink)">@item.Sequence</a></td>
<td>@item.ProcessJobID</td>
<td>@item.MID</td>
<td>@item.Logistics2[0].PartNumber</td>
<td>@System.IO.Path.GetFileNameWithoutExtension(item.ReportFullPath)</td>
<td><a href="@Url.Content(downloadLink)">@item.DateTimeFromSequence</a></td>
</tr>
}
}
}
</table>
}
</p>
@section scripts {
<script>
$(function () {
console.log("ready!");
});
</script>
}

View File

@ -0,0 +1,6 @@
@{
ViewData["Title"] = "Privacy Policy";
}
<h1>@ViewData["Title"]</h1>
<p>Use this page to detail your site's privacy policy.</p>

View File

@ -0,0 +1,37 @@
@{
ViewBag.Title = "TimePivot";
List<string[]> forIPDSF = ViewBag.forIPDSF;
List<string[]> forPDSF = ViewBag.forPDSF;
}
<h3>*.ipdsf</h3>
<table id="forIPDSF" border="1">
@foreach (var segments in forIPDSF)
{
<tr>
@for (int i = 0; i < segments.Length; i++)
{
<td>@(segments[i])</td>
}
</tr>
}
</table>
<hr />
<h3>*.pdsf</h3>
<table id="forPDSF" border="1">
@foreach (var segments in forPDSF)
{
<tr>
@for (int i = 0; i < segments.Length; i++)
{
<td>@(segments[i])</td>
}
</tr>
}
</table>
@section scripts {
<script>
$(function () {
console.log("ready!");
});
</script>
}