|
@@ -72,10 +72,10 @@ if __name__ == "__main__":
|
|
|
db='qx_cas'
|
|
|
user='qx_read'
|
|
|
password='Qx@123456'
|
|
|
- tablename='soh_result'
|
|
|
+ tablename='cellstateestimation_soh'
|
|
|
DBRead=DBDownload.DBDownload(host, port, db, user, password)
|
|
|
with DBRead as DBRead:
|
|
|
- df_soh=DBRead.getdata('time_st','time_sp','sn','method','soh','cellsoh', tablename='cellstateestimation_soh', sn=sn)
|
|
|
+ df_soh=DBRead.getdata('time_st','time_sp','sn','method','soh','cellsoh', tablename=tablename, sn=sn)
|
|
|
|
|
|
#..............................................................................计算soh...................................................................................
|
|
|
BatSoh=CBMSBatSoh.BatSoh(sn,celltype,df_bms,df_accum,df_soh)
|