Jelajahi Sumber

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

qingfeng 2 tahun lalu
induk
melakukan
453b7613cb

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

@@ -217,8 +217,8 @@ class BatParam:
             self.PeakCellVolt=[3.362,3.363,3.365,3.366,3.367]
             self.PackCrntDec=1
             self.BalCurrent=0.015
-            self.LookTab_SOC = [0.00, 	2.40, 	6.38, 	10.37, 	14.35, 	18.33, 	22.32, 	26.30, 	30.28, 	35.26, 	40.24, 	45.22, 	50.20, 	54.19, 	58.17, 	60.16, 	65.14, 	70.12, 	75.10, 	80.08, 	84.06, 	88.05, 	92.03, 	96.02, 	100.00]
-            self.LookTab_OCV = [2.7151,	3.0298,	3.1935,	3.2009,	3.2167,	3.2393,	3.2561,	3.2703,	3.2843,	3.2871,	3.2874,	3.2868,	3.2896,	3.2917,	3.2967,	3.3128,	3.3283,	3.3286,	3.3287,	3.3288,	3.3289,	3.3296,	3.3302,	3.3314,	3.3429]
+            self.LookTab_SOC = [0.00, 	2.40, 	6.38, 	10.37, 	14.35, 	18.33, 	22.32, 	26.30, 	30.28, 	35.26, 	40.24, 	45.22, 	50.20, 	54.19, 	58.17, 	60.16, 	65.14, 	70.12, 	75.10, 	80.08, 	84.06, 	88.05, 	92.03, 	96.02, 	100.00, 105]
+            self.LookTab_OCV = [2.7151,	3.0298,	3.1935,	3.2009,	3.2167,	3.2393,	3.2561,	3.2703,	3.2843,	3.2871,	3.2874,	3.2868,	3.2896,	3.2917,	3.2967,	3.3128,	3.3283,	3.3286,	3.3287,	3.3288,	3.3289,	3.3296,	3.3302,	3.3314,	3.3429, 3.6]
 
             self.CellOvLv1=3.68
             self.CellOvLv2=3.7

+ 25 - 25
LIB/MIDDLE/SaftyCenter/Low_Soc_Alarm/low_soc_alarm.py

@@ -7,29 +7,29 @@ import datetime,time
 
 class Low_soc_alarm():
     def low_soc_alarm(param,df_bms,low_soc_bat_list,sn,df_OprtnSta):
