Browse Source

Merge branch 'dev' of http://git.fast-fun.cn:92/lmstack/data_analyze_platform into dev

lmstack 3 years ago
parent
commit
2d8bd91941

+ 1 - 0
.gitignore

@@ -21,4 +21,5 @@
 /*/*/*/deploy.py
 !数据分析平台手册.doc
 *.pyc
+*.csv
 

+ 3 - 3
LIB/MIDDLE/CellStateEstimation/Common/V1_0_1/BatParam.py

@@ -50,7 +50,7 @@ class BatParam:
             self.CellFullChrgVolt=4.2
             self.CellFullChrgCrnt=-15
             self.CellVoltNums=17
-            self.CellTempNums=4
+            self.CellTempNums=3
             self.OtherTempNums=5
             self.FullChrgSoc=98
             self.PackCrntDec=1
@@ -82,7 +82,7 @@ class BatParam:
             self.CellFullChrgVolt=4.2
             self.CellFullChrgCrnt=-15
             self.CellVoltNums=14
-            self.CellTempNums=4
+            self.CellTempNums=3
             self.OtherTempNums=4
             self.FullChrgSoc=98
             self.PackCrntDec=1
@@ -114,7 +114,7 @@ class BatParam:
             self.CellFullChrgVolt=4.2
             self.CellFullChrgCrnt=-15
             self.CellVoltNums=20
-            self.CellTempNums=4
+            self.CellTempNums=3
             self.OtherTempNums=4
             self.FullChrgSoc=98
             self.PackCrntDec=1

+ 1 - 1
LIB/MIDDLE/CellStateEstimation/Common/V1_0_1/log.py

@@ -17,7 +17,7 @@ class Mylog:
                 Level=logging.WARNING
             else:
                 Level=logging.ERROR
-        logging.basicConfig(filename=r'D:\Platform\platform_python\data_analyze_platform\USER\spf\101log\\'+self.name, level=Level,format='%(asctime)s - %(levelname)s - %(message)s')
+        logging.basicConfig(filename=r'D:\Work\Code_write\data_analyze_platform\USER\lzx\SaftyCenter_CODE_V1_1_DIDI\\'+self.name, level=Level,format='%(asctime)s - %(levelname)s - %(message)s')
 
     def logopt(self,*info):
         logging.error(info)

+ 4 - 4
LIB/MIDDLE/SaftyCenter/Common/QX_BatteryParam.py

@@ -5,7 +5,7 @@ class BatteryInfo():
         self.AllowDsChgTemp=-5
         self.AvgVolGap=1
         self.AvgCellTempGap=10
-        self.AvgOtherTempGap=30
+        self.AvgOtherTempGap=40
         self.PackOTlmt=65
         self.PackUTlmt=-20
         self.OtherOTlmt=91
@@ -19,7 +19,7 @@ class BatteryInfo():
             self.PackFullChrgVolt=69.99
             self.CellFullChrgVolt=4.2
             self.CellVoltNums=17
-            self.CellTempNums=4
+            self.CellTempNums=3
             self.OtherTempNums=5
             self.FullChrgSoc=98
             self.PeakSoc=57
@@ -37,7 +37,7 @@ class BatteryInfo():
             self.PackFullChrgVolt=69.99
             self.CellFullChrgVolt=4.2
             self.CellVoltNums=14
-            self.CellTempNums=4
+            self.CellTempNums=3
             self.OtherTempNums=5            
             self.FullChrgSoc=98
             self.PeakSoc=57
@@ -96,7 +96,7 @@ class BatteryInfo():
             self.OcvInflexion3=3.328
             self.OcvInflexionAbove=3.4
             self.CellVoltNums=20
-            self.CellTempNums=4
+            self.CellTempNums=3
             self.OtherTempNums=5 
             self.FullChrgSoc=98
             self.PeakSoc=59

+ 3 - 3
LIB/MIDDLE/SaftyCenter/DataSta/DataStatistics.py

@@ -1,7 +1,7 @@
 import numpy as np
 import pandas as pd
-from User.eric.Common import FeiShuData
-from User.eric.Common import DBDownload
+from LIB.MIDDLE.SaftyCenter.Common import FeiShuData
+from LIB.MIDDLE.SaftyCenter.Common import DBDownload
 import time, datetime
 from datetime import timedelta
 from pandas.core.frame import DataFrame
@@ -113,7 +113,7 @@ class DataSta():
             df_FirstDataTime.loc[i,'first_data_time']=df_FirstDataTime.loc[i,'first_data_time'].strftime('%Y-%m-%d')
             df_FirstDataTime.loc[i,'first_data_time']=datetime.datetime.strptime(df_FirstDataTime.loc[i,'first_data_time'],'%Y-%m-%d')
             deltatime.loc[i,'runningdate']=(End_time-df_FirstDataTime.loc[i,'first_data_time'])
-            deltatime.loc[i,'runningdate']= deltatime.loc[i,'runningdate'].total_seconds()/60
+            deltatime.loc[i,'runningdate']= deltatime.loc[i,'runningdate'].total_seconds()/3600
         MaxRunningHour=int(deltatime['runningdate'].max())
         TotalRunHour=int(deltatime['runningdate'].sum())
         return MaxAccumAh,TotalAccumAh,MaxCycle,MaxRunningHour,TotalRunHour

+ 5 - 4
LIB/MIDDLE/SaftyCenter/DataSta/main.py

@@ -1,7 +1,7 @@
 import numpy as np
 import pandas as pd
-from User.eric.Common import FeiShuData
-from User.eric.Common import DBDownload
+from LIB.MIDDLE.SaftyCenter.Common import FeiShuData
+from LIB.MIDDLE.SaftyCenter.Common import DBDownload
 import time, datetime
 from pandas.core.frame import DataFrame
 from apscheduler.schedulers.blocking import BlockingScheduler
@@ -116,8 +116,9 @@ def Minutes_Task():
     CellType=Celltype.columns.tolist()
     CellType=','.join(CellType) 
     all_statistic_info.loc[0,'cell_type']=str(CellType)
-    CellTypeCount=str(Celltype.loc[0].values)
-    CellTypeCount=''.join(CellTypeCount) 
+    CellTypeCount=Celltype.loc[0].tolist()
+    CellTypeCount=[str(x) for x in CellTypeCount]
+    CellTypeCount=','.join(CellTypeCount) 
     all_statistic_info.loc[0,'cell_type_count']=str(CellTypeCount)
     all_statistic_info.loc[0,'cell_safety_risk_count']=SatftyCount.loc[0,'CellSaftyCount']
     all_statistic_info.loc[0,'data_safety_risk_count']=SatftyCount.loc[0,'DataSaftyCodeCount']

+ 557 - 0
LIB/MIDDLE/SaftyCenter/diagfault/CBMSBatDiag.py

