riku
2019-09-05 28b10b7255483c8e2eb5e3e828f8cda658e94c44
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.obd.repository
 
import com.flightfeather.obd.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?
 
}