Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit bd7b1a76 authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

Merge pull request #316 in VECTO/vecto-sim from...

Merge pull request #316 in VECTO/vecto-sim from ~EMQUARIMA/vecto-sim:feature/VECTO-386-disable-input-fields-not-used-for to develop

* commit 'dd452c72':
  disable input fields not used for at gearboxes
parents 9812292e dd452c72
Branches
Tags
No related merge requests found
......@@ -498,6 +498,11 @@ Public Class GearboxForm
'ChTCon.Enabled = (GStype.AutomaticTransmission())
PnTC.Enabled = gStype.AutomaticTransmission()
TbStartAcc.Enabled = Not gStype.AutomaticTransmission()
TbStartSpeed.Enabled = Not gStype.AutomaticTransmission()
TbTqResv.Enabled = Not gStype.AutomaticTransmission()
tbDownshiftAfterUpshift.Enabled = Not gStype.AutomaticTransmission()
tbUpshiftAfterDownshift.Enabled = Not gStype.AutomaticTransmission()
End Sub
......
......@@ -108,7 +108,8 @@ Public Class VectoJob
Public Function SaveFile() As Boolean
Dim validationResults As IList(Of ValidationResult) =
Validate(If(Cfg.DeclMode, ExecutionMode.Declaration, ExecutionMode.Engineering), If(GearboxInputData Is Nothing, GearboxType.MT, GearboxInputData.Type))
Validate(If(Cfg.DeclMode, ExecutionMode.Declaration, ExecutionMode.Engineering),
If(GearboxInputData Is Nothing, GearboxType.MT, GearboxInputData.Type))
If validationResults.Count > 0 Then
Dim messages As IEnumerable(Of String) =
......@@ -250,7 +251,7 @@ Public Class VectoJob
Try
Dim cycleDataRes As Stream =
RessourceHelper.ReadStream(
RessourceHelper.Namespace + "VACC." + _driverAccelerationFile.OriginalPath +
DeclarationData.DeclarationDataResourcePrefix + ".VACC." + _driverAccelerationFile.OriginalPath +
VectoCore.Configuration.Constants.FileExtensions.DriverAccelerationCurve)
Return VectoCSVFile.ReadStream(cycleDataRes)
Catch ex As Exception
......@@ -617,7 +618,8 @@ Public Class VectoJob
Else
Try
Dim cycleDataRes As Stream =
RessourceHelper.ReadStream(RessourceHelper.Namespace + "MissionCycles." + cycleFile.OriginalPath + ".vdri")
RessourceHelper.ReadStream(
DeclarationData.DeclarationDataResourcePrefix + ".MissionCycles." + cycleFile.OriginalPath + ".vdri")
cycleData = VectoCSVFile.ReadStream(cycleDataRes)
Catch ex As Exception
Throw New VectoException("Driving Cycle could not be read: " + cycleFile.OriginalPath)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment