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

Skip to content
Snippets Groups Projects
Commit 166254b4 authored by Markus QUARITSCH's avatar Markus QUARITSCH
Browse files

fix in vehicle rofm

parent 99c2cc34
No related branches found
No related tags found
No related merge requests found
......@@ -358,12 +358,6 @@ Public Class VehicleForm
TbRtRatio.Text = retarder.Ratio.ToGUIFormat()
TbRtPath.Text = If(retarder.LossMap Is Nothing, "", GetRelativePath(retarder.LossMap.Source, basePath))
cbAngledriveType.SelectedValue = angledrive.Type
tbAngledriveRatio.Text = angledrive.Ratio.ToGUIFormat()
tbAngledriveLossMapPath.Text =
If(angledrive.LossMap Is Nothing, "", GetRelativePath(angledrive.LossMap.Source, basePath))
LvRRC.Items.Clear()
Dim i As Integer = 0
Dim a0 As IAxleEngineeringInputData
......@@ -392,6 +386,11 @@ Public Class VehicleForm
tbPTOLossMap.Text = If(pto.PTOLossMap Is Nothing, "", GetRelativePath(pto.PTOLossMap.Source, basePath))
tbPTOCycle.Text = If(pto.PTOCycle Is Nothing, "", GetRelativePath(pto.PTOCycle.Source, basePath))
cbAngledriveType.SelectedValue = angledrive.Type
tbAngledriveRatio.Text = angledrive.Ratio.ToGUIFormat()
tbAngledriveLossMapPath.Text =
If(angledrive.LossMap Is Nothing, "", GetRelativePath(angledrive.LossMap.Source, basePath))
DeclInit()
VehicleFileBrowser.UpdateHistory(file)
......
......@@ -118,7 +118,7 @@ namespace TUGraz.VectoCommon.Models
return 1.SI<Second>();
case GearboxType.ATSerial:
case GearboxType.ATPowerSplit:
return 0.8.SI<Second>();
return 0.0.SI<Second>();
}
return 0.SI<Second>();
}
......
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