Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit dc025f33 authored by Michael KRISPER's avatar Michael KRISPER
Browse files

Merge remote-tracking branch 'origin/develop' into SearchOperatingPointDirection

parents a7f52341 8e7fac25
No related branches found
No related tags found
No related merge requests found
Showing
with 3023 additions and 2892 deletions
This diff is collapsed.
This diff is collapsed.
......@@ -36,7 +36,7 @@ using TUGraz.VectoCore.Utils;
namespace TUGraz.VectoCore.Models.Declaration
{
public sealed class PTOTransmission : LookupData<string, Watt>, IDeclarationAuxiliaryTable
public sealed class PTOTransmission : LookupData<string, AuxDemandEntry>, IDeclarationAuxiliaryTable
{
public const string NoPTO = "None";
......@@ -54,7 +54,7 @@ namespace TUGraz.VectoCore.Models.Declaration
{
Data = table.Rows.Cast<DataRow>().ToDictionary(
r => r.Field<string>("technology"),
r => r.ParseDouble("powerloss").SI<Watt>());
r => new AuxDemandEntry { PowerDemand = r.ParseDouble("powerloss").SI<Watt>() });
}
public string[] GetTechnologies()
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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