only: hiding some UI

This commit is contained in:
rusefillc 2024-03-13 12:39:50 -04:00
parent 4196b2d149
commit 4e4b1e750e
2 changed files with 8 additions and 5 deletions

View File

@ -2352,6 +2352,8 @@ end_struct
#define ts_show_rotary true
#define ts_show_tcu false
#define ts_show_gdi false
#define ts_show_popular_vehicles true
#define ts_show_reset_firmware false
#define ts_show_air_conditioning true
#define ts_show_onboard_accelerometer false
#define ts_show_vvt_output true

View File

@ -2044,7 +2044,7 @@ menuDialog = main
subMenu = ecuStimulator, "ECU stimulator"
subMenu = ioTest, "Bench test"
subMenu = injTest, "Injector test"
subMenu = engineTypeDialog, "Popular vehicles"
subMenu = engineTypeDialog, "Popular vehicles"@@if_ts_show_popular_vehicles
subMenu = std_separator
subMenu = spiBuses, "SPI Buses"@@if_ts_show_spi
@ -2586,7 +2586,7 @@ cmd_set_engine_type_default = "@@TS_IO_TEST_COMMAND_char@@@@ts_command_e_TS_
commandButton = "Injector #12", cmd_test_inj12, { cylindersCount >= 12 }@@if_ts_show_cylinder_12
commandButton = "Abort test", cmd_test_cancel
dialog = testSolenoids, "TCU Solenoid Test"
dialog = testTcuSolenoids, "TCU Solenoid Test"
commandButton = "Solenoid #1", cmd_test_sol1
commandButton = "Solenoid #2", cmd_test_sol2
commandButton = "Solenoid #3", cmd_test_sol3
@ -2599,7 +2599,8 @@ cmd_set_engine_type_default = "@@TS_IO_TEST_COMMAND_char@@@@ts_command_e_TS_
field = "Count", benchTestCount
field = "On Time", benchTestOnTime
field = "Off Time", benchTestOffTime
panel = testSolenoids
panel = testTcuSolenoids@@if_ts_show_tcu
commandButton = "Reset firmware settings", cmd_set_engine_type_default@@if_ts_show_reset_firmware
dialog = injectionSettingsEast, "", yAxis
panel = testInjectors
@ -4516,9 +4517,9 @@ dialog = tcuControls, "Transmission Settings"
commandButton = "Abort test", cmd_test_cancel
dialog = testMisc, "Misc"
commandButton = "A/C Relay", cmd_test_ac_relay
commandButton = "A/C Relay", cmd_test_ac_relay@@if_ts_show_air_conditioning
commandButton = "Idle Air Valve", cmd_test_idle_valve
commandButton = "Idle Second Air Valve", cmd_test_second_idle_valve
commandButton = "Idle Second Air Valve", cmd_test_second_idle_valve@@if_ts_show_idle_hardware
commandButton = "Stop Engine", cmd_stop_engine
commandButton = "Write Config", cmd_write_config
commandButton = "Reset ECU", cmd_reset_controller