riku
2019-10-30 57b3b0851b2144073522a43640c2acc9452e1719
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
package com.flightfeather.obd.lightshare.service
 
import com.flightfeather.obd.lightshare.bean.*
 
/**
 * @author riku
 * Date: 2019/8/27
 */
interface ObdDataService {
 
    /**
     * 根据vin码获取对应数据
     */
    fun getDataByVinCode(vinCode: String, pageNum: Int?, pageSize: Int?): MutableList<ObdDataVo>
 
    /**
     * 根据终端设备码获取登录数据
     */
    fun getLoginData(deviceCode: String, pageNum: Int?, pageSize: Int?, startTime: String?, endTime: String?): List<CarLoginVo>
 
    /**
     * 根据终端设备码获取登出数据
     */
    fun getLogoutData(deviceCode: String, pageNum: Int?, pageSize: Int?, startTime: String?, endTime: String?): List<CarLogoutVo>
 
    /**
     * 根据终端设备码获取obd数据
     */
    fun getObdInfo(deviceCode: String, pageNum: Int?, pageSize: Int?): List<ObdInfoVo>
 
    /**
     * 根据终端设备码获取数据流数据
     */
    fun getDataStream(deviceCode: String, pageNum: Int?, pageSize: Int?, startTime: String?, endTime: String?): List<DataStreamVo>
 
    /**
     * 根据终端设备码获取数据流数据计数
     */
    fun getDataStreamCount(deviceCode: String, startTime: String?, endTime: String?): Int
 
    /**
     * 根据终端设备码获取最新经纬度
     */
    fun getCoordinate(deviceCode: String): LatLngVo
 
    /**
     * 根据终端设备码以及时长t 获取t之前到现在的所有轨迹坐标
     */
    fun getTrack(deviceCode: String, startTime: String, endTime: String): List<LatLngVo>
 
    /**
     * 获取最新的车辆坐标信息
     */
    fun getLatestCoordinate(pageNum: Int?, pageSize: Int?): List<LatLngVo>
 
    /**
     * 根据终端设备码及时间段,给出此段时间内的坐标
     */
    //TODO
}