-        if len(df_bms) and df_OprtnSta.loc[0,'status'] !=3:#0禁用 1正常 2故障 3返修 4 损毁 5丢失已赔偿,6丢失未赔偿:
-            VoltageNum=['单体电压'+str(i) for i in range(1,param.CellVoltNums+1)]
-            df_bms[VoltageNum]=df_bms[VoltageNum]/1000
-            CellVol=df_bms[VoltageNum]
-            PackCrnt=df_bms['总电流[A]']
-            ZeroCrntCount=len(df_bms[abs(df_bms['总电流[A]'])<=1])
-            CrntCount=len(PackCrnt)-ZeroCrntCount
-            if CrntCount>0:
-                ZeroCrntRate=(ZeroCrntCount/len(PackCrnt))*100
-            else:
-                ZeroCrntRate=100
-            if ZeroCrntRate>99.85:#静置比大于99.85%
-                ZeroSoc_Volt=np.interp(0,param.LookTab_SOC,param.LookTab_OCV)
-                FiveSoc_Volt=np.interp(10,param.LookTab_SOC,param.LookTab_OCV)
-                CellVolMean=DataFrame()
-                CellVolMean=CellVol.mean()
-                CellVolMin_Index=CellVolMean.idxmin()
-                print(ZeroSoc_Volt)
-                CellLowVolZERO=df_bms[df_bms[CellVolMin_Index] < ZeroSoc_Volt]
-                CellLowVolFive=df_bms[df_bms[CellVolMin_Index] > FiveSoc_Volt]
-                CellLowVolZeroCrnt=CellLowVolZERO[abs(CellLowVolZERO['总电流[A]'])<1]
-                CellLowVolFiveCrnt=CellLowVolFive[abs(CellLowVolFive['总电流[A]'])<1]
-                if len(CellLowVolZeroCrnt)>3 and len(CellLowVolFiveCrnt)<3:
-                    CellLowVolZeroCrnt=CellLowVolZeroCrnt.reset_index(drop=True)
-                    low_soc_bat_list.loc[len(low_soc_bat_list)]=[sn,CellLowVolZeroCrnt.loc[len(CellLowVolZeroCrnt)-1,'时间戳'],3]
+        #if len(df_bms) and df_OprtnSta.loc[0,'status'] !=3:#0禁用 1正常 2故障 3返修 4 损毁 5丢失已赔偿,6丢失未赔偿:
+        VoltageNum=['单体电压'+str(i) for i in range(1,param.CellVoltNums+1)]
+        df_bms[VoltageNum]=df_bms[VoltageNum]/1000
+        CellVol=df_bms[VoltageNum]
+        PackCrnt=df_bms['总电流[A]']
+        ZeroCrntCount=len(df_bms[abs(df_bms['总电流[A]'])<=1])
+        CrntCount=len(PackCrnt)-ZeroCrntCount
+        if CrntCount>0:
+            ZeroCrntRate=(ZeroCrntCount/len(PackCrnt))*100
+        else:
+            ZeroCrntRate=100
+        if ZeroCrntRate>99.85:#静置比大于99.85%
+            ZeroSoc_Volt=np.interp(0,param.LookTab_SOC,param.LookTab_OCV)
+            FiveSoc_Volt=np.interp(10,param.LookTab_SOC,param.LookTab_OCV)
+            CellVolMean=DataFrame()
+            CellVolMean=CellVol.mean()
+            CellVolMin_Index=CellVolMean.idxmin()
+            print(ZeroSoc_Volt)
+            CellLowVolZERO=df_bms[df_bms[CellVolMin_Index] < ZeroSoc_Volt]
+            CellLowVolFive=df_bms[df_bms[CellVolMin_Index] > FiveSoc_Volt]
+            CellLowVolZeroCrnt=CellLowVolZERO[abs(CellLowVolZERO['总电流[A]'])<1]
+            CellLowVolFiveCrnt=CellLowVolFive[abs(CellLowVolFive['总电流[A]'])<1]
+            if len(CellLowVolZeroCrnt)>3 and len(CellLowVolFiveCrnt)<3:
+                CellLowVolZeroCrnt=CellLowVolZeroCrnt.reset_index(drop=True)
+                low_soc_bat_list.loc[len(low_soc_bat_list)]=[sn,CellLowVolZeroCrnt.loc[len(CellLowVolZeroCrnt)-1,'时间戳'],3]
         return low_soc_bat_list

+ 3 - 2
LIB/MIDDLE/SaftyCenter/Low_Soc_Alarm/low_soc_alarm_sta.py

@@ -6,7 +6,7 @@ from sqlalchemy.orm import sessionmaker
 from urllib import parse
 import pymysql
 
-def low_soc_alarm_sta(db_qxcas_engine, conn, db_sp_engine):
+def low_soc_alarm_sta(df_sns, db_qxcas_engine, conn, db_sp_engine):
     
     cursor = conn.cursor()
 
@@ -35,7 +35,8 @@ def low_soc_alarm_sta(db_qxcas_engine, conn, db_sp_engine):
     now = datetime.datetime.now()
     for sn in sn_new:
         df = df_lowsocalarm_lastday[df_lowsocalarm_lastday['sn']==sn]
-        df_new = df_new.append({'add_time':now, 'product_id':sn, 'start_time':df['time'].values[0], 'end_time':'0000-00-00 00:00:00', 'info':"低电量报警", 'code':58, 'level':1}, ignore_index=True)
+        factory = df_sns[df_sns['sn']==sn]['factory'].values[0]
+        df_new = df_new.append({'add_time':now, 'product_id':sn, 'factory':factory, 'start_time':df['time'].values[0], 'end_time':'0000-00-00 00:00:00', 'info':"低电量报警", 'code':58, 'level':1}, ignore_index=True)
     if not df_new.empty:
         df_new.to_sql('all_fault_info', db_sp_engine, if_exists='append', index=False)
 

+ 3 - 2
LIB/MIDDLE/SaftyCenter/Offline/offline_alarm_sta.py

@@ -7,7 +7,7 @@ from urllib import parse
 import pymysql
 
 
-def offline_alarm_sta(db_iotp_engine, db_qxcas_engine, conn, db_sp_engine):
+def offline_alarm_sta(df_sns, db_iotp_engine, db_qxcas_engine, conn, db_sp_engine):
 
     cursor = conn.cursor()
     sql = "select sn, DATE_FORMAT(add_time, '%Y-%m-%d %H:%i:%s') as time, level, last_time from offline_info where add_time >= DATE_FORMAT( DATE_SUB(CURDATE(), INTERVAL 0 DAY), '%Y-%m-%d 00:00:00')"+ \
@@ -33,7 +33,8 @@ def offline_alarm_sta(db_iotp_engine, db_qxcas_engine, conn, db_sp_engine):
         df = df_offlinealarm_lastday[df_offlinealarm_lastday['sn']==sn]
         sql = "select * from ff_battery_status where devcode = '{}'".format(sn)
         df_on = pd.read_sql(sql, db_iotp_engine)
-        df_new = df_new.append({'add_time':now, 'product_id':sn, 'start_time':pd.to_datetime(df_on['status_time'].values[0]), 'end_time':'0000-00-00 00:00:00', 'info':'离线报警','code':59, 'level':1}, ignore_index=True)
+        factory = df_sns[df_sns['sn']==sn]['factory'].values[0]
+        df_new = df_new.append({'add_time':now, 'product_id':sn, 'factory':factory, 'start_time':pd.to_datetime(df_on['status_time'].values[0]), 'end_time':'0000-00-00 00:00:00', 'info':'离线报警','code':59, 'level':1}, ignore_index=True)
     if not df_new.empty:
         df_new.to_sql('all_fault_info', db_sp_engine, if_exists='append', index=False)
 

+ 21 - 12
LIB/MIDDLE/SaftyCenter/StatusSta/V1_0_0/status_sta.py

@@ -3,25 +3,34 @@ import pandas as pd
 from LIB.BACKEND import DataPreProcess
 
 
-def status_sta(df_bms, df_gps, start_time, charge_count, drive_count, stand_count):
+def status_sta(df_bms, df_gps, start_time, charge_count, drive_count, stand_count, factory='骑享'):
     dataPrePro = DataPreProcess.DataPreProcess()
     if not df_bms.empty:
-    # 时间完全相同的数据仅保留一行
-        df_bms_pro, df_gps_pro = dataPrePro.time_filter(df_bms, df_gps)
+        if factory == '骑享':
+        # 时间完全相同的数据仅保留一行
+            df_bms_pro, df_gps_pro = dataPrePro.time_filter(df_bms, df_gps)
 
-        # bms数据按照电流和状态分段, 然后在状态分段内部,根据时间跳变继续分段(解决段内数据丢失)
+            # bms数据按照电流和状态分段, 然后在状态分段内部,根据时间跳变继续分段(解决段内数据丢失)
 
-        df_bms_pro = dataPrePro.data_split_by_status(df_bms_pro)
-        df_bms_pro = dataPrePro.data_split_by_time(df_bms_pro)
+            df_bms_pro = dataPrePro.data_split_by_status(df_bms_pro)
+            df_bms_pro = dataPrePro.data_split_by_time(df_bms_pro)
 
