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
| package com.flightfeather.uav.repository
|
| import com.flightfeather.uav.lightshare.bean.ThresholdValueVo
|
| /**
| * obd警报阈值相关数据库操作接口
| * @author riku
| * Date: 2019/9/5
| */
| interface ObdThresholdValueRepository {
|
| /**
| * 存储阈值
| */
| fun save(userId: String, thresholdValueVo: ThresholdValueVo): Boolean
|
| /**
| * 更新阈值
| */
| fun update(userId: String, thresholdValueVo: ThresholdValueVo): Boolean
|
| /**
| * 通过汽车vin码获取阈值数据
| */
| fun getByVinCode(vinCode: String): ThresholdValueVo?
|
| }
|
|