浏览代码

main更改

qingfeng 3 年之前
父节点
当前提交
5bd8fa1cfb
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      LIB/MIDDLE/CellStateEstimation/SOH/main.py

+ 2 - 2
LIB/MIDDLE/CellStateEstimation/SOH/main.py

@@ -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)