riku
2019-09-23 14ce5d2ccfae554497763da846ffb9eb39cd6d34
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
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 getCoordinate(deviceCode: String): LatLngVo
 
}