@@ -46,8 +46,8 @@ def cal_soh(sn, end_time, start_time):
strat_time = start_time
SNnum=str(sn)
sn = SNnum
- st = '2021-07-06 00:00:00'
- et = '2021-07-07 20:00:00'
+ st = start_time
+ et = end_time
dbManager = DBManager.DBManager()
df_data = dbManager.get_data(sn=sn, start_time=st, end_time=et, data_groups=['bms'])