@model Applications.UniversalApi_WebConsole_App.Models.VeederRoot_ATG_Console_Handler_Models.AtgController @{ ViewData["Title"] = "Auto Tank Gauge System"; Layout = null; } @*

This is the ATG Console Web App

*@ @if (Model == null || Model.Tanks == null) {

The console is NOT ready for connection, will auto reload once it's done...

} @if (Model.Tanks != null && Model.Tanks.Any()) @foreach (var tank in Model.Tanks) { var atgConsoleLengthUnitDisplayStr = "mm"; var atgConsoleVolumeUnitDisplayStr = "L"; if (Model.SystemUnit == Edge.Core.IndustryStandardInterface.ATG.SystemUnit.US) atgConsoleLengthUnitDisplayStr = "inches"; else if (Model.SystemUnit == Edge.Core.IndustryStandardInterface.ATG.SystemUnit.ImperialGallons) atgConsoleLengthUnitDisplayStr = "yard";

Tank No.: @tank.TankNumber, has product: @(tank.Product?.ProductLabel ?? "")(code: @(tank.Product?.ProductCode ?? "")) is in tank state: @(tank.State), Diameter: @(tank.Diameter ?? -1)@atgConsoleLengthUnitDisplayStr

Your browser does not support the canvas element.
Your browser does not support the canvas element.
}