-        if 'charge' in df_bms_pro['data_status'].tolist():
-            charge_count = charge_count + 1
-        elif 'drive' in df_bms_pro['data_status'].tolist():
-            drive_count = drive_count + 1
-        else:
-            stand_count = stand_count + 1
+            if 'charge' in df_bms_pro['data_status'].tolist():
+                charge_count = charge_count + 1
+            elif 'drive' in df_bms_pro['data_status'].tolist():
+                drive_count = drive_count + 1
+            else:
+                stand_count = stand_count + 1
+        elif factory == '金茂':
+            if 4 in df_bms['充电状态'].tolist():
+                charge_count = charge_count + 1
+            elif 3 in df_bms['充电状态'].tolist() or 5 in df_bms['充电状态'].tolist():
+                drive_count = drive_count + 1
+            else:
+                stand_count = stand_count + 1
     else:
         stand_count = stand_count + 1
+                
 
     return charge_count, drive_count, stand_count
     

+ 127 - 808
LIB/MIDDLE/SaftyCenter/StatusSta/main.ipynb

@@ -9,805 +9,37 @@
      "name": "stdout",
      "output_type": "stream",
      "text": [
-      "### start to get data PK504B10100004341 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 8, gps_count is 0, system_count is 0, accum_count is 0 \n",
+      "### start to get data TJMCL120502305010 from 2021-12-09 10:00:00 to 2021-12-09 11:00:00\n",
+      "# get data from 2021-12-09 10:00:00 to 2021-12-09 11:00:00......... \n",
+      "all data-getting done, bms_count is 244, gps_count is 248, system_count is 0, accum_count is 0 \n",
       "\n",
-      "### start to get data PK504B10100004342 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 0, gps_count is 0, system_count is 0, accum_count is 0 \n",
+      "### start to get data TJMCL120502305012 from 2021-12-09 10:00:00 to 2021-12-09 11:00:00\n",
+      "# get data from 2021-12-09 10:00:00 to 2021-12-09 11:00:00......... \n",
+      "all data-getting done, bms_count is 191, gps_count is 192, system_count is 0, accum_count is 0 \n",
       "\n",
-      "### start to get data PK504B10100004344 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 0, gps_count is 0, system_count is 0, accum_count is 0 \n",
+      "### start to get data TJMCL120502305048 from 2021-12-09 10:00:00 to 2021-12-09 11:00:00\n",
+      "# get data from 2021-12-09 10:00:00 to 2021-12-09 11:00:00......... \n",
+      "all data-getting done, bms_count is 107, gps_count is 108, system_count is 0, accum_count is 0 \n",
       "\n",
-      "### start to get data PK504B10100004345 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 204, gps_count is 88, system_count is 0, accum_count is 0 \n",
+      "### start to get data TJMCL120502305044 from 2021-12-09 10:00:00 to 2021-12-09 11:00:00\n",
+      "# get data from 2021-12-09 10:00:00 to 2021-12-09 11:00:00......... \n",
+      "all data-getting done, bms_count is 156, gps_count is 161, system_count is 0, accum_count is 0 \n",
       "\n",
-      "### start to get data PK504B10100004346 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 0, gps_count is 0, system_count is 0, accum_count is 0 \n",
+      "### start to get data TJMCL120502305026 from 2021-12-09 10:00:00 to 2021-12-09 11:00:00\n",
+      "# get data from 2021-12-09 10:00:00 to 2021-12-09 11:00:00......... \n",
+      "all data-getting done, bms_count is 225, gps_count is 227, system_count is 0, accum_count is 0 \n",
       "\n",
-      "### start to get data PK504B10100004347 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 4, gps_count is 0, system_count is 0, accum_count is 0 \n",
+      "### start to get data TJMCL120502305022 from 2021-12-09 10:00:00 to 2021-12-09 11:00:00\n",
+      "# get data from 2021-12-09 10:00:00 to 2021-12-09 11:00:00......... \n",
+      "all data-getting done, bms_count is 239, gps_count is 248, system_count is 0, accum_count is 0 \n",
       "\n",
-      "### start to get data PK504B10100004349 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 7, gps_count is 0, system_count is 0, accum_count is 0 \n",
+      "### start to get data TJMCL120502305032 from 2021-12-09 10:00:00 to 2021-12-09 11:00:00\n",
+      "# get data from 2021-12-09 10:00:00 to 2021-12-09 11:00:00......... \n",
+      "all data-getting done, bms_count is 162, gps_count is 169, system_count is 0, accum_count is 0 \n",
       "\n",
-      "### start to get data PK504B10100004350 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 2, gps_count is 0, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004351 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK504B10100004352 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 328, gps_count is 163, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004353 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK504B10100004354 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK504B10100004355 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 188, gps_count is 93, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004356 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 10, gps_count is 0, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004357 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 60, gps_count is 0, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004358 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK504B10100004359 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 45, gps_count is 12, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004360 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 2, gps_count is 0, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004361 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 182, gps_count is 89, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004362 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 10, gps_count is 0, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004363 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 339, gps_count is 166, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004364 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 130, gps_count is 62, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004365 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK504B10100004366 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 323, gps_count is 158, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004367 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK504B10100004368 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK504B10100004369 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 10, gps_count is 0, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004370 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 60, gps_count is 0, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004371 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 10, gps_count is 0, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004372 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 10, gps_count is 0, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004373 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK504B10100004374 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK504B10100004376 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 75, gps_count is 34, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004377 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 77, gps_count is 17, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004378 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK504B10100004379 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 114, gps_count is 54, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004380 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK504B10100004381 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 60, gps_count is 0, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004383 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK504B10100004384 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK504B10100004385 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK504B10100004386 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 10, gps_count is 0, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004387 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 9, gps_count is 0, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004390 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 4, gps_count is 0, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004391 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK504B10100004392 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK504B10100004393 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 268, gps_count is 134, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004394 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 10, gps_count is 0, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004395 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 166, gps_count is 83, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004396 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 173, gps_count is 85, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004397 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 10, gps_count is 4, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004398 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 10, gps_count is 0, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004399 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK504B10100004400 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK504B10100004401 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK504B10100004402 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK504B10100004403 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 10, gps_count is 0, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004404 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 150, gps_count is 70, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004405 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 60, gps_count is 0, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data MGMLXN750N2189031 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK504B10100004406 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK504B10100004407 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK504B10100004408 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 9, gps_count is 0, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004409 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 84, gps_count is 40, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004410 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 3, gps_count is 0, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004411 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK504B10100004412 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK504B10100004413 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 7, gps_count is 0, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004414 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK504B10100004415 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 14, gps_count is 6, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004416 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 10, gps_count is 2, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004417 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 80, gps_count is 40, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004418 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK504B10100004419 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK504B10100004420 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 147, gps_count is 61, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data MGMLXN750N218B019 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 120, gps_count is 122, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004421 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 66, gps_count is 0, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004422 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK504B10100004423 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 55, gps_count is 0, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004424 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK504B10100004425 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 353, gps_count is 77, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004426 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 9, gps_count is 0, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004427 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 10, gps_count is 0, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004428 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK504B10100004429 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 139, gps_count is 68, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004430 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 10, gps_count is 0, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004431 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 10, gps_count is 0, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004432 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK504B10100004433 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 341, gps_count is 167, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004434 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 239, gps_count is 109, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004435 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 10, gps_count is 2, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004436 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 134, gps_count is 62, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004437 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 10, gps_count is 0, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data K504B10100004438 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 10, gps_count is 0, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004439 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 10, gps_count is 0, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004441 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK504B10100004442 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK504B10100004443 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK504B10100004444 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK504B10100004445 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK504B10100004446 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK504B10100004447 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK504B10100004448 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 10, gps_count is 0, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004449 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 8, gps_count is 3, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004450 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 10, gps_count is 0, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004451 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 9, gps_count is 0, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004452 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK504B10100004453 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 5, gps_count is 0, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004454 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 8, gps_count is 0, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004455 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK504B10100004456 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK504B10100004457 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 339, gps_count is 169, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004458 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 60, gps_count is 0, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004459 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 60, gps_count is 19, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004460 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 60, gps_count is 0, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004461 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 319, gps_count is 40, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004462 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 262, gps_count is 0, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004463 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 3, gps_count is 0, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004464 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK504B10100004465 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 352, gps_count is 176, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004468 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 58, gps_count is 27, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004469 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 52, gps_count is 14, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004470 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 10, gps_count is 0, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004471 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 10, gps_count is 3, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004472 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 10, gps_count is 0, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004473 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK504B10100004474 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 63, gps_count is 29, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004475 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 59, gps_count is 29, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004476 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK504B10100004477 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 4, gps_count is 0, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004478 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 10, gps_count is 4, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004479 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 10, gps_count is 0, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004480 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 85, gps_count is 41, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004481 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 53, gps_count is 25, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004482 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK504B10100004483 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 229, gps_count is 73, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004484 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK504B10100004485 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK504B10100004486 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 58, gps_count is 0, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004487 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 10, gps_count is 0, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004488 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 214, gps_count is 29, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004489 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK504B10100004490 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 304, gps_count is 0, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004491 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 4, gps_count is 0, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004492 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 227, gps_count is 4, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004493 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 10, gps_count is 4, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004494 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 10, gps_count is 0, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004495 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK504B10100004496 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 93, gps_count is 47, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004497 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 10, gps_count is 4, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004498 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 88, gps_count is 0, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004499 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 60, gps_count is 7, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK504B10100004500 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 323, gps_count is 158, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data PK505B00100004166 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK50301A000001018 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data PK50301A000001029 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data MGMLXN750N218C011 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 36, gps_count is 32, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data MGMLXN750N2189029 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 361, gps_count is 121, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data MGMLXN750N21AC017 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 111, gps_count is 101, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data UD02030118B4C0001 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 178, gps_count is 178, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data UD02030118B4C0012 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 6, gps_count is 6, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data MGMCLN750N215I034 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 75, gps_count is 75, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data MGMCLN750N215I035 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 12, gps_count is 12, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data MGMCLN750N215I036 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 7, gps_count is 7, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data MGMCLN750N215I037 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 6, gps_count is 6, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data MGMCLN750N215I038 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 6, gps_count is 6, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data MGMLXN750N21AC029 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 119, gps_count is 119, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data MGMCLN750N215I039 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 190, gps_count is 190, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data MGMCLN750N215I040 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 6, gps_count is 6, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data MGMCLN750N215I041 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 315, gps_count is 315, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data MGMCLN750N215I042 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 6, gps_count is 6, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data MGMCLN750N215I043 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 7, gps_count is 7, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data UD02030118B4C0013 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 346, gps_count is 346, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data MGMCLN750N215I044 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 12, gps_count is 12, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data MGMCLN750N215I045 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 173, gps_count is 173, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data MGMCLN750N215I046 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 6, gps_count is 6, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data MGMCLN750N215I047 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 10, gps_count is 10, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data MGMCLN750N215I048 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 360, gps_count is 360, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data MGMCLN750N215I049 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 360, gps_count is 360, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data MGMCLN750N215I050 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 6, gps_count is 6, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data MGMCLN750N215I051 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 6, gps_count is 6, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data MGMCLN750N215I052 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 8, gps_count is 8, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data MGMCLN750N215I053 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 8, gps_count is 8, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data UD02030118B4C0014 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 239, gps_count is 239, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data MGMCLN750N215I054 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 131, gps_count is 131, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data MGMCLN750N215I055 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 12, gps_count is 12, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data MGMCLN750N215I056 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 360, gps_count is 360, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data MGMCLN750N215I057 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 316, gps_count is 316, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data MGMCLN750N215I058 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 8, gps_count is 8, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data MGMCLN750N215I059 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 361, gps_count is 361, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data MGMCLN750N215I060 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 6, gps_count is 6, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data MGMCLN750N215I061 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 9, gps_count is 9, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data MGMCLN750N215I062 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 12, gps_count is 12, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data MGMCLN750N215I063 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 6, gps_count is 6, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data UD02030118B4C0015 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data MGMCLN750N215I064 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 171, gps_count is 171, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data MGMCLN750N215I065 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 12, gps_count is 12, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data MGMCLN750N215I066 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23: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",
-      "### start to get data MGMCLN750N215I067 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 6, gps_count is 6, system_count is 0, accum_count is 0 \n",
-      "\n",
-      "### start to get data MGMCLN750N215I068 from 2021-11-07 22:00:00 to 2021-11-07 23:00:00\n",
-      "# get data from 2021-11-07 22:00:00 to 2021-11-07 23:00:00......... \n",
-      "all data-getting done, bms_count is 0, gps_count is 0, system_count is 0, accum_count is 0 \n",
+      "### start to get data TJMCL120502305038 from 2021-12-09 10:00:00 to 2021-12-09 11:00:00\n",
+      "# get data from 2021-12-09 10:00:00 to 2021-12-09 11:00:00......... \n",
+      "all data-getting done, bms_count is 6, gps_count is 18, system_count is 0, accum_count is 0 \n",
       "\n"
      ]
     }
