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
| package com.flightfeather.uav.repository
|
| import com.flightfeather.uav.lightshare.bean.ObdDataVo
| import com.flightfeather.uav.socket.bean.ObdPackageData
|
| /**
| * obd数据相关数据库操作接口
| * @author riku
| * Date: 2019/8/27
| */
| interface ObdDataRepository {
|
| /**
| * 存储obd数据
| */
| fun saveObdData(data: ObdDataVo): Boolean
|
| /**
| * 通过汽车vin码获取最新数据
| */
| fun getDataByVinCode(vinCode: String?, pageNum: Int?, pageSize: Int?): MutableList<ObdDataVo>
|
| fun saveObdData(packageData: ObdPackageData):Boolean
|
| }
|
|