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

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

VectoJobForm: Enabled/Disabled Buttons, Enabled/Disabled Engine Stop/Start Group box

parent 5f0b2903
No related branches found
No related tags found
No related merge requests found
......@@ -1017,13 +1017,10 @@ Public Class VectoJobForm
pnEngine.Enabled = True
pnShiftParams.Enabled = True
pnHybridStrategy.Enabled = False
lblESSUtilityFactorDriving.Enabled = false
tbESSUtilityFactorDriving.Enabled = false
gbEngineStopStart.Enabled = True
Select Case JobType
Case VectoSimulationJobType.ConventionalVehicle
gbElectricAux.Enabled = False
lblESSUtilityFactorDriving.Enabled = true
tbESSUtilityFactorDriving.Enabled = true
Case VectoSimulationJobType.EngineOnlySimulation
pnVehicle.Enabled = False
pnGearbox.Enabled = False
......@@ -1031,15 +1028,19 @@ Public Class VectoJobForm
TabPgADAS.Enabled = False
tpAuxiliaries.Enabled = False
pnShiftParams.Enabled = False
gbEngineStopStart.Enabled = False
Case VectoSimulationJobType.ParallelHybridVehicle
' empty line - do not fall-through
pnHybridStrategy.Enabled = True
pnHybridStrategy.Enabled = Not Cfg.DeclMode
gbEngineStopStart.Enabled = False
Case VectoSimulationJobType.SerialHybridVehicle
pnHybridStrategy.Enabled = Not Cfg.DeclMode
gbEngineStopStart.Enabled = False
Case VectoSimulationJobType.BatteryElectricVehicle
pnEngine.Enabled = False
pnGearbox.Enabled = True
GrAuxMech.Enabled = False
pnShiftParams.Enabled = true
pnShiftParams.Enabled = True
gbEngineStopStart.Enabled = False
End Select
End Sub
......
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