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

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

added new value for pneumatic system in vecto v2.2 gui

parent 18a6f96b
No related branches found
No related tags found
No related merge requests found
......@@ -541,26 +541,26 @@ Public Class cDeclaration
'Skip Header
file.ReadLine()
at0 = New List(Of String)
Do While Not file.EndOfFile
line = file.ReadLine
at0.Add(line(0))
AuxPower0 = New Dictionary(Of tMission, Single)
i = 0
For Each mt0 In SegmentTable.MissionList
For Each mt0 In SegmentTable.MissionList.Take(5)
i += 1
AuxPower0.Add(mt0, line(i))
Next
AuxPSpower.Add(line(0), AuxPower0)
Loop
AuxTechs.Add(tAux.PneumSys, at0)
file.Close()
Catch ex As Exception
file.Close()
GUImsg(tMsgID.Err, "Failed to load Declaration Config (Pneumatic system config)!" & ex.Message)
Return False
End Try
at0 = New List(Of String)
at0.Add("Default")
AuxTechs.Add(tAux.PneumSys, at0)
'Default PT1 values
lPT1nU = New List(Of Single)
lPT1 = New List(Of Single)
......
......@@ -32,7 +32,6 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
namespace TUGraz.VectoCommon.Utils
{
......
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