Advertisement
Guest User

Untitled

a guest
Nov 17th, 2017
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.98 KB | None | 0 0
  1. @model Metron.Web.Models.MetronReporter
  2. @{
  3.     ViewBag.Title = "Metron Reporter";
  4. }
  5.  
  6. <h2>MetronReporter</h2>
  7.  
  8. [Overview]<br />
  9. Active Trucks: @Model.OverviewInstance.ActiveTrucks<br />
  10. Inactive Trucks: @Model.OverviewInstance.InactiveTrucks<br />
  11. Not Communicating: @Model.OverviewInstance.NotCommunicating<br />
  12. Avg Distance: @Model.OverviewInstance.AvgDistance<br />
  13. Avg Efficiency: @Model.OverviewInstance.AvgEfficiency<br />
  14. Avg Stops: @Model.OverviewInstance.AvgStops<br />
  15. <br />
  16. [Inspect]<br />
  17. @foreach (Metron.Web.Models.MetronReporter.Inspect.InspectTruck truck in Model.InspectInstance.InspectTruckList) {
  18.     <span>=</span>@truck.TruckName<span>=</span><br />
  19.     <span>State: </span>@truck.State<br /><br />
  20. }
  21. [Status]<br />
  22. @foreach (Metron.Web.Models.MetronReporter.Status.StatusTruck truck in Model.StatusInstance.StatusTruckList) {
  23.     <span>=</span>@truck.TruckName<span>=</span><br />
  24.     <span>State: </span>@truck.State<br />
  25.     <span>Location: </span>@truck.Location<br />
  26.     <span>Distance: </span>@truck.Distance<br />
  27.     <span>Stops: </span>@truck.Stops<br />
  28.     <span>Efficiency: </span>@truck.Efficiency<br />
  29.     <span>Gal: </span>@truck.Gal<br />
  30.     <span>E-Gen Runs: </span>@truck.EGenRuns<br />
  31.     <span>Duration: </span>@truck.Duration<br /><br />
  32. }
  33. <br />
  34. [Runtime]<br />
  35. Peak Count: @Model.RuntimeInstance.PeakCount<br />
  36. Peak Date: @Model.RuntimeInstance.PeakDate<br />
  37. Worst Count: @Model.RuntimeInstance.WorstCount<br />
  38. Worst Date: @Model.RuntimeInstance.WorstDate<br />
  39. Avg Count: @Model.RuntimeInstance.AvgCount<br />
  40. Avg Year: @Model.RuntimeInstance.AvgYear<br />
  41. <br />
  42. [Inactivity]<br />
  43. Best Count: @Model.InactivityInstance.BestCount<br />
  44. Best Month: @Model.InactivityInstance.BestMonth<br />
  45. Worst Count: @Model.InactivityInstance.WorstCount<br />
  46. Worst Month: @Model.InactivityInstance.WorstMonth<br />
  47. Avg Count: @Model.InactivityInstance.AvgCount<br />
  48. <br />
  49. Avg Year: @Model.InactivityInstance.AvgYear<br />
  50. [End of File]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement