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

Skip to content
Snippets Groups Projects
Commit 5d15b4a9 authored by Raphael LUZ's avatar Raphael LUZ
Browse files

Merge

parents 2c06efd8 b82249eb
No related branches found
No related tags found
No related merge requests found
4736a2c94a73ee85c1134cba09c7e87bd9c5d7b0 1.0.1 newLic
693c847b64a398ff9b6c629318085f4218fcbb85 1.1 beta 4 693c847b64a398ff9b6c629318085f4218fcbb85 1.1 beta 4
06b3a64ff49c0602b6f839fd3b07634193003868 1.1 beta 3 06b3a64ff49c0602b6f839fd3b07634193003868 1.1 beta 3
fb9280176abd2f9c58fc884b72f2774a878e06bb 1.1 beta 2 fb9280176abd2f9c58fc884b72f2774a878e06bb 1.1 beta 2
......
...@@ -353,7 +353,9 @@ ...@@ -353,7 +353,9 @@
</EmbeddedResource> </EmbeddedResource>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Include="My Project\app.manifest" /> <None Include="My Project\app.manifest">
<SubType>Designer</SubType>
</None>
<None Include="My Project\Application.myapp"> <None Include="My Project\Application.myapp">
<Generator>MyApplicationCodeGenerator</Generator> <Generator>MyApplicationCodeGenerator</Generator>
<LastGenOutput>Application.Designer.vb</LastGenOutput> <LastGenOutput>Application.Designer.vb</LastGenOutput>
......
Imports System.Collections.Generic Imports System.Collections.Generic
Module VECTO_Global Module VECTO_Global
Public Const VECTOvers As String = "1.1" Public Const VECTOvers As String = "1.3.1"
Public MyAppPath As String Public MyAppPath As String
Public MyConfPath As String Public MyConfPath As String
Public MyDeclPath As String Public MyDeclPath As String
...@@ -17,14 +17,14 @@ Module VECTO_Global ...@@ -17,14 +17,14 @@ Module VECTO_Global
'Config------------------------------------------------------- 'Config-------------------------------------------------------
Public Cfg As cConfig Public Cfg As cConfig
'TODO: Weg damit! SOC-Iteration gehrt in die Leistungsschleife oder nach Em-Berechnung fr LinReg 'TODO: Get rid of it! SOC-iteration belongs either in the Power-loop or Em-calculation for LinReg
Public SOCstart As Single Public SOCstart As Single
Public SOC(izykt) As Single Public SOC(izykt) As Single
Public Const izykt As Integer = 40000 Public Const izykt As Integer = 40000
Public sKey As csKey Public sKey As csKey
'Dateiformat 'File format
Public FileFormat As System.Text.Encoding = System.Text.Encoding.UTF8 Public FileFormat As System.Text.Encoding = System.Text.Encoding.UTF8
Public LOGfile As System.IO.StreamWriter Public LOGfile As System.IO.StreamWriter
...@@ -51,7 +51,6 @@ Module VECTO_Global ...@@ -51,7 +51,6 @@ Module VECTO_Global
Public ProgBarCtrl As cProgBarCtrl Public ProgBarCtrl As cProgBarCtrl
Public SetCulture As Boolean 'Damit der Backgroundworker das richtige Format verwendet Public SetCulture As Boolean 'Damit der Backgroundworker das richtige Format verwendet
Public FirstTime As Boolean
Public Function nMtoPe(ByVal nU As Double, ByVal M As Double) As Double Public Function nMtoPe(ByVal nU As Double, ByVal M As Double) As Double
Return ((nU * 2 * Math.PI / 60) * M / 1000) Return ((nU * 2 * Math.PI / 60) * M / 1000)
...@@ -67,7 +66,7 @@ Module VECTO_Global ...@@ -67,7 +66,7 @@ Module VECTO_Global
Return Pnorm * VEH.Pnenn * 1000 / (nU * 2 * Math.PI / 60) Return Pnorm * VEH.Pnenn * 1000 / (nU * 2 * Math.PI / 60)
End Function End Function
Public Function PToM(ByVal nU As Single, ByVal Pe As Double) As Single Public Function nPeToM(ByVal nU As Single, ByVal Pe As Double) As Single
Return Pe * 1000 / (nU * 2 * Math.PI / 60) Return Pe * 1000 / (nU * 2 * Math.PI / 60)
End Function End Function
...@@ -99,6 +98,8 @@ Module VECTO_Global ...@@ -99,6 +98,8 @@ Module VECTO_Global
Return tDriComp.s Return tDriComp.s
Case sKey.DRI.StopTime Case sKey.DRI.StopTime
Return tDriComp.StopTime Return tDriComp.StopTime
Case sKey.DRI.Torque
Return tDriComp.Torque
Case Else Case Else
Return tDriComp.Undefined Return tDriComp.Undefined
...@@ -130,7 +131,7 @@ Module VECTO_Global ...@@ -130,7 +131,7 @@ Module VECTO_Global
x = sK.IndexOf("_") x = sK.IndexOf("_")
If x = -1 Then Return tExsComp.Undefined If x = -1 Then Return tAuxComp.Undefined
sK = Left(sK, x + 1) sK = Left(sK, x + 1)
...@@ -343,13 +344,13 @@ Module VECTO_Global ...@@ -343,13 +344,13 @@ Module VECTO_Global
Public Sub StartLogfile() Public Sub StartLogfile()
'Log starten 'Log start
LOGfile = My.Computer.FileSystem.OpenTextFileWriter(MyAppPath & "LOG.txt", True, FileFormat) LOGfile = My.Computer.FileSystem.OpenTextFileWriter(MyAppPath & "LOG.txt", True, FileFormat)
LOGfile.AutoFlush = True LOGfile.AutoFlush = True
LOGfile.WriteLine("------------------------------------------------------------------------------------------") LOGfile.WriteLine("------------------------------------------------------------------------------------------")
LOGfile.WriteLine("Starting Session " & Now) LOGfile.WriteLine("Starting Session " & Now)
LOGfile.WriteLine("PHEM " & VECTOvers) LOGfile.WriteLine("VECTO " & VECTOvers)
End Sub End Sub
...@@ -423,6 +424,7 @@ Public Class csKey ...@@ -423,6 +424,7 @@ Public Class csKey
Public VairBeta As String = "<VAIR_BETA>" Public VairBeta As String = "<VAIR_BETA>"
Public s As String = "<S>" Public s As String = "<S>"
Public StopTime As String = "<STOP>" Public StopTime As String = "<STOP>"
Public Torque As String = "<ME>"
End Class End Class
Public Class csKeyEXS Public Class csKeyEXS
......
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