5.3.1.8.9.2.1. cli.cmd_gui.frame_sim.sim_gui.SimulateBmsFrame

class cli.cmd_gui.frame_sim.sim_gui.SimulateBmsFrame(parent: Notebook, text_widget: Text)

Bases: BaseFrame

‘Simulate BMS’ frame

check_threads() → None

Stop simulation if both threads are not alive

on_close() → None

Stop the simulation if it is active

run_bms_sim() → None

Run the bms simulation

run_unit_sim() → None

Run the higher-level control unit simulation

send_msg_cb() → None

Configure and send the selected message

start_stop_sim_cb() → None

Start and stop the simulation

update_text(file_input: str | None = None) → None

Writes the file content in the text box

write_text_from_queue() → None

Flush text generated by worker threads into the log file from the UI thread.