"different user levels in TS" idea "expert mode" "pnp mode" "hide hardware" uiMode #5154

only:proteus_f7
This commit is contained in:
Andrey 2024-07-26 01:38:43 -04:00
parent 5866b907ff
commit c23a8c9570
1 changed files with 14 additions and 14 deletions

View File

@ -1839,9 +1839,9 @@ menuDialog = main
menu = "Fuel" menu = "Fuel"
# basic # basic
subMenu = injectorConfig, "Injection configuration" subMenu = injectorConfig, "Injection configuration"
subMenu = injectionSettings, "Injection hardware", 0, {isInjectionEnabled == 1} subMenu = injectionSettings, "Injection hardware", {isInjectionEnabled == 1}, { uiMode == @@UiMode_FULL@@ || uiMode == @@UiMode_INSTALLATION@@ }
subMenu = cylinderBankSelect, "Cylinder bank selection", 0, {isInjectionEnabled == 1}@@if_ts_show_cylinder_bank subMenu = cylinderBankSelect, "Cylinder bank selection", {isInjectionEnabled == 1}, { uiMode == @@UiMode_FULL@@ || uiMode == @@UiMode_INSTALLATION@@ }@@if_ts_show_cylinder_bank
subMenu = injectorNonlinear, "Injector small-pulse correction", 0, {isInjectionEnabled == 1} subMenu = injectorNonlinear, "Injector small-pulse correction", {isInjectionEnabled == 1}, { uiMode == @@UiMode_FULL@@ || uiMode == @@UiMode_INSTALLATION@@ }
subMenu = stagedInjection, "Staged injection", 0, {isInjectionEnabled}@@if_ts_show_staged_injection subMenu = stagedInjection, "Staged injection", 0, {isInjectionEnabled}@@if_ts_show_staged_injection
subMenu = stagedInjectionOutputs, "Staged injection outputs", 0, {isInjectionEnabled && enableStagedInjection}@@if_ts_show_staged_injection subMenu = stagedInjectionOutputs, "Staged injection outputs", 0, {isInjectionEnabled && enableStagedInjection}@@if_ts_show_staged_injection
@ -1950,20 +1950,20 @@ menuDialog = main
menu = "&Cranking" menu = "&Cranking"
subMenu = crankingDialog, "Cranking settings" subMenu = crankingDialog, "Cranking settings"
subMenu = postCrankingEnrichmentTbl,"After-start enrichment" subMenu = postCrankingEnrichmentTbl,"After-start enrichment", { 1 }, { uiMode == @@UiMode_FULL@@ || uiMode == @@UiMode_INSTALLATION@@ }
subMenu = primingFuelPulsePanel, "Priming pulse" subMenu = primingFuelPulsePanel, "Priming pulse", { 1 }, { uiMode == @@UiMode_FULL@@ || uiMode == @@UiMode_INSTALLATION@@ }
subMenu = std_separator subMenu = std_separator
subMenu = crankingCltCurve, "Fuel CLT multiplier" subMenu = crankingCltCurve, "Fuel CLT multiplier"
subMenu = crankingCltCurveE100, "Fuel CLT multiplier (Flex Fuel E85)", 0, { flexSensorPin != @@ADC_CHANNEL_NONE@@ && flexCranking } subMenu = crankingCltCurveE100, "Fuel CLT multiplier (Flex Fuel E85)", { flexSensorPin != @@ADC_CHANNEL_NONE@@ && flexCranking }, { uiMode == @@UiMode_FULL@@ || uiMode == @@UiMode_INSTALLATION@@ }
subMenu = crankingCycleFuelMultTbl, "Fuel duration multiplier" subMenu = crankingCycleFuelMultTbl, "Fuel duration multiplier"
subMenu = crankingTpsCurve, "Fuel TPS multiplier" subMenu = crankingTpsCurve, "Fuel TPS multiplier"
subMenu = std_separator subMenu = std_separator
subMenu = crankingAdvanceCurve, "Cranking ignition advance", 0, {useSeparateAdvanceForCranking == 1} subMenu = crankingAdvanceCurve, "Cranking ignition advance", {useSeparateAdvanceForCranking == 1}, { uiMode == @@UiMode_FULL@@ || uiMode == @@UiMode_INSTALLATION@@ }
subMenu = std_separator subMenu = std_separator
subMenu = cltCrankingCurve, "Cranking Idle Air CLT multiplier", 0, {overrideCrankingIacSetting == 1} subMenu = cltCrankingCurve, "Cranking Idle Air CLT multiplier", {overrideCrankingIacSetting == 1}, { uiMode == @@UiMode_FULL@@ || uiMode == @@UiMode_INSTALLATION@@ }
menu = "&Idle" menu = "&Idle"
subMenu = idleSettings, "Idle settings" subMenu = idleSettings, "Idle settings"
@ -2020,11 +2020,11 @@ menuDialog = main
subMenu = vvtTable2Tbl, "VVT exhaust target", { vvtMode2 != @@vvt_mode_e_VVT_INACTIVE@@ && vvtPins2 != 0 }@@if_ts_show_exhaust_vvt subMenu = vvtTable2Tbl, "VVT exhaust target", { vvtMode2 != @@vvt_mode_e_VVT_INACTIVE@@ && vvtPins2 != 0 }@@if_ts_show_exhaust_vvt
subMenu = std_separator subMenu = std_separator
subMenu = auxInputsDialog, "Lua Analog Inputs" subMenu = auxInputsDialog, "Lua Analog Inputs", { 1 }, { uiMode == @@UiMode_FULL@@ || uiMode == @@UiMode_INSTALLATION@@ }
subMenu = luaDigitalInputsDialog, "Lua Digital Inputs" subMenu = luaDigitalInputsDialog, "Lua Digital Inputs", { 1 }, { uiMode == @@UiMode_FULL@@ || uiMode == @@UiMode_INSTALLATION@@ }
subMenu = luaOutputs, "Lua Script PWM Outputs" subMenu = luaOutputs, "Lua Script PWM Outputs", { 1 }, { uiMode == @@UiMode_FULL@@ || uiMode == @@UiMode_INSTALLATION@@ }
groupMenu = "Lua Calibrations" groupMenu = "Lua Calibrations", { 1 }, { uiMode == @@UiMode_FULL@@ || uiMode == @@UiMode_INSTALLATION@@ }
groupChildMenu = scriptSetting, "Lua Script Settings" groupChildMenu = scriptSetting, "Lua Script Settings"
groupChildMenu = scriptTable1TblSettings, "Script Table #1" groupChildMenu = scriptTable1TblSettings, "Script Table #1"
@ -2457,7 +2457,7 @@ cmd_set_engine_type_default = "@@TS_IO_TEST_COMMAND_char@@@@ts_command_e_TS_
dialog = ignitionSettings, "", xAxis dialog = ignitionSettings, "", xAxis
panel = ignitionBasic panel = ignitionBasic
panel = ignitionOutputs, { uiMode == @@UiMode_FULL@@ || uiMode == @@UiMode_INSTALLATION@@ } panel = ignitionOutputs, { 1 }, { uiMode == @@UiMode_FULL@@ || uiMode == @@UiMode_INSTALLATION@@ }
dialog = baseEngineConfig, "Engine Configuration" dialog = baseEngineConfig, "Engine Configuration"
field = "Number of cylinders", cylindersCount@@if_ts_show_number_of_cylinders field = "Number of cylinders", cylindersCount@@if_ts_show_number_of_cylinders
@ -4976,7 +4976,7 @@ dialog = tcuControls, "Transmission Settings"
field = kLinePeriodUs, kLinePeriodUs field = kLinePeriodUs, kLinePeriodUs
dialog = parkingLot, "Experimental/Broken" dialog = parkingLot, "Experimental/Broken"
; field = uiMode, uiMode field = uiMode, uiMode
field = can1ListenMode, can1ListenMode field = can1ListenMode, can1ListenMode
field = can2ListenMode, can2ListenMode field = can2ListenMode, can2ListenMode
field = rethrowHardFault, rethrowHardFault field = rethrowHardFault, rethrowHardFault