| |
Methods defined here:
- __init__(self)
- Initialize self. See help(type(self)) for accurate signature.
- cal_distance(self, latitude1, longitude1, latitude2, longitude2, radius=6371)
- 输入两个地点的经纬度,输出两点间的距离
- data_download(self, write_path='', sn='', start_time='', end_time='', data_groups=['bms', 'gps'])
- 数据下载函数
--------------输入参数------------
write_path: 文件保存路径,不需要指定文件名
sn: str, 电池sn号
start_time: str, 开始时间
end_time: str, 结束时间
gps_switch: True:获取gps数据; False:不获取gps数据
mode: 0:正常取数; 1:7255 取数
--------------输出参数------------
bms_data: 获取到的bms数据
gps_data: 获取到的gps数据
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|