DemoGeneratedGUI is the file that generated by Qt designer. As the name says, it is a demo for constructor We need to manually add a construct so it is not static class and therefore can be called from child class
serial_parse contends all the necessnary functions for communicating with the board
charge_cart_GUI.ui is the file from Qt desinger
charge_cart_GUI.py is the generated python file from Qt designer
Following is the command to get python file from .ui file python3 -m PyQt6.uic.pyuic -o charge_cart_GUI.py -x charge_cart_GUI.ui
The command will overwrite all the current code in charge_cart_GUI.py so don't touch the file except for adding a constructor and git rid of generated "main" function OR you know what you are doing
1.MiniBatch dictioanry into 5 dictionary doesn't seem to be a good idea - maybe use for loop instead like for i in range(5) 2. Send setting current requeset 3. Send balancing pack request 4. Graph current and voltage 5. Add extra tables for temperature for 70 cells 6. Raw voltqage/pack current 7. State of charge