Skip to content
Snippets Groups Projects
Commit d00eb671 authored by Daniel Lorych's avatar Daniel Lorych :cookie:
Browse files

Add values for property information

parent b7c527e2
No related branches found
No related tags found
No related merge requests found
......@@ -28,6 +28,9 @@ namespace Helios.Models
public double RoofArea { get; set; }
public double RoofAngle { get; set; }
public int PowerRequired { get; set; }
public int MaximumPower { get; set; }
[DisplayName("Panel Efficiency")]
public double PanelEfficiency { get; set; }
......
......@@ -38,6 +38,9 @@ namespace Helios.Source
performance.RoofArea = roof.Area;
performance.RoofAngle = roof.Elevation;
performance.PowerRequired = input.PowerRequired;
performance.MaximumPower = input.MaximumPower;
performance.PanelEfficiency = panel.Efficiency * 100;
performance.InstallationCost = panel.GetInstallationCost(roof.Area);
performance.PowerGeneratedSummer = Math.Round(panel.GetPowerOutput(1000, roof.Area, summerElevationAngle), 2);
......
......@@ -36,7 +36,10 @@
<h5>Property Details</h5>
<ul>
<li>
Power Required: @Model.PowerRequired
</li>
<li>
Maximum Power: @Model.MaximumPower
</li>
</ul>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment