Something went wrong on our end
Select Git revision
ConfiguratorResult.cshtml
-
Daniel Lorych authoredDaniel Lorych authored
ConfiguratorResult.cshtml 1.62 KiB
@model IEnumerable<Helios.Models.ConfiguratorResult>
@{
ViewData["Title"] = "Configuration Results";
}
<table class="table">
<tr>
<th>
@Html.DisplayNameFor(model => model.PanelEfficiency)
</th>
<th>
@Html.DisplayNameFor(model => model.InstallationCost)
</th>
<th>
@Html.DisplayNameFor(model => model.PowerGeneratedSummer)
</th>
<th>
@Html.DisplayNameFor(model => model.PowerGeneratedWinter)
</th>
<th>
@Html.DisplayNameFor(model => model.GeneratesRequiredPower)
</th>
<th>
@Html.DisplayNameFor(model => model.ExceedsMaximumPower)
</th>
<th>
@Html.DisplayNameFor(model => model.WithinBudget)
</th>
<th></th>
</tr>
@foreach (var item in Model)
{
<tr>
<td>
@Html.DisplayFor(modelItem => item.PanelEfficiency)
</td>
<td>
@Html.DisplayFor(modelItem => item.InstallationCost)
</td>
<td>
@Html.DisplayFor(modelItem => item.PowerGeneratedSummer)
</td>
<td>
@Html.DisplayFor(modelItem => item.PowerGeneratedWinter)
</td>
<td>
@Html.DisplayFor(modelItem => item.GeneratesRequiredPower)
</td>
<td>
@Html.DisplayFor(modelItem => item.ExceedsMaximumPower)
</td>
<td>
@Html.DisplayFor(modelItem => item.WithinBudget)
</td>
</tr>
}
</table>