| 12345678910111213141516171819202122 |
- import sqlite3
- from pathlib import Path
- class DatabaseHandler:
- def __init__(self, db_path="cell_data.db"):
- # add code for initializing database connection
- pass
- def get_cell_capacity_nom(self, cell_id):
- # add code for getting nominal cell capacity from database
- pass
- def get_cell_capacity(self, cell_id):
- # add code for getting cell capacity from database
- pass
- def update_cell_capacity(self, cell_id, estimated_capacity_mah):
- # add code for updating cell capacity in database
- pass
|