@@ -824,17 +56,32 @@
     "import V1_0_0.status_sta as status_sta\n",
     "dataPrePro = DataPreProcess.DataPreProcess()\n",
     "\n",
+    "\n",
+    "# 更新sn列表\n",
     "host='rm-bp10j10qy42bzy0q7.mysql.rds.aliyuncs.com'\n",
     "port=3306\n",
     "db='qixiang_oss'\n",
-    "user='qixiang_oss'\n",
-    "password='Qixiang2021'\n",
+    "user='qx_algo_rw'\n",
+    "password='qx@123456'\n",
     "conn = pymysql.connect(host=host, port=port, user=user, password=password, database=db)\n",
     "cursor = conn.cursor()\n",
-    "cursor.execute(\"select sn, imei, add_time from app_device\")\n",
+    "cursor.execute(\"select sn, imei, add_time from app_device where status in (1,2,3)\")\n",
     "res = cursor.fetchall()\n",
     "df_sn = pd.DataFrame(res, columns=['sn', 'imei', 'add_time'])\n",
     "df_sn = df_sn.reset_index(drop=True)\n",
+    "cursor.close()\n",
+    "conn.close()\n",
+    "df_sn['factory'] = '骑享'\n",
+    "\n",
+    "db = 'qx_cas'\n",
+    "conn = pymysql.connect(host=host, port=port, user=user, password=password, database=db)\n",
+    "cursor = conn.cursor()\n",
+    "cursor.execute(\"select sn, factory from sn_list\")\n",
+    "res = cursor.fetchall()\n",
+    "df_sn2 = pd.DataFrame(res, columns=['sn', 'factory'])\n",
+    "df_sn2['imei'] = \"\"\n",
+    "df_sn = pd.concat([df_sn, df_sn2], axis=0)\n",
+    "df_sn = df_sn.reset_index(drop=True)\n",
     "\n",
     "now_time = datetime.datetime.now()\n",
     "pre_time = now_time + dateutil.relativedelta.relativedelta(hours=-1)#上个月时间\n",