@@ -0,0 +1,557 @@
+import pandas as pd
+import numpy as np
+import datetime
+from LIB.MIDDLE.CellStateEstimation.Common.V1_0_1 import BatParam
+
+class BatDiag:
+    def __init__(self,sn,celltype,df_bms,df_soh,df_uniform,df_diag_Ram):  #参数初始化
+
+        self.sn=sn
+        self.celltype=celltype
+        self.param=BatParam.BatParam(celltype)
+        self.df_bms=df_bms
+        self.df_soh=df_soh
+        self.df_uniform=df_uniform
+        self.df_diag_ram=df_diag_Ram
+        self.packcrnt=df_bms['总电流[A]']*self.param.PackCrntDec
+        self.packvolt=df_bms['总电压[V]']
+        self.bms_soc=df_bms['SOC[%]']
+        self.bmstime= pd.to_datetime(df_bms['时间戳'], format='%Y-%m-%d %H:%M:%S')
+        self.bmsfault1=self.df_bms['故障代码']
+        # self.bmsfault2=self.df_bms['alarm2'].tolist()
+        # self.bmsfault3=self.df_bms['alarm3'].tolist()
+        # self.bmsfault4=self.df_bms['fault'].tolist()
+
+        self.cellvolt_name=['单体电压'+str(x) for x in range(1,self.param.CellVoltNums+1)]
+        self.celltemp_name=['单体温度'+str(x) for x in range(1,self.param.CellTempNums+1)]
+    
+    def diag(self):
+        if self.celltype<=50:
+            df_res=self._ncm_diag()
+            return df_res    
+        else:
+            df_res=self._ncm_diag()
+            return df_res
+        
+
+    #定义滑动滤波函数.............................................................................................
+    def _np_move_avg(self,a, n, mode="same"): 
+        return (np.convolve(a, np.ones((n,)) / n, mode=mode))
+    
+    #寻找当前行数据的所有温度值...................................................................................
+    def _celltemp_get(self,num):   
+        celltemp = list(self.df_bms.loc[num,self.celltemp_name])
+        return celltemp
+
+    #获取当前行所有电压数据............................................................................................
+    def _cellvolt_get(self,num): 
+        cellvolt = np.array(self.df_bms.loc[num,self.cellvolt_name]/1000)
+        return cellvolt
+
+    #..........................................三元电池诊断功能..................................................................
+    def _ncm_diag(self):
+
+        bmssoc_st=float(self.bms_soc[0])    #SOC卡滞初始参数
+        ah_accum=0  #SOC卡滞初始参数
+        as_chg=0    #过流诊断初始参数
+        as_dis=0    #过流诊断初始参数
+        time1=self.bmstime[0]   #温升速率初始参数
+        temp1=np.array(self._celltemp_get(0))   #温升速率初始参数
+        temprate_cnt=0
+        
+        end_time='0000-00-00 00:00:00'
+            
+        for i in range(1,len(self.df_bms)):
+            
+            #温度诊断功能.............................................................................................................
+            celltemp0=self._celltemp_get(i-1)
+            celltemp1=self._celltemp_get(i)
+            celltempmin0=min(celltemp0)
+            celltempmin1=min(celltemp1)
+            celltempmax0=max(celltemp0)
+            celltempmax1=max(celltemp1)
+            #温度有效性判断..........................................................................
+            if celltempmax0>self.param.CellTempUpLmt or celltempmin0<self.param.CellTempLwLmt:
+                celltempvalid=0
+            else:  
+                celltempvalid=1
+           
+
+            if celltempvalid==1:
+                #过温判断.............................................................................................................
+                if not 4 in list(self.df_diag_ram['code']):  #当前故障中没有该故障,则判断是否发生该故障
+                    if celltempmax0>self.param.CellTempHighLv2 and celltempmax1>self.param.CellTempHighLv2:    #二级高温进入
+                        time=self.bmstime[i]
+                        code=4
+                        faultlv=3
+                        faultinfo='温度{}高温二级'.format(celltemp1.index(celltempmax1)+1)
+                        faultadvice='技术介入诊断'
+                        self.df_diag_ram.loc[len(self.df_diag_ram)]=[time, end_time, self.sn, code, faultlv, faultinfo, faultadvice]
+                    else:
+                        pass
+                else:   #ram当前故障中有该故障,则判断是否退出该故障
+                    if celltempmax0<self.param.CellTempHighLv1-5 and celltempmax1<self.param.CellTempHighLv1-5:    #二级高温恢复
+                        time=self.bmstime[i]
+                        self.df_diag_ram[self.df_diag_ram[self.df_diag_ram['code']==4].index, 'end_time'] = time
+                    else:
+                        pass
+            
+                #欠温判断.................................................................................................................
+                if not 6 in list(self.df_diag_ram['code']):  #当前故障中没有该故障,则判断是否发生该故障
+                    if celltempmin0<self.param.CellTempLowLv2 and celltempmin1<self.param.CellTempLowLv2:  #二级低温进入
+                        time=self.bmstime[i]
+                        code=6
+                        faultlv=3
+                        faultinfo='温度{}低温二级'.format(celltemp1.index(celltempmin1)+1)
+                        faultadvice='技术介入诊断'
+                        self.df_diag_ram.loc[len(self.df_diag_ram)]=[time, end_time, self.sn, code, faultlv, faultinfo, faultadvice]
+                    else:
+                        pass
+                else:   #ram当前故障中有该故障,则判断是否退出该故障
+                    if celltempmax0>self.param.CellTempLowLv1+2 and celltempmax1>self.param.CellTempLowLv1+2:    #二级高温恢复
+                        time=self.bmstime[i]
+                        self.df_diag_ram[self.df_diag_ram[self.df_diag_ram['code']==6].index, 'end_time'] = time
+                    else:
+                        pass
+              
+                #温差判断.............................................................................................................................
+                if not 8 in list(self.df_diag_ram['code']):  #当前故障中没有该故障,则判断是否发生该故障
+                    if (celltempmax0-celltempmin0)>self.param.CellTempDiffLv2 and (celltempmax1-celltempmin1)>self.param.CellTempDiffLv2:  #二级温差进入
+                        time=self.bmstime[i]
+                        code=8
+                        faultlv=3
+                        faultinfo='温度{}和{}温差大二级'.format(celltemp1.index(celltempmax1)+1,celltemp1.index(celltempmin1)+1)
+                        faultadvice='技术介入诊断'
+                        self.df_diag_ram.loc[len(self.df_diag_ram)]=[time, end_time, self.sn, code, faultlv, faultinfo, faultadvice]
+                    else:
+                        pass
+                else:   #ram当前故障中有该故障,则判断是否退出该故障
+                    if (celltempmax0-celltempmin0)<self.param.CellTempDiffLv1-2 and (celltempmax1-celltempmax0)>self.param.CellTempDiffLv1-2:  #二级温差恢复
+                        time=self.bmstime[i]
+                        self.df_diag_ram[self.df_diag_ram[self.df_diag_ram['code']==8].index, 'end_time'] = time
+                    else:
+                        pass
+
+                #温升判断
+                time2=self.bmstime[i]
+                delttime=(time2-time1).total_seconds()
+                if delttime>20:
+                    temp2=np.array(self._celltemp_get(i))
+                    celltemp_rate=(max(temp2-temp1)*60)/delttime    #计算最大温升速率
+                    temp1=temp2 #更新初始温度
+                    time1=time2 #更新初始时间
+                    if celltemp_rate>self.param.CellTempRate:
+                        temprate_cnt=temprate_cnt+1
+                        if not 9 in list(self.df_diag_ram['code']):  #当前故障中没有该故障,则判断是否发生该故障
+                            if temprate_cnt>2:  #温升故障进入
+                                time=self.bmstime[i]
+                                code=9
+                                faultlv=3
+                                faultinfo='温升速率过快:{}℃/min'.format(celltemp_rate)
+                                faultadvice='技术介入诊断'
+                                self.df_diag_ram.loc[len(self.df_diag_ram)]=[time, end_time, self.sn, code, faultlv, faultinfo, faultadvice]
+                            else:
+                                pass
+                        else:   #ram当前故障中有该故障,则判断是否退出该故障
+                            if celltemp_rate<self.param.CellTempRate-1: #温升故障恢复
+                                time=self.bmstime[i]
+                                self.df_diag_ram[self.df_diag_ram[self.df_diag_ram['code']==9].index, 'end_time'] = time
+                    else:
+                        pass
+                else:
+                    pass
+            
+            else:
+                pass
+            
+            #电压诊断功能.................................................................................................
+            cellvolt0=self._cellvolt_get(i-1)
+            cellvolt1=self._cellvolt_get(i)
+            cellvoltmin0=min(cellvolt0)
+            cellvoltmax0=max(cellvolt0)
+            cellvoltmin1=min(cellvolt1)
+            cellvoltmax1=max(cellvolt1)
+            #电压断线诊断...................................................................................................
+            if (cellvoltmin0<2 and cellvoltmax0>4.5) or cellvoltmin0<0.1 or cellvoltmax0>5:
+                cellvoltvalid=0
+            else:
+                cellvoltvalid=1
+            
+            if cellvoltvalid==1:
+                #过压诊断.............................................................................................................
+                if not 12 in list(self.df_diag_ram['code']):  #当前故障中没有该故障,则判断是否发生该故障
+                    if cellvoltmax0>self.param.CellOvLv2 and cellvoltmax1>self.param.CellOvLv2:  #二级过压进入
+                        time=self.bmstime[i]
+                        code=12
+                        faultlv=3
+                        faultinfo='电芯{}过压二级'.format(cellvolt1.index(cellvoltmax1)+1)
+                        faultadvice='联系用户询问用车场景,技术介入诊断'
+                        self.df_diag_ram.loc[len(self.df_diag_ram)]=[time, end_time, self.sn, code, faultlv, faultinfo, faultadvice]
+                    else:
+                        pass
+                else:   #ram当前故障中有该故障,则判断是否退出该故障
+                    if cellvoltmax0<self.param.CellOvLv1-0.05 and cellvoltmax1<self.param.CellOvLv1-0.05:   #二级过压故障恢复
+                        time=self.bmstime[i]
+                        self.df_diag_ram[self.df_diag_ram[self.df_diag_ram['code']==12].index, 'end_time'] = time
+                    else:
+                        pass
+              
+
+                #欠压诊断.................................................................................................................
+                if not 14 in list(self.df_diag_ram['code']):  #当前故障中没有该故障,则判断是否发生该故障
+                    if cellvoltmin0<self.param.CellUvLv2 and cellvoltmin1<self.param.CellUvLv2:  #二级欠压
+                        time=self.bmstime[i]
+                        code=14
+                        faultlv=3
+                        faultinfo='电芯{}欠压二级'.format(cellvolt1.index(cellvoltmin1)+1)
+                        faultadvice='联系用户询问用车场景,技术介入诊断'
+                        self.df_diag_ram.loc[len(self.df_diag_ram)]=[time, end_time, self.sn, code, faultlv, faultinfo, faultadvice]
+                    else:
+                        pass
+                else:
+                    if cellvoltmin0>self.param.CellUvLv1+0.1 and cellvoltmin1>self.param.CellUvLv1+0.1:
+                        time=self.bmstime[i]
+                        self.df_diag_ram[self.df_diag_ram[self.df_diag_ram['code']==14].index, 'end_time'] = time
+                    else:
+                        pass
+             
+                #电芯压差大.....................................................................................................................................................
+                if not 16 in list(self.df_diag_ram['code']):  #当前故障中没有该故障,则判断是否发生该故障
+                    if (cellvoltmax0-cellvoltmin0)>self.param.CellVoltDiffLv2 and (cellvoltmax1-cellvoltmin1)>self.param.CellVoltDiffLv2:  #二级电芯压差
+                        time=self.bmstime[i]
+                        code=16
+                        faultlv=3
+                        faultinfo='电芯{}和{}压差大二级'.format(cellvolt1.index(cellvoltmax1)+1,cellvolt1.index(cellvoltmin1)+1)
+                        faultadvice='技术介入诊断'
+                        self.df_diag_ram.loc[len(self.df_diag_ram)]=[time, end_time, self.sn, code, faultlv, faultinfo, faultadvice]
+                    else:
+                        pass
+                else:
+                    if (cellvoltmax0-cellvoltmin0)<self.param.CellVoltDiffLv1-0.05 and (cellvoltmax1-cellvoltmin1)>self.param.CellVoltDiffLv1-0.05: #二级欠压恢复
+                        time=self.bmstime[i]
+                        self.df_diag_ram[self.df_diag_ram[self.df_diag_ram['code']==16].index, 'end_time'] = time
+                    else:
+                        pass
+            else:
+                pass
+                
+            #电池包诊断.....................................................................................................................................
+            if not 18 in list(self.df_diag_ram['code']):  #当前故障中没有该故障,则判断是否发生该故障
+                if self.packvolt[i-1]>self.param.PackVoltOvLv2 and self.packvolt[i]>self.param.PackVoltOvLv2:   #电池包过压二级进入
+                    time=self.bmstime[i]
+                    code=18
+                    faultlv=3
+                    faultinfo='电池包过压二级'
+                    faultadvice='联系用户询问用车场景,技术介入诊断'
+                    self.df_diag_ram.loc[len(self.df_diag_ram)]=[time, end_time, self.sn, code, faultlv, faultinfo, faultadvice]
+                else:
+                    pass
+            else:
+                if self.packvolt[i-1]<self.param.PackVoltOvLv1-0.05*self.param.CellVoltNums and self.packvolt[i]<self.param.PackVoltOvLv1-0.05*self.param.CellVoltNums: #电池包过压二级恢复
+                    time=self.bmstime[i]
+                    self.df_diag_ram[self.df_diag_ram[self.df_diag_ram['code']==18].index, 'end_time'] = time
+                else:
+                    pass
+          
+            #电池包诊断.....................................................................................................................................
+            if not 20 in list(self.df_diag_ram['code']):  #当前故障中没有该故障,则判断是否发生该故障
+                if self.packvolt[i-1]<self.param.PackVoltUvLv2 and self.packvolt[i]<self.param.PackVoltUvLv2:   #电池包二级欠压进入
+                    time=self.bmstime[i]
+                    code=20
+                    faultlv=3
+                    faultinfo='电池包欠压二级'
+                    faultadvice='联系用户询问用车场景,技术介入诊断'
+                    self.df_diag_ram.loc[len(self.df_diag_ram)]=[time, end_time, self.sn, code, faultlv, faultinfo, faultadvice]
+                else:
+                    pass
+            else:
+                if self.packvolt[i-1]>self.param.PackVoltUvLv1+0.1*self.param.CellVoltNums and self.packvolt[i]>self.param.PackVoltUvLv1+0.1*self.param.CellVoltNums:   #电池包二级欠压恢复
+                    time=self.bmstime[i]
+                    self.df_diag_ram[self.df_diag_ram[self.df_diag_ram['code']==20].index, 'end_time'] = time
+                else:
+                    pass
+            
+            #电流过流诊断.......................................................................................................................
+            step=(self.bmstime[i]-self.bmstime[i-1]).total_seconds()
+            if step<120 and self.packcrnt[i]>self.param.PackDisOc:
+                as_dis=as_dis+(self.packcrnt[i]-self.param.self.PackDisOc)*step    #ah累计
+            elif step<120 and self.packcrnt[i]<self.param.PackChgOc:
+                as_chg=as_chg+(self.param.PackDisOc-self.packcrnt[i])*step    #ah累计
+            else:
+                as_dis=0
+                as_chg=0
+            
+            if not 22 in list(self.df_diag_ram['code']):  #当前故障中没有该故障,则判断是否发生该故障
+                if as_dis>100:
+                    time=self.bmstime[i]
+                    code=22
+                    faultlv=3
+                    faultinfo='电池包放电过流'
+                    faultadvice='联系用户询问用车场景,技术介入诊断'
+                    self.df_diag_ram.loc[len(self.df_diag_ram)]=[time, end_time, self.sn, code, faultlv, faultinfo, faultadvice]
+                else:
+                    pass
+            else:
+                if self.packcrnt[i-1]<self.param.PackDisOc-10 and self.packcrnt[i]<self.param.PackDisOc-10:
+                    time=self.bmstime[i]
+                    self.df_diag_ram[self.df_diag_ram[self.df_diag_ram['code']==22].index, 'end_time'] = time
+                else:
+                    pass
+            
+            if not 21 in list(self.df_diag_ram['code']):  #当前故障中没有该故障,则判断是否发生该故障
+                if as_chg>100:
+                    time=self.bmstime[i]
+                    code=21
+                    faultlv=3
+                    faultinfo='电池包充电过流'
+                    faultadvice='联系用户询问用车场景,技术介入诊断'
+                    self.df_diag_ram.loc[len(self.df_diag_ram)]=[time, end_time, self.sn, code, faultlv, faultinfo, faultadvice]
+                else:
+                    pass
+            else:
+                if self.packcrnt[i-1]>self.param.PackChgOc+10 and self.packcrnt[i]>self.param.PackChgOc+10:
+                    time=self.bmstime[i]
+                    self.df_diag_ram[self.df_diag_ram[self.df_diag_ram['code']==22].index, 'end_time'] = time
+                else:
+                    pass
+
+            #SOC卡滞、跳变诊断................................................................................................
+            step=(self.bmstime[i]-self.bmstime[i-1]).total_seconds()
+            if step<120:
+                ah_accum=ah_accum-self.packcrnt[i]*step/3600    #ah累计
+            else:
+                pass
+            #SOC卡滞............................................................................................................
+            if abs(ah_accum)>self.param.Capacity*0.05:   
+                bmssoc_now=float(self.bms_soc[i])
+                if not 27 in list(self.df_diag_ram['code']):  #当前故障中没有该故障,则判断是否发生该故障
+                    if abs(bmssoc_now-bmssoc_st)<self.param.SocClamp:   #SOC卡滞故障进入
+                        time=self.bmstime[i]
+                        code=27
+                        faultlv=1
+                        faultinfo='电池SOC卡滞'
+                        faultadvice='技术介入诊断,检修电池BMS软件'
+                        self.df_diag_ram.loc[len(self.df_diag_ram)]=[time, end_time, self.sn, code, faultlv, faultinfo, faultadvice]
+                    else:
+                        pass
+                else:
+                    if abs(bmssoc_now-bmssoc_st)>self.param.SocClamp:   #SOC卡滞故障退出
+                        time=self.bmstime[i]
+                        self.df_diag_ram[self.df_diag_ram[self.df_diag_ram['code']==27].index, 'end_time'] = time
+                    else:
+                        pass
+                bmssoc_st=bmssoc_now
+                ah_accum=0
+            else:
+                pass
+
+            #SOC跳变....................................................................................................................
+            if step<30: 
+                bmssoc_last=float(self.bms_soc[i-1])
+                bmssoc_now=float(self.bms_soc[i])
+                if not 28 in list(self.df_diag_ram['code']):  #当前故障中没有该故障,则判断是否发生该故障
+                    if abs(bmssoc_now-bmssoc_last)>self.param.SocJump:  #SOC跳变进入
+                        time=self.bmstime[i]
+                        code=28
+                        faultlv=1
+                        faultinfo='电池SOC跳变'
+                        faultadvice='技术介入诊断,检修电池BMS软件'
+                        self.df_diag_ram.loc[len(self.df_diag_ram)]=[time, end_time, self.sn, code, faultlv, faultinfo, faultadvice]
+                    else:
+                        pass
+                else:   
+                    if abs(bmssoc_now-bmssoc_st)<self.param.SocJump:    #SOC跳变故障退出
+                        time=self.bmstime[i]
+                        self.df_diag_ram[self.df_diag_ram[self.df_diag_ram['code']==28].index, 'end_time'] = time
+                    else:
+                        pass
+            else:
+                pass
+
+            #SOC过低故障报警............................................................................................................
+            if not 26 in list(self.df_diag_ram['code']):  #当前故障中没有该故障,则判断是否发生该故障
+                if self.bms_soc[i-1]<self.param.SocLow and self.bms_soc[i]<self.param.SocLow:   #SOC过低故障进入
+                    time=self.bmstime[0]
+                    code=26
+                    faultlv=1
+                    faultinfo='电池包电量过低'
+                    faultadvice='联系用户,请立刻充电'
+                    self.df_diag_ram.loc[len(self.df_diag_ram)]=[time, end_time, self.sn, code, faultlv, faultinfo, faultadvice]
+                else:
+                    pass
+            else:   
+                if self.bms_soc[i-1]>self.param.SocLow and self.bms_soc[i]>self.param.SocLow:   #SOC过低故障退出
+                    time=self.bmstime[i]
+                    self.df_diag_ram[self.df_diag_ram[self.df_diag_ram['code']==26].index, 'end_time'] = time
+                else:
+                    pass
+
+            #BMS故障报警........................................................................................................
+            if not 1 in list(self.df_diag_ram['code']):  #当前故障中没有该故障,则判断是否发生该故障
+                if self.bmsfault1[i-1] is None or self.bmsfault1[i] is None:
+                    self.bmsfault1[i-1]=0
+                    self.bmsfault1[i]=0
+                if self.bmsfault1[i-1]>0 or self.bmsfault1[i]>0:   #BMS故障进入
+                    time=self.bmstime[0]
+                    code=1
+                    faultlv=2
+                    faultinfo='BMS故障报警:{}'.format(self.bmsfault1[i-1])
+                    faultadvice='技术介入诊断'
+                    self.df_diag_ram.loc[len(self.df_diag_ram)]=[time, end_time, self.sn, code, faultlv, faultinfo, faultadvice]
+                else:
+                    pass
+            else:
+                if self.bmsfault1[i-1]==0 and self.bmsfault1[i]==0:   #BMS故恢复
+                    time=self.bmstime[i]
+                    self.df_diag_ram[self.df_diag_ram[self.df_diag_ram['code']==1].index, 'end_time'] = time
+        
+        
+        #SOC一致性故障报警..........................................................................................................
+        if not self.df_uniform.empty:
+            cellsoc_diff=self.df_uniform.loc[0,'cellsoc_diff']
+            if not 25 in list(self.df_diag_ram['code']):  #当前故障中没有该故障,则判断是否发生该故障
+                if cellsoc_diff>self.param.SocDiff: #SOC一致性差故障进入
+                    time=self.bmstime[0]
+                    code=25
+                    faultlv=1
+                    faultinfo='电芯{}和{}SOC差过大:{}'.format(self.df_uniform.loc[0,'cellmin_num'],self.df_uniform.loc[0,'cellmax_num']),cellsoc_diff
+                    faultadvice='技术介入诊断'
+                    self.df_diag_ram.loc[len(self.df_diag_ram)]=[time, end_time, self.sn, code, faultlv, faultinfo, faultadvice]
+                else:
+                    pass
+            else:
+                if cellsoc_diff<self.param.SocDiff: #SOC一致性差故障恢复
+                    time=self.bmstime[i]
+                    self.df_diag_ram[self.df_diag_ram[self.df_diag_ram['code']==25].index, 'end_time'] = time
+        else:
+            cellsoc_diff=3
+
+        #容量过低和一致性故障报警................................................................................................
+        if not self.df_soh.empty:
+            soh=self.df_soh.loc[0,'soh']
+            cellsoh=eval(self.df_soh.loc[0,'cellsoh'])
+            cellsoh=np.array(cellsoh)
+            cellsoh_lowindex=np.argwhere(cellsoh<self.param.SohLow)
+            cellsoh_lowindex=cellsoh_lowindex+1
+            if self.celltype==1 or self.celltype==2 or self.celltype==3 or self.celltype==4: 
+                cellsoh_diff=max(cellsoh)-min(cellsoh)
+                if not 23 in list(self.df_diag_ram['code']):  #当前故障中没有该故障,则判断是否发生该故障
+                    if soh<self.param.SohLow:   #soh过低故障进入
+                        time=self.bmstime[0]
+                        code=23
+                        faultlv=1
+                        faultinfo='电池包容量过低:电芯{}'.format(cellsoh_lowindex)
+                        faultadvice='检修电池,更换容量过低的电芯或模组'
+                        self.df_diag_ram.loc[len(self.df_diag_ram)]=[time, end_time, self.sn, code, faultlv, faultinfo, faultadvice]
+                    else:
+                        pass
+                else:
+                    if soh>self.param.SohLow+2:   #soh过低故障恢复
+                        time=self.bmstime[i]
+                        self.df_diag_ram[self.df_diag_ram[self.df_diag_ram['code']==23].index, 'end_time'] = time
+                    else:
+                        pass
+
+                if not 24 in list(self.df_diag_ram['code']):  #当前故障中没有该故障,则判断是否发生该故障
+                    if cellsoh_diff>self.param.SohDiff:
+                        time=self.bmstime[0]
+                        code=24
+                        faultlv=1
+                        faultinfo='电池包容量一致性差:电芯{}'.format(cellsoh_lowindex)
+                        faultadvice='检修电池,更换容量过低的电芯或模组'
+                        self.df_diag_ram.loc[len(self.df_diag_ram)]=[time, end_time, self.sn, code, faultlv, faultinfo, faultadvice]
+                    else:
+                        pass
+                else:
+                    if cellsoh_diff<self.param.SohDiff-2:
+                        time=self.bmstime[i]
+                        self.df_diag_ram[self.df_diag_ram[self.df_diag_ram['code']==24].index, 'end_time'] = time
+                    else:
+                        pass
+            else:
+                pass
+        else:
+            cellsoh_diff=5
+        
+        # #电池健康度评分.....................................................................................................
+        # health_state=soh*0.6+(100-cellsoh_diff)*0.2+(100-cellsoc_diff)*0.2
+        # if health_state>100:
+        #     health_state=100
+        # elif health_state<0:
+        #     health_state=0
+        # else:
+        #     pass
+        # health_state=eval(format(health_state,'.1f'))
+
+        #返回诊断结果...........................................................................................................
+        df_res=self.df_diag_ram
+        if not df_res.empty:
+            return df_res
+        else:
+            return pd.DataFrame()
+
+#............................................................内短路故障诊断.............................................................................
+class ShortDiag():
+    def __init__(self,sn,celltype,df_short):  #参数初始化
+
+        self.sn=sn
+        self.celltype=celltype
+        self.param=BatParam.BatParam(celltype)
+        self.df_short=df_short
+
+    def shortdiag(self):
+        if len(self.df_short)>1:
+            df_res=self._short_diag()
+            return df_res
+        else:
+            return pd.DataFrame()
+
+    #内短路故障检测...................................................................................................................................
+    def _short_diag(self):
+        column_name=['start_time', 'end_time', 'product_id', 'code', 'level', 'info','advice']
+        df_res=pd.DataFrame(columns=column_name)
+        time=datetime.datetime.now()
+        end_time=datetime.datetime.strftime('0000-00-00 00:00:00')
+        end_time=datetime.datetime.strptime(end_time,'%Y-%m-%d %H:%M:%S')
+
+        # if self.df_diag.empty:
+        #     health_state=100
+        # else:
+        #     health_state=self.df_diag.loc[0,'health_state']
+
+        for i in range(self.param.CellVoltNums):
+            #将字符串分割为多列
+            short_current=self.df_short['short_current']
+            short_current=short_current.str.replace("[", '')
+            short_current=short_current.str.replace("]", '')
+            self.df_short['cellshort'+str(i+1)]=short_current.map(lambda x:x.split(',')[i])
+            self.df_short['cellshort'+str(i+1)]=self.df_short['cellshort'+str(i+1)].map(lambda x:eval(x))
+
+            #漏电流故障判断
+            cellshort=np.array(self.df_short['cellshort'+str(i+1)])
+            shortlv3=np.sum(cellshort>self.param.LeakCurrentLv3)
+            shortlv2=np.sum(cellshort>self.param.LeakCurrentLv2)-shortlv3
+            shortlv1=np.sum(cellshort>self.param.LeakCurrentLv1)-shortlv2-shortlv3
+            shortlv=shortlv3*3 + shortlv2*2 + shortlv1
+
+            if not 31 in list(self.df_diag_ram['code']):  #当前故障中没有该故障,则判断是否发生该故障
+                if shortlv>=5:
+                    time=self.bmstime[0]
+                    code=31
+                    faultlv=3
+                    faultinfo='电芯{}发生严重内短路'.format(i+1)
+                    faultadvice='禁止充放电,检修电池'
+                    self.df_diag_ram.loc[len(self.df_diag_ram)]=[time, end_time, self.sn, code, faultlv, faultinfo, faultadvice]
+                else:
+                    pass
+            else:
+                if shortlv<3:
+                    time=self.bmstime[i]
+                    self.df_diag_ram[self.df_diag_ram[self.df_diag_ram['code']==31].index, 'end_time'] = time
+        
+        if not df_res.empty:
+            return df_res
+        else:
+            return pd.DataFrame()
+
+

+ 84 - 0
LIB/MIDDLE/SaftyCenter/diagfault/SC_SamplingSafty.py

@@ -0,0 +1,84 @@
+import sys
+import numpy as np
+import pandas as pd
+import string
+import os
+from pandas import Series
+from matplotlib import pyplot as plt
+from pandas.core.frame import DataFrame
+from pandas.core.indexes.base import Index
+from pymysql import NULL
+from LIB.BACKEND import DBManager
+import datetime
+import time
+import string
+import re
+
+
+
+class SamplingSafty:
+    def __init__(self):
+        pass
+    def main(sn,param,bms_info,df_Diag_Ram_in):
+        df_Diag_Ram_Update_inside=DataFrame(columns=['start_time', 'end_time', 'product_id', 'code', 'level', 'info','advice'])
+        df_Diag_Ram_Update_inside=df_Diag_Ram_Update_inside.append(df_Diag_Ram_in)
+        global QuitErrCount 
+        VolStarkCount=[0 for i in range(param.CellVoltNums)]
+        VolCount=0
+        QuitErrCount=[0 for i in range(param.FaultCount)]
+        df_Diag_Ram=DataFrame(columns=['start_time', 'end_time', 'product_id', 'code', 'level', 'info','advice'])
+        st_tp=[]
+        #--------------该电池的所有当前故障-------------
+
+        VoltageNum=['单体电压'+str(i) for i in range(1,param.CellVoltNums+1)]#单体电压替换cellvolt_
+        CellVoltage=bms_info[VoltageNum]
+        CellMaxVoltage=CellVoltage.max(axis=1)
+        CellMinVoltage=CellVoltage.min(axis=1)
+        InVMaxBatNo=CellVoltage[CellVoltage>=param.CellOVlmt].dropna(axis=0,how='all',inplace=False)
+        InVMinBatNo=CellVoltage[CellVoltage<=param.CellUVlmt].dropna(axis=0,how='all',inplace=False)
+        #date替换为'时间戳'
+        if len(InVMaxBatNo):
+            indexValue=InVMaxBatNo.index.values
+            df_Diag_Ram.loc[len(df_Diag_Ram)]=[bms_info.loc[indexValue[0],'时间戳'],'0000-00-00 00:00:00',sn,50,3,'单体电压大于{:.2f}V,采样无效'.format(param.CellOVlmt),'建议返厂维修']
+            for i in range(1,len(indexValue)):
+                if indexValue[i]- indexValue[i-1]>10:
+                    df_Diag_Ram.loc[len(df_Diag_Ram)-1,'end_time']=bms_info.loc[indexValue[i-1],'时间戳']
+                    df_Diag_Ram.loc[len(df_Diag_Ram)]=[bms_info.loc[indexValue[i],'时间戳'],'0000-00-00 00:00:00',sn,50,3,'单体电压大于{:.2f}V,采样无效'.format(param.CellOVlmt),'建议返厂维修']                         
+        if len(InVMinBatNo):
+            indexValue=InVMinBatNo.index.values
+            df_Diag_Ram.loc[len(df_Diag_Ram)]=[bms_info.loc[indexValue[0],'时间戳'],'0000-00-00 00:00:00',sn,50,3,'电压小于{:.2f}V,采样无效'.format(param.CellUVlmt),'建议返厂维修']
+            for i in range(1,len(indexValue)):
+                if indexValue[i]- indexValue[i-1]>10:
+                    df_Diag_Ram.loc[len(df_Diag_Ram)-1,'end_time']=bms_info.loc[indexValue[i-1],'时间戳']
+                    df_Diag_Ram.loc[len(df_Diag_Ram)]=[bms_info.loc[indexValue[i],'时间戳'],'0000-00-00 00:00:00',sn,50,3,'电压小于{:.2f}V,采样无效'.format(param.CellUVlmt),'建议返厂维修']           
+        MedianVol=CellVoltage.median(axis=1).tolist()
+        MediaVolGap=abs(CellVoltage.sub(MedianVol,axis=0))
+        OutlineVol=MediaVolGap[MediaVolGap>=param.AvgVolGap][CellMaxVoltage<param.CellOVlmt][CellMinVoltage>param.CellUVlmt][abs(bms_info['总电流[A]'])<1].dropna(axis=0,how='all',inplace=False)
+        #OutlineVol=OutlineVol[CellMaxVoltage<param.CellOVlmt][CellMinVoltage>param.CellUVlmt].dropna(axis=0,how='all',inplace=False)
+        
+        
+        if len(OutlineVol):
+            indexValue=OutlineVol.index.values
+            df_Diag_Ram.loc[len(df_Diag_Ram)]=[bms_info.loc[indexValue[0],'时间戳'],'0000-00-00 00:00:00',sn,50,3,sn,10,3,'电池电压发生偏移或发生断线','建议返厂维修']
+            for i in range(1,len(indexValue)):
+                if indexValue[i]- indexValue[i-1]>10:
+                    df_Diag_Ram.loc[len(df_Diag_Ram)-1,'end_time']=bms_info.loc[indexValue[i-1],'时间戳']
+                    df_Diag_Ram.loc[len(df_Diag_Ram)]=[bms_info.loc[indexValue[i],'时间戳'],'0000-00-00 00:00:00',sn,10,3,'电池电压发生偏移或发生断线','建议返厂维修'] 
+        CellTemp=bms_info['单体温度1']
+        InVMaxTempBatNo=CellTemp[CellTemp>=param.PackOTlmt].dropna(axis=0,how='all',inplace=False)
+        InVMinTempBatNo=CellTemp[CellTemp<=param.PackUTlmt].dropna(axis=0,how='all',inplace=False)
+        if len(InVMaxTempBatNo):
+            indexValue=InVMaxTempBatNo.index.values
+            df_Diag_Ram.loc[len(df_Diag_Ram)]=[bms_info.loc[indexValue[0],'时间戳'],'0000-00-00 00:00:00',sn,50,3,'电池温度大于{:.0f}摄氏度,采样无效'.format(param.PackOTlmt),'请立即确认状态']
+            for i in range(1,len(indexValue)):
+                if indexValue[i]- indexValue[i-1]>10:
+                    df_Diag_Ram.loc[len(df_Diag_Ram)-1,'end_time']=bms_info.loc[indexValue[i-1],'时间戳']
+                    df_Diag_Ram.loc[len(df_Diag_Ram)]=[bms_info.loc[indexValue[i],'时间戳'],'0000-00-00 00:00:00',sn,50,3,'电池温度大于{:.0f}摄氏度,采样无效'.format(param.PackOTlmt),'请立即确认状态'] 
+        if len(InVMinTempBatNo):
+            indexValue=InVMinTempBatNo.index.values
+            df_Diag_Ram.loc[len(df_Diag_Ram)]=[bms_info.loc[indexValue[0],'时间戳'],'0000-00-00 00:00:00',sn,50,3,'电池温度小于{:.0f}摄氏度,采样无效'.format(param.PackUTlmt),'建议返厂维修']
+            for i in range(1,len(indexValue)):
+                if indexValue[i]- indexValue[i-1]>10:
+                    df_Diag_Ram.loc[len(df_Diag_Ram)-1,'end_time']=bms_info.loc[indexValue[i-1],'时间戳']
+                    df_Diag_Ram.loc[len(df_Diag_Ram)]=[bms_info.loc[indexValue[i],'时间戳'],'0000-00-00 00:00:00',sn,50,3,'电池温度小于{:.0f}摄氏度,采样无效'.format(param.PackUTlmt),'建议返厂维修'] 
+        return df_Diag_Ram

+ 177 - 0
LIB/MIDDLE/SaftyCenter/diagfault/main.py

@@ -0,0 +1,177 @@
+import CBMSBatDiag
+from SC_SamplingSafty import SamplingSafty
+import datetime
+import pandas as pd
+from LIB.BACKEND import DBManager, Log
+from sqlalchemy import create_engine
+import time, datetime
+from apscheduler.schedulers.blocking import BlockingScheduler
+from LIB.MIDDLE.CellStateEstimation.Common.V1_0_1 import DBDownload
+from LIB.MIDDLE.CellStateEstimation.Common.V1_0_1 import log
+from pandas.core.frame import DataFrame
+import datacompy
+from LIB.MIDDLE.SaftyCenter.Common import FeiShuData
+from LIB.MIDDLE.SaftyCenter.SaftyCenter.Common import QX_BatteryParam
+
+#...................................电池包电芯安全诊断函数......................................................................................................................
+def diag_cal():
+    global SNnums
+    global df_Diag_Ram
+  
+    start=time.time()
+    end_time=datetime.datetime.now()
+    start_time=end_time-datetime.timedelta(seconds=300)
+    start_time=start_time.strftime('%Y-%m-%d %H:%M:%S')
+    end_time=end_time.strftime('%Y-%m-%d %H:%M:%S')
+    df_read_Yunw = FeiShuData.getFeiShuDATA()#运维表格数据
+    df_read_Yunw.rename(columns={'电池编码':'product_id'},inplace=True)
+    df_read_Yunw.rename(columns={'内容描述':'info'},inplace=True)
+    df_read_Yunw.rename(columns={'发生时间':'start_time'},inplace=True)
+    df_read_Yunw.rename(columns={'维修信息':'advice'},inplace=True)
+    for sn in SNnums:
+        print(sn)
+        if 'PK500' in sn:
+            celltype=1 #6040三元电芯
+        elif 'PK502' in sn:
+            celltype=2 #4840三元电芯
+        elif 'K504B' in sn:
+            celltype=99    #60ah林磷酸铁锂电芯
+        elif 'MGMLXN750' in sn:
+            celltype=3 #力信50ah三元电芯
+        elif 'MGMCLN750' or 'UD' in sn: 
+            celltype=4 #CATL 50ah三元电芯
+        else:
+            print('SN:{},未找到对应电池类型!!!'.format(sn))
+            continue
+            # sys.exit()
+        param=QX_BatteryParam.BatteryInfo(celltype) 
+        print(sn)    
+        #读取原始数据库数据........................................................................................................................................................
+        dbManager = DBManager.DBManager()
+        df_data = dbManager.get_data(sn=sn, start_time=start_time, end_time=end_time, data_groups=['bms'])
+        df_bms = df_data['bms']
+
+        #读取结果数据库数据........................................................................................................................................................
+        host='rm-bp10j10qy42bzy0q77o.mysql.rds.aliyuncs.com'
+        port=3306
+        db='qx_cas'
+        user='qx_read'
+        password='Qx@123456'
+        mode=1
+        tablename1='cellstateestimation_soh'
+        tablename2='cellstateestimation_uniform_socvoltdiff'       
+        #电池诊断................................................................................................................................................................
+        DBRead=DBDownload.DBDownload(host, port, db, user, password,mode)
+        with DBRead as DBRead:
+            df_soh=DBRead.getdata('time_st,sn,soh,cellsoh', tablename=tablename1, sn=sn, timename='time_sp', st=start_time, sp=end_time)
+            df_uniform=DBRead.getdata('time,sn,cellsoc_diff,cellmin_num,cellmax_num', tablename=tablename2, sn=sn, timename='time', st=start_time, sp=end_time)
+
+        #电池诊断................................................................................................................................................................
+        CellFltInfo=DataFrame(columns=['start_time', 'end_time', 'product_id', 'code', 'level', 'info','advice'])
+        df_Diag_Ram_sn = df_Diag_Ram.loc[df_Diag_Ram['product_id']==sn]#历史故障
+        df_Diag_Ram_sn_else = pd.concat([df_Diag_Ram,df_Diag_Ram_sn,df_Diag_Ram_sn]).drop_duplicates(subset=['product_id','code','start_time','Batpos','info'],keep=False)#sn之外的故障
+        CellFltInfo = df_Diag_Ram_sn.drop('Batpos',axis=1)
+        df_Diag_Ram_fix = df_Diag_Ram.loc[df_Diag_Ram['Batpos'] == 1]
+        df_Diag_Ram_unfix = df_Diag_Ram.loc[df_Diag_Ram['Batpos'] == 0]
+        if not df_bms.empty:
+            df_Diag_Batdiag_update_xq=SamplingSafty.main(sn,param,df_bms,CellFltInfo)#学琦计算故障   
+            BatDiag=CBMSBatDiag.BatDiag(sn,celltype,df_bms, df_soh, df_uniform, CellFltInfo)#鹏飞计算
+            df_Diag_Batdiag_update=BatDiag.diag() 
+            df_Diag_Cal_Update_add = pd.concat([CellFltInfo,df_Diag_Batdiag_update_xq,df_Diag_Batdiag_update])#重新计算的该SN下的故障
+            df_Diag_Cal_Update_temp = df_Diag_Cal_Update_add.drop_duplicates(subset=['product_id','start_time','end_time','code','info'], keep='first', inplace=False, ignore_index=False)#去除相同故障
+            df_Diag_cal_early_unfix = pd.DataFrame()
+            df_sn_car_fix = pd.DataFrame()
+            df_Diag_Cal_finish = pd.DataFrame()
+            df_Diag_cal_early_fix = pd.DataFrame()
+            if not df_Diag_Cal_Update_temp.empty:
+                #------------------------------合并两者故障,并将同一sn号下的车辆故障放一起----------------------------------------------
+                df_Diag_Cal_Update = df_Diag_Cal_Update_temp#替换上一行
+                df_Diag_Cal_finish = df_Diag_Cal_Update.loc[df_Diag_Cal_Update['end_time'] != '0000-00-00 00:00:00']
+                df_Diag_Cal_new = df_Diag_Cal_Update.loc[df_Diag_Cal_Update['end_time'] == '0000-00-00 00:00:00']
+                df_Diag_Cal_finish['Batpos'] = 1
+                df_Diag_Cal_new['Batpos'] = 0
+                df_feishu_sta = df_read_Yunw.loc[(df_read_Yunw['product_id'] == sn)]#飞书中该sn车辆状态
+                if df_feishu_sta.empty:
+                    df_Diag_cal_early_unfix = df_Diag_Cal_new#如果为新出故障,则直接记录在df_diag_frame中
+                else:
+                    df_Diag_cal_later = df_Diag_Cal_new.loc[df_Diag_Cal_new['start_time'] > max(df_feishu_sta['start_time'])]#故障表中故障时间晚于飞书记录时间
+                    df_Diag_cal_early = pd.concat([df_Diag_Cal_new,df_Diag_cal_later,df_Diag_cal_later]).drop_duplicates(subset=['product_id','code','start_time'],keep=False)#故障表中故障时间早于飞书记录时间
+                    df_feishu_sta_latest = df_feishu_sta.loc[df_feishu_sta['start_time'] == max(df_feishu_sta['start_time'])]#飞书中该SN下的最新故障
+                    df_feishu_diag_unfix = (df_feishu_sta_latest['advice'] == '需正常返仓') | (df_feishu_sta_latest['advice'] == '需紧急返仓')
+                    df_sn_car_unfix = pd.DataFrame()
+                    if any(df_feishu_diag_unfix):
+                        df_Diag_cal_early_unfix = df_Diag_Cal_new
+                    else:
+                        df_Diag_cal_early_fix = df_Diag_cal_early
+                        df_Diag_cal_early_unfix = df_Diag_cal_later
+                if not df_Diag_cal_early_fix.empty:
+                    df_Diag_cal_early_fix['Batpos'] = 1
+            df_Diag_Ram_Update = pd.concat([df_Diag_cal_early_unfix,df_Diag_cal_early_fix,df_Diag_Cal_finish])
+            df_Diag_Ram_Update.sort_values(by = ['start_time'], axis = 0, ascending=True,inplace=True)#对故障信息按照时间进行排序
+            df_temp5 = pd.concat([df_Diag_Ram_Update,df_Diag_Ram_sn_else])
+            df_Diag_Ram_sum = df_temp5.drop_duplicates(subset=['product_id','start_time','end_time','code','info'], keep='first', inplace=False, ignore_index=False)#去除相同故障
+            df_tempnum = df_Diag_Ram_sum.groupby(['product_id']).size()#获取每个sn的故障总数
+            col1 = df_tempnum[df_tempnum>1].reset_index()[['product_id']]#多故障sn号
+            col2 = df_tempnum[df_tempnum==1].reset_index()[['product_id']]#单故障sn号
+            df_temp1 = pd.DataFrame()
+            if not col1.empty:
+                for item in col1['product_id']:
+                    temp_data = df_Diag_Ram_sum.loc[df_Diag_Ram_sum['product_id'] == item]
+                    temp_data.sort_values(by = ['start_time'], axis = 0, ascending=True,inplace=True)#对故障信息按照时间进行排序
+                    df_temp1 = df_temp1.append(temp_data)
+            df_temp2 = pd.merge(col2,df_Diag_Ram_sum,on=["product_id"])#单故障码数据筛选
+            df_temp3 = pd.concat([df_temp1,df_temp2])#多故障及单故障合并
+            df_temp4 = df_temp3.reset_index(drop=True)
+            df_Diag_Ram = df_temp4
+            df_Diag_Ram_fix = df_Diag_Ram.loc[df_Diag_Ram['Batpos'] == 1]
+            df_Diag_Ram_unfix = df_Diag_Ram.loc[df_Diag_Ram['Batpos'] == 0]
+        if len(df_Diag_Ram) > 0:#历史及现有故障
+            df_Diag_Ram.to_csv(r'D:\Work\Code_write\data_analyze_platform\USER\01Screen_Problem\result.csv',index=False,encoding='GB18030')
+        if len(df_Diag_Ram_fix) > 0:#故障车辆已返仓
+            df_Diag_Ram_fix.to_csv(r'D:\Work\Code_write\data_analyze_platform\USER\01Screen_Problem\result_fix.csv',index=False,encoding='GB18030')
+        if len(df_Diag_Ram_unfix) > 0:#故障车辆未返仓
+            df_Diag_Ram_unfix.to_csv(r'D:\Work\Code_write\data_analyze_platform\USER\01Screen_Problemm\result_unfix.csv',index=False,encoding='GB18030')
+        end=time.time()
+        print(end-start)
+
+#...............................................主函数.......................................................................................................................
+if __name__ == "__main__":
+    global SNnums
+    
+    excelpath=r'D:\Work\Code_write\data_analyze_platform\USER\01Screen_Problem\sn-20210903.xlsx'
+    SNdata_6060 = pd.read_excel(excelpath, sheet_name='科易6060')
+    SNdata_6040 = pd.read_excel(excelpath, sheet_name='科易6040')
+    SNdata_4840 = pd.read_excel(excelpath, sheet_name='科易4840')
+    SNdata_L7255 = pd.read_excel(excelpath, sheet_name='格林美-力信7255')
+    SNdata_C7255 = pd.read_excel(excelpath, sheet_name='格林美-CATL7255')
+    SNdata_U7255 = pd.read_excel(excelpath, sheet_name='优旦7255')
+    SNnums_6060=SNdata_6060['SN号'].tolist()
+    SNnums_6040=SNdata_6040['SN号'].tolist()
+    SNnums_4840=SNdata_4840['SN号'].tolist()
+    SNnums_L7255=SNdata_L7255['SN号'].tolist()
+    SNnums_C7255=SNdata_C7255['SN号'].tolist()
+    SNnums_U7255=SNdata_U7255['SN号'].tolist()
+    #SNnums=SNnums_L7255 + SNnums_C7255 + SNnums_6040 + SNnums_4840 + SNnums_U7255+ SNnums_6060
+    # SNnums=['MGMCLN750N215I005','PK504B10100004341','PK504B00100004172','MGMLXN750N2189014']
+    SNnums = ['MGMLXN750N21B5004'] #SNnums_6040
+    
+    mylog=log.Mylog('log_diag.txt','error')
+    mylog.logcfg()
+    #............................模块运行前,先读取数据库中所有结束时间为0的数据,需要从数据库中读取................
+    result=pd.read_csv(r'D:\Work\Code_write\data_analyze_platform\USER\01Screen_Problem\result.csv',encoding='gbk')
+    
+    # df_Diag_Ram=result[result['end_time']=='0000-00-00 00:00:00']
+    df_Diag_Ram=result#[result['Batpos'] == 0]#将故障依然存在的赋值
+    print('----------------输入--------')
+    print(df_Diag_Ram)
+    print('-------计算中-----------')
+    #定时任务.......................................................................................................................................................................
+    scheduler = BlockingScheduler()
+    scheduler.add_job(diag_cal, 'interval', seconds=300, id='diag_job')
+
+    try:  
+        scheduler.start()
+    except Exception as e:
+        scheduler.shutdown()
+        print(repr(e))
+        mylog.logopt(e)

BIN
LIB/MIDDLE/SaftyCenter/diagfault/各项目sn号.xlsx


BIN
LIB/MIDDLE/SaftyCenter/diagfault/故障表头及数据类型.xlsx


+ 1947 - 0
LIB/MIDDLE/WinterCharging/V1_0_0/main.ipynb

@@ -0,0 +1,1947 @@
+{
+ "cells": [
+  {
+   "cell_type": "code",
+   "execution_count": 1,
+   "source": [
+    "\r\n",
+    "from LIB.BACKEND import DBManager\r\n",
+    "from LIB.MIDDLE.CellStateEstimation.Common import log\r\n",
+    "import datetime\r\n",
+    "import pandas as pd\r\n",
+    "import numpy as np\r\n",
+    "import os   \r\n",
+    "from DataPreProcessMGMC import DataPreProcess\r\n",
+    "\r\n",
+    "#log信息配置\r\n",
+    "mylog=log.Mylog('log.txt','error')\r\n",
+    "mylog.logcfg()\r\n",
+    "\r\n",
+    "dbManager = DBManager.DBManager()\r\n",
+    "dataSOH = pd.read_excel('sn-20210903.xlsx',sheet_name='MGMC')\r\n",
+    "fileNames = dataSOH['sn']\r\n",
+    "fileNames = list(fileNames)\r\n",
+    "\r\n",
+    "data_GMGC=pd.DataFrame()\r\n",
+    "for k in range(len(fileNames)):\r\n",
+    "    try:    \r\n",
+    "        sn = fileNames[k]\r\n",
+    "        df_data = dbManager.get_data(sn=sn, start_time='2021-10-28 00:00:00', end_time='2021-11-04 00:00:00', data_groups=['bms','gps'])\r\n",
+    "        data_bms = df_data['bms']\r\n",
+    "        data_gps = df_data['gps']\r\n",
+    "        df_merge=pd.merge(data_bms, data_gps,how='outer',sort=True)\r\n",
+    "        df_merge['sn']=sn\r\n",
+    "        df_sheetCat=DataPreProcess.data_split_by_status(DataPreProcess,df_merge, drive_interval_threshold=120, charge_interval_threshold=300, drive_stand_threshold=120, charge_stand_threshold=300)\r\n",
+    "        data_charge=df_sheetCat[df_sheetCat['data_status']=='charge']\r\n",
+    "        unique_status_idx=np.unique(data_charge.data_split_by_status.values)\r\n",
+    "        data_I3=pd.DataFrame()\r\n",
+    "        for n in unique_status_idx:\r\n",
+    "            df_charge_buff=data_charge[data_charge.data_split_by_status==n]\r\n",
+    "            list_I=df_charge_buff['总电流[A]'].values.tolist()[1:8]\r\n",
+    "            if((3 in list_I) and (df_charge_buff['总电流[A]'].value_counts()[3]>5)): \r\n",
+    "                data_I3=data_I3.append(df_charge_buff)\r\n",
+    "        data_GMGC=data_GMGC.append(data_I3)\r\n",
+    "        data_I3.to_csv('./result.csv', mode='a', header=None)\r\n",
+    "        \r\n",
+    "    except Exception as e:\r\n",
+    "        print(repr(e))\r\n",
+    "        mylog.logopt(sn,e)\r\n",
+    "        pass  \r\n",
+    "\r\n",
+    "\r\n"
+   ],
+   "outputs": [
+    {
+     "output_type": "stream",
+     "name": "stdout",
+     "text": [
+      "### start to get data MGMCLN750N215H001 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1104, gps_count is 1104, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215H002 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 48871, gps_count is 48871, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215H003 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 19558, gps_count is 19558, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215H004 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1312, gps_count is 1312, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215H005 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 25772, gps_count is 25772, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215H006 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 32373, gps_count is 32373, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215H007 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 0, gps_count is 0, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "IndexError('index 0 is out of bounds for axis 0 with size 0')\n",
+      "### start to get data MGMCLN750N215H008 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 36524, gps_count is 36524, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215H009 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 45377, gps_count is 45377, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215H010 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 3787, gps_count is 3787, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215H011 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1127, gps_count is 1127, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215H012 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 37174, gps_count is 37174, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215H013 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 37241, gps_count is 37241, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215H014 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 31706, gps_count is 31706, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215H015 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 35835, gps_count is 35835, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215H016 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 60298, gps_count is 60298, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I001 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 62134, gps_count is 62134, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I002 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1263, gps_count is 1263, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I003 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 33297, gps_count is 33297, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I004 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 6283, gps_count is 6283, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I005 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 34782, gps_count is 34782, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I006 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 51345, gps_count is 51345, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I007 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 28445, gps_count is 28445, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I008 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 54775, gps_count is 54776, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I009 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1232, gps_count is 1232, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I010 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 44674, gps_count is 44674, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I011 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1026, gps_count is 1026, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I012 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 27630, gps_count is 27630, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I013 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1060, gps_count is 1060, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I014 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 10035, gps_count is 10035, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I015 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1977, gps_count is 1977, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I016 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 30604, gps_count is 30604, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I017 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 30563, gps_count is 30563, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I018 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 3728, gps_count is 3728, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I019 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 16804, gps_count is 16804, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I020 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 38882, gps_count is 38882, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I021 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1312, gps_count is 1312, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I022 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 12583, gps_count is 12583, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I023 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 10047, gps_count is 10047, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I024 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 38583, gps_count is 38583, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I025 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 48116, gps_count is 48116, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I026 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 25821, gps_count is 25821, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I027 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 30496, gps_count is 30496, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I028 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 47464, gps_count is 47464, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I029 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 3398, gps_count is 3398, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I030 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 14284, gps_count is 14284, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I031 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 31194, gps_count is 31194, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I032 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 21636, gps_count is 21636, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I033 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 39783, gps_count is 39783, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I034 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 32968, gps_count is 32968, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I035 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 17597, gps_count is 17597, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I036 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1470, gps_count is 1470, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I037 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 6902, gps_count is 6902, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I038 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 50338, gps_count is 50338, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I039 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 44460, gps_count is 44460, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I040 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 24830, gps_count is 24830, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I041 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 32609, gps_count is 32609, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I042 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1159, gps_count is 1159, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I043 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 3134, gps_count is 3134, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I044 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 29682, gps_count is 29682, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I045 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 3217, gps_count is 3217, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I046 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1433, gps_count is 1433, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I047 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1441, gps_count is 1441, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I048 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 46007, gps_count is 46007, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I049 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 44572, gps_count is 44572, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I050 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 29576, gps_count is 29576, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I051 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1270, gps_count is 1270, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I052 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1219, gps_count is 1219, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I053 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1103, gps_count is 1103, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I054 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 36703, gps_count is 36703, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I055 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 26760, gps_count is 26760, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I056 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 28644, gps_count is 28644, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I057 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 38779, gps_count is 38779, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I058 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1269, gps_count is 1269, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I059 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 43312, gps_count is 43312, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I060 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 9676, gps_count is 9676, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I061 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1372, gps_count is 1372, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I062 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 46308, gps_count is 46308, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I063 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 16559, gps_count is 16559, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I064 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 40384, gps_count is 40384, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I065 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 21301, gps_count is 21301, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I066 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 0, gps_count is 0, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "IndexError('index 0 is out of bounds for axis 0 with size 0')\n",
+      "### start to get data MGMCLN750N215I067 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1135, gps_count is 1135, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I068 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 0, gps_count is 0, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "IndexError('index 0 is out of bounds for axis 0 with size 0')\n",
+      "### start to get data MGMCLN750N215I069 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1169, gps_count is 1169, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I070 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 17389, gps_count is 17389, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I071 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 16084, gps_count is 16084, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I072 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 43895, gps_count is 43895, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I073 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1341, gps_count is 1341, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I074 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 528, gps_count is 528, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I075 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 45429, gps_count is 45429, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I076 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 40165, gps_count is 40165, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I077 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1226, gps_count is 1226, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I078 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 0, gps_count is 0, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "IndexError('index 0 is out of bounds for axis 0 with size 0')\n",
+      "### start to get data MGMCLN750N215I079 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 28569, gps_count is 28569, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I080 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 52944, gps_count is 52944, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I081 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1092, gps_count is 1092, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I082 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 31392, gps_count is 31392, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I083 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1335, gps_count is 1335, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I084 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 39770, gps_count is 39770, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I085 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 10449, gps_count is 10449, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I086 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 54703, gps_count is 54703, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I087 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 16637, gps_count is 16637, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I088 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 14034, gps_count is 14034, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I089 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 16596, gps_count is 16596, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I090 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 23694, gps_count is 23694, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I091 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 61135, gps_count is 61136, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I092 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 18645, gps_count is 18645, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I093 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 21728, gps_count is 21728, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I094 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 3228, gps_count is 3228, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I095 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 40443, gps_count is 40443, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I096 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 6432, gps_count is 6432, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I097 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 37254, gps_count is 37254, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I098 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 33770, gps_count is 33770, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I099 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1059, gps_count is 1059, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I100 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 37959, gps_count is 37959, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I101 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 18223, gps_count is 18223, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I102 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 50508, gps_count is 50508, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I103 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 16708, gps_count is 16708, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I104 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1161, gps_count is 1161, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I105 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1258, gps_count is 1258, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I106 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 44026, gps_count is 44026, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I107 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 29850, gps_count is 29850, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I108 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 43478, gps_count is 43478, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I109 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 19177, gps_count is 19177, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I110 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 7455, gps_count is 7455, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I111 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 26699, gps_count is 26699, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I112 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1244, gps_count is 1244, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I113 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 21771, gps_count is 21771, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I114 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1242, gps_count is 1242, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I115 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 9846, gps_count is 9846, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I116 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 44513, gps_count is 44513, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I117 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 55948, gps_count is 55948, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I118 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 51996, gps_count is 51996, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I119 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 0, gps_count is 0, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "IndexError('index 0 is out of bounds for axis 0 with size 0')\n",
+      "### start to get data MGMCLN750N215I120 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 51542, gps_count is 51542, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I121 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 16501, gps_count is 16501, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I122 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1263, gps_count is 1263, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I123 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 4058, gps_count is 4058, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I124 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 13812, gps_count is 13812, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I125 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1078, gps_count is 1078, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I126 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1179, gps_count is 1179, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I127 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 7166, gps_count is 7166, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I128 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1385, gps_count is 1385, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I129 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 24930, gps_count is 24930, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I130 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 40866, gps_count is 40866, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I131 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 15228, gps_count is 15228, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I132 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 42108, gps_count is 42108, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I133 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 56550, gps_count is 56550, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215I134 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1117, gps_count is 1117, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215L001 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 14176, gps_count is 14176, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215L002 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1111, gps_count is 1111, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215L003 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 20281, gps_count is 20281, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215L004 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 49545, gps_count is 49545, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215L005 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 25500, gps_count is 25500, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215L006 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 9270, gps_count is 9270, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215L007 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1226, gps_count is 1226, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215L008 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 13011, gps_count is 13011, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N001 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 34318, gps_count is 34318, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N002 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 5206, gps_count is 5206, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N003 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 14023, gps_count is 14023, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N004 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 13921, gps_count is 13921, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N005 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 42830, gps_count is 42830, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N006 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 32410, gps_count is 32410, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N007 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 48434, gps_count is 48434, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N008 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 27976, gps_count is 27976, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N009 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1232, gps_count is 1232, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N010 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 24196, gps_count is 24196, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N011 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 9915, gps_count is 9915, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N012 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 22159, gps_count is 22159, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N013 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 60595, gps_count is 60595, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N015 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 18407, gps_count is 18407, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N016 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 8054, gps_count is 8054, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N017 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 33971, gps_count is 33971, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N018 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 55089, gps_count is 55089, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N019 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 39175, gps_count is 39175, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N020 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 40843, gps_count is 40843, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N021 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 40609, gps_count is 40609, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N022 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 8161, gps_count is 8161, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N023 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 56591, gps_count is 56591, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N024 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 27292, gps_count is 27292, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N025 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1288, gps_count is 1288, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N026 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-10-31 00:00:00 to 2021-11-01 00:00:00......... 'cellTempList'\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 43019, gps_count is 43022, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N027 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 8622, gps_count is 8622, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N028 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 3539, gps_count is 3539, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N029 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 50081, gps_count is 50081, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N030 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 37940, gps_count is 37940, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N031 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1096, gps_count is 1096, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N032 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1052, gps_count is 1052, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N033 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1309, gps_count is 1309, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N034 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 10291, gps_count is 10291, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N035 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 55154, gps_count is 55154, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N036 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1125, gps_count is 1125, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N037 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 38086, gps_count is 38086, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N038 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 7653, gps_count is 7653, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N039 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1249, gps_count is 1249, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N040 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 53029, gps_count is 53029, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N041 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 23753, gps_count is 23753, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N042 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 32030, gps_count is 32030, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N043 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 0, gps_count is 0, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "IndexError('index 0 is out of bounds for axis 0 with size 0')\n",
+      "### start to get data MGMCLN750N215N044 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1208, gps_count is 1208, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N045 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 27857, gps_count is 27857, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N046 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 42742, gps_count is 42742, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N047 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 23542, gps_count is 23543, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N048 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 22246, gps_count is 22246, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N049 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 18119, gps_count is 18119, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N050 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 38646, gps_count is 38646, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N051 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 2696, gps_count is 2696, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N052 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 51852, gps_count is 51852, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N053 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 55840, gps_count is 55840, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N054 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 6290, gps_count is 6290, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N055 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 42650, gps_count is 42650, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N056 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 35831, gps_count is 35831, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N057 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 48800, gps_count is 48800, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N058 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 44433, gps_count is 44433, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N059 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 25946, gps_count is 25946, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N060 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1283, gps_count is 1283, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N061 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 42013, gps_count is 42013, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N062 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1344, gps_count is 1344, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N063 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 28991, gps_count is 28991, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N064 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1193, gps_count is 1193, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N065 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 19454, gps_count is 19454, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N066 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 21080, gps_count is 21080, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N067 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 27704, gps_count is 27704, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N068 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 54705, gps_count is 54705, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N069 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 45133, gps_count is 45133, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N070 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 52868, gps_count is 52868, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N071 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 44519, gps_count is 44519, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N072 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 20938, gps_count is 20938, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N073 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 33997, gps_count is 33997, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N074 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 6387, gps_count is 6387, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N075 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 21559, gps_count is 21559, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N076 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 25958, gps_count is 25958, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N077 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 10054, gps_count is 10054, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N078 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-10-29 00:00:00 to 2021-10-30 00:00:00......... 'cellVoltageList'\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 7693, gps_count is 7696, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N079 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 33592, gps_count is 33592, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N080 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 41947, gps_count is 41947, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N081 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 50995, gps_count is 50995, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N082 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 28607, gps_count is 28607, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N083 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 40506, gps_count is 40506, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N084 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 50376, gps_count is 50376, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N085 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 26009, gps_count is 26009, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N086 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 39184, gps_count is 39184, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N087 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 17465, gps_count is 17465, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N088 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 52012, gps_count is 52012, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N089 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1344, gps_count is 1344, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N090 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 29876, gps_count is 29876, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N091 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 8958, gps_count is 8958, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N092 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1144, gps_count is 1144, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N093 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1246, gps_count is 1246, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N094 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 38922, gps_count is 38922, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N095 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 33527, gps_count is 33527, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N096 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 10212, gps_count is 10212, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N097 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 10730, gps_count is 10730, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N098 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 15825, gps_count is 15825, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N099 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 12553, gps_count is 12553, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N100 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 28779, gps_count is 28779, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N101 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 36319, gps_count is 36319, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N102 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 36515, gps_count is 36515, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N103 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 2423, gps_count is 2423, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N104 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 32179, gps_count is 32179, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N105 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 44844, gps_count is 44844, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N106 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 36389, gps_count is 36389, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N107 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 23939, gps_count is 23939, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N108 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 45387, gps_count is 45387, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N109 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 33808, gps_count is 33808, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N110 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 36247, gps_count is 36247, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N111 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 46213, gps_count is 46213, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N112 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 16308, gps_count is 16308, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N113 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 36673, gps_count is 36673, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N114 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 22023, gps_count is 22023, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N115 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 42752, gps_count is 42752, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N116 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 0, gps_count is 0, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "IndexError('index 0 is out of bounds for axis 0 with size 0')\n",
+      "### start to get data MGMCLN750N215N117 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 24697, gps_count is 24697, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N118 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 38469, gps_count is 38469, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N119 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 43266, gps_count is 43266, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N120 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 16865, gps_count is 16865, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N121 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1104, gps_count is 1104, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N122 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 28672, gps_count is 28672, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N123 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 28843, gps_count is 28843, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N124 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 30691, gps_count is 30691, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N125 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 26177, gps_count is 26177, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N126 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 41933, gps_count is 41933, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N127 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 30177, gps_count is 30177, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N128 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 43749, gps_count is 43749, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N129 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 36242, gps_count is 36242, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N130 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 50785, gps_count is 50785, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N131 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 13856, gps_count is 13856, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N132 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 10919, gps_count is 10919, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N133 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 47084, gps_count is 47084, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N134 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 46365, gps_count is 46365, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N135 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1245, gps_count is 1245, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N136 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 42805, gps_count is 42805, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N137 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 31199, gps_count is 31199, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N138 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 25812, gps_count is 25812, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N139 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 26808, gps_count is 26808, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N140 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 3876, gps_count is 3876, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N141 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1107, gps_count is 1107, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N142 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 9684, gps_count is 9684, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N143 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 24400, gps_count is 24400, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N144 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1260, gps_count is 1260, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N145 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 30899, gps_count is 30899, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N146 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 36636, gps_count is 36636, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N147 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 35180, gps_count is 35180, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N148 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 40236, gps_count is 40236, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N149 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 7177, gps_count is 7177, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N150 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 24856, gps_count is 24856, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N151 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 14833, gps_count is 14833, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N152 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 56629, gps_count is 56629, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N153 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1229, gps_count is 1229, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N154 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 24708, gps_count is 24708, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N155 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1288, gps_count is 1288, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N156 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 11902, gps_count is 11902, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N157 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 31374, gps_count is 31374, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N158 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 21316, gps_count is 21316, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N159 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 35915, gps_count is 35915, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N160 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 36939, gps_count is 36939, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N161 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 58661, gps_count is 58661, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N162 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 35629, gps_count is 35629, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N163 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 53709, gps_count is 53709, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N164 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 36295, gps_count is 36295, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N165 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1026, gps_count is 1026, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N166 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1206, gps_count is 1206, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N167 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 39040, gps_count is 39040, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N168 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 12158, gps_count is 12158, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N169 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 38396, gps_count is 38396, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N170 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1751, gps_count is 1751, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N171 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 3862, gps_count is 3862, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N172 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 23760, gps_count is 23760, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N173 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 19016, gps_count is 19016, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N174 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 32288, gps_count is 32288, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N175 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 24060, gps_count is 24060, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N176 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1076, gps_count is 1076, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N177 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 59634, gps_count is 59634, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N178 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 472, gps_count is 472, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N179 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1182, gps_count is 1182, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N180 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 21006, gps_count is 21006, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N181 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 8126, gps_count is 8126, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N182 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 11378, gps_count is 11378, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N183 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 23295, gps_count is 23295, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N184 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1364, gps_count is 1364, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N185 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 5012, gps_count is 5012, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N186 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 37299, gps_count is 37299, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N187 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 17529, gps_count is 17529, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N188 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 41306, gps_count is 41306, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N189 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 35099, gps_count is 35099, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N190 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 54662, gps_count is 54662, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N191 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 6786, gps_count is 6786, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N192 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 17101, gps_count is 17101, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N193 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 22736, gps_count is 22736, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N194 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 12579, gps_count is 12579, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N195 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 29513, gps_count is 29513, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N196 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 21996, gps_count is 21996, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N197 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 20109, gps_count is 20109, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N198 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 37346, gps_count is 37346, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N199 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 42018, gps_count is 42018, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N200 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 22349, gps_count is 22349, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N201 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 40036, gps_count is 40036, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N202 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 37326, gps_count is 37326, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N203 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 513, gps_count is 513, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N204 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 50098, gps_count is 50098, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N205 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1073, gps_count is 1073, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N206 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 51438, gps_count is 51438, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N207 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 7247, gps_count is 7247, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N208 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 52957, gps_count is 52957, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N209 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 27133, gps_count is 27133, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N210 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 50549, gps_count is 50549, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N211 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 27652, gps_count is 27652, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N212 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 35572, gps_count is 35572, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N213 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1094, gps_count is 1094, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N214 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 21882, gps_count is 21882, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N215 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 10269, gps_count is 10269, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N216 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 40223, gps_count is 40223, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N217 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 42418, gps_count is 42418, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N218 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 21033, gps_count is 21033, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N219 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 3286, gps_count is 3286, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N220 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 16492, gps_count is 16492, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N221 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 40753, gps_count is 40753, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N222 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1305, gps_count is 1305, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N223 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 25350, gps_count is 25350, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N224 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1263, gps_count is 1263, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N225 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 28378, gps_count is 28378, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N226 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 49495, gps_count is 49495, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N227 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 32731, gps_count is 32731, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N228 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 3696, gps_count is 3696, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N229 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1299, gps_count is 1299, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N230 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1304, gps_count is 1304, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N231 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 30648, gps_count is 30648, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N232 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 23247, gps_count is 23247, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N233 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1174, gps_count is 1174, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N234 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1258, gps_count is 1258, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N235 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 5974, gps_count is 5974, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N236 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 39709, gps_count is 39709, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N237 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 45384, gps_count is 45384, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N238 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 31172, gps_count is 31172, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N239 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 54369, gps_count is 54369, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N240 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 37279, gps_count is 37280, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N241 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 43748, gps_count is 43748, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N242 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 42780, gps_count is 42780, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N243 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 9988, gps_count is 9988, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N244 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 4214, gps_count is 4214, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N245 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 40476, gps_count is 40476, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N246 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 60457, gps_count is 60457, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N247 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 49223, gps_count is 49223, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N248 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 48130, gps_count is 48130, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N249 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 47641, gps_count is 47641, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N250 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 41514, gps_count is 41514, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N251 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 45235, gps_count is 45235, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N252 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1247, gps_count is 1247, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N253 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 3745, gps_count is 3745, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N254 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 45182, gps_count is 45182, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N255 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 56849, gps_count is 56849, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N256 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 18175, gps_count is 18175, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N257 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 33893, gps_count is 33893, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N258 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1219, gps_count is 1219, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N259 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 8595, gps_count is 8595, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N260 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 0, gps_count is 0, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "IndexError('index 0 is out of bounds for axis 0 with size 0')\n",
+      "### start to get data MGMCLN750N215N261 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 21038, gps_count is 21038, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N262 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 36929, gps_count is 36929, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N263 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 50068, gps_count is 50068, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N264 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 19959, gps_count is 19959, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N265 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 5662, gps_count is 5662, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N266 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 14799, gps_count is 14799, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N267 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 15490, gps_count is 15490, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N268 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 41713, gps_count is 41713, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N269 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 19337, gps_count is 19337, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N270 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 16552, gps_count is 16552, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N271 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1063, gps_count is 1063, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N272 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 12537, gps_count is 12537, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N273 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 44072, gps_count is 44072, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N274 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 21809, gps_count is 21809, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N275 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 52156, gps_count is 52156, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N276 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1091, gps_count is 1091, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N277 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 62873, gps_count is 62873, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N278 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 25194, gps_count is 25194, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N279 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 25958, gps_count is 25958, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N280 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1310, gps_count is 1310, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N281 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 27331, gps_count is 27331, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N282 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 56373, gps_count is 56373, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N283 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1270, gps_count is 1270, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N284 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 56745, gps_count is 56745, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N285 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 22864, gps_count is 22864, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N286 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 2341, gps_count is 2341, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N287 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 0, gps_count is 0, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "IndexError('index 0 is out of bounds for axis 0 with size 0')\n",
+      "### start to get data MGMCLN750N215N288 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 17721, gps_count is 17721, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N289 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 55913, gps_count is 55913, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N290 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 52796, gps_count is 52796, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N291 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 66067, gps_count is 66067, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N292 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 49231, gps_count is 49231, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N293 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1272, gps_count is 1272, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N294 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1183, gps_count is 1183, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N295 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 56473, gps_count is 56473, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N296 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 38297, gps_count is 38297, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N297 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 49614, gps_count is 49614, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N298 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 29160, gps_count is 29160, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N299 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 0, gps_count is 0, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "IndexError('index 0 is out of bounds for axis 0 with size 0')\n",
+      "### start to get data MGMCLN750N215N300 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 22575, gps_count is 22575, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N301 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 1196, gps_count is 1196, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N302 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 20357, gps_count is 20357, system_count is 0, accum_count is 0 \n",
+      "\n",
+      "### start to get data MGMCLN750N215N303 from 2021-10-28 00:00:00 to 2021-11-04 00:00:00\n",
+      "# get data from 2021-11-03 00:00:00 to 2021-11-04 00:00:00......... \n",
+      "all data-getting done, bms_count is 5145, gps_count is 5145, system_count is 0, accum_count is 0 \n",
+      "\n"
+     ]
+    }
+   ],
+   "metadata": {}
+  },
+  {
+   "cell_type": "code",
+   "execution_count": null,
+   "source": [],
+   "outputs": [],
+   "metadata": {}
+  }
+ ],
+ "metadata": {
+  "orig_nbformat": 4,
+  "language_info": {
+   "name": "python",
+   "version": "3.8.10",
+   "mimetype": "text/x-python",
+   "codemirror_mode": {
+    "name": "ipython",
+    "version": 3
+   },
+   "pygments_lexer": "ipython3",
+   "nbconvert_exporter": "python",
+   "file_extension": ".py"
+  },
+  "kernelspec": {
+   "name": "python3",
+   "display_name": "Python 3.8.10 64-bit (conda)"
+  },
+  "interpreter": {
+   "hash": "69976922f58704918d459eb5dccc4a4074095a997db3fffa9f9946bbc3807710"
+  }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 2
+}

+ 2 - 4
LIB/MIDDLE/WinterCharging/V1_0_1/Data_Analyse2.py

@@ -18,7 +18,6 @@ fileNames = list(fileNames)
 
 data_GMGC=[]
 for k in range(len(fileNames)):
-
     try:    
         sn = fileNames[k]
         df_data = dbManager.get_data(sn=sn, start_time='2021-10-15 00:00:00', end_time='2021-11-06 00:00:00', data_groups='bms')
@@ -103,9 +102,8 @@ for k in range(len(fileNames)):
 
         data_select.to_csv('data'+sn+'.csv')
 
-    data_GMGC.append(data_select)
-    data_GMGC.to_csv('dataGMGC.csv')
-
+        data_GMGC.append(data_select)
+        data_GMGC.to_csv('dataGMGC.csv')
 
     except Exception as e:
         print(repr(e))

File diff suppressed because it is too large
+ 149 - 0
LIB/MIDDLE/WinterCharging/V1_0_1/main.ipynb


BIN
df_file.xlsx


Some files were not shown because too many files changed in this diff