diff --git a/VECTO/GUI/VehicleForm.vb b/VECTO/GUI/VehicleForm.vb index 94be7b9c2f2469acaa99e909ffe6a36989be9807..8b1d45d3f6f27b46845dc2754527efe0c12dba23 100644 --- a/VECTO/GUI/VehicleForm.vb +++ b/VECTO/GUI/VehicleForm.vb @@ -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) diff --git a/VectoCommon/VectoCommon/Models/GearboxType.cs b/VectoCommon/VectoCommon/Models/GearboxType.cs index 89b5949a6e564d8f9374218b6c00a114ba4d1122..ab5fec0399973b393be4a108a4e12b81316d85bd 100644 --- a/VectoCommon/VectoCommon/Models/GearboxType.cs +++ b/VectoCommon/VectoCommon/Models/GearboxType.cs @@ -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>(); }