@@ -845,14 +92,20 @@
     "charge_count = 0\n",
     "drive_count = 0\n",
     "stand_count = 0\n",
-    "for sn in df_sn['sn'].tolist()[0:200]:\n",
+    "charge_count_jinmao = 0\n",
+    "drive_count_jinmao = 0\n",
+    "stand_count_jinmao = 0\n",
+    "for sn in df_sn['sn'].tolist():\n",
+    "    if 'TJMCL'in sn: # 金茂\n",
+    "        df_data = dbManager.get_data(sn=sn, start_time=start_time, end_time=end_time, data_groups=['bms', 'gps'])\n",
+    "        # \n",
+    "        df_bms = df_data['bms']\n",
+    "        df_gps = df_data['gps']\n",
+    "        factory = '金茂'\n",
+    "        charge_count_jinmao, drive_count_jinmao, stand_count_jinmao = status_sta.status_sta(df_bms, df_gps, start_time, charge_count_jinmao, drive_count_jinmao, stand_count_jinmao, factory)\n",
+    "# df_result = pd.DataFrame({'factory':['骑享'], 'time':[start_time], 'charge_count':[charge_count], 'drive_count':[drive_count], 'stand_count':stand_count})\n",
+    "df_result = pd.DataFrame({'factory':['金茂'], 'time':[start_time], 'charge_count':[charge_count_jinmao], 'drive_count':[drive_count_jinmao], 'stand_count':stand_count_jinmao})\n",
     "\n",
-    "    df_data = dbManager.get_data(sn=sn, start_time=start_time, end_time=end_time, data_groups=['bms', 'gps'])\n",
-    "    # \n",
-    "    df_bms = df_data['bms']\n",
-    "    df_gps = df_data['gps']\n",
-    "    charge_count, drive_count, stand_count = status_sta.status_sta(df_bms, df_gps, start_time, charge_count, drive_count, stand_count)\n",
-    "df_result = pd.DataFrame({'factory':['骑享'], 'time':[start_time], 'charge_count':[charge_count], 'drive_count':[drive_count], 'stand_count':stand_count})\n",
     "\n",
     "    "
    ]
@@ -893,11 +146,11 @@
        "  <tbody>\n",
        "    <tr>\n",
        "      <th>0</th>\n",
-       "      <td>骑享</td>\n",
-       "      <td>2021-11-07 22:00:00</td>\n",
-       "      <td>19</td>\n",
-       "      <td>18</td>\n",
-       "      <td>163</td>\n",
+       "      <td>金茂</td>\n",
+       "      <td>2021-12-09 10:00:00</td>\n",
+       "      <td>0</td>\n",
+       "      <td>7</td>\n",
+       "      <td>1</td>\n",
        "    </tr>\n",
        "  </tbody>\n",
        "</table>\n",
@@ -905,7 +158,7 @@
       ],
       "text/plain": [
        "  factory                 time  charge_count  drive_count  stand_count\n",
-       "0      骑享  2021-11-07 22:00:00            19           18          163"
+       "0      金茂  2021-12-09 10:00:00             0            7            1"
       ]
      },
      "execution_count": 2,
@@ -917,6 +170,72 @@
     "df_result"
    ]
   },
+  {
+   "cell_type": "code",
+   "execution_count": 6,
+   "metadata": {},
+   "outputs": [
+    {
+     "data": {
+      "text/plain": [
+       "[0, 0, 0, 0, 0, 0]"
+      ]
+     },
+     "execution_count": 6,
+     "metadata": {},
+     "output_type": "execute_result"
+    }
+   ],
+   "source": [
+    "df_bms['充电状态'].tolist()"
+   ]
+  },
+  {
+   "cell_type": "code",
+   "execution_count": 13,
+   "metadata": {},
+   "outputs": [
+    {
+     "data": {
+      "text/plain": [
+       "False"
+      ]
+     },
+     "execution_count": 13,
+     "metadata": {},
+     "output_type": "execute_result"
+    }
+   ],
+   "source": [
+    "4 in df_bms['充电状态'].tolist()"
+   ]
+  },
+  {
+   "cell_type": "code",
+   "execution_count": 11,
+   "metadata": {},
+   "outputs": [
+    {
+     "data": {
+      "text/plain": [
+       "0    0\n",
+       "1    0\n",
+       "2    0\n",
+       "3    0\n",
+       "4    0\n",
+       "5    0\n",
+       "Name: 充电状态, dtype: object"
+      ]
+     },
+     "execution_count": 11,
+     "metadata": {},
+     "output_type": "execute_result"
+    }
+   ],
+   "source": [
+    "df_bms['充电状态']"
+   ]
+  },
   {
    "cell_type": "code",
    "execution_count": null,