From 1f356649ce536b19b903d6f3a533983d4b8222bc Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期五, 25 十月 2019 18:16:39 +0800 Subject: [PATCH] 新增接口: 1. 获取所有设备的最新一条数据 新增数据库表: 1. 车辆信息表 --- src/main/kotlin/com/flightfeather/obd/lightshare/service/ObdDataService.kt | 44 +++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 43 insertions(+), 1 deletions(-) diff --git a/src/main/kotlin/com/flightfeather/obd/lightshare/service/ObdDataService.kt b/src/main/kotlin/com/flightfeather/obd/lightshare/service/ObdDataService.kt index 41865b5..dbcd2e2 100644 --- a/src/main/kotlin/com/flightfeather/obd/lightshare/service/ObdDataService.kt +++ b/src/main/kotlin/com/flightfeather/obd/lightshare/service/ObdDataService.kt @@ -1,6 +1,6 @@ package com.flightfeather.obd.lightshare.service -import com.flightfeather.obd.lightshare.bean.ObdDataVo +import com.flightfeather.obd.lightshare.bean.* /** * @author riku @@ -8,6 +8,48 @@ */ 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> + + /** + * 鏍规嵁缁堢璁惧鐮佽幏鍙杘bd鏁版嵁 + */ + 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 + + /** + * 鑾峰彇鏈�鏂扮殑杞﹁締鍧愭爣淇℃伅 + */ + fun getLatestCoordinate(pageNum: Int?, pageSize: Int?): List<LatLngVo> + + /** + * 鏍规嵁缁堢璁惧鐮佸強鏃堕棿娈碉紝缁欏嚭姝ゆ鏃堕棿鍐呯殑鍧愭爣 + */ + //TODO } \ No newline at end of file -- Gitblit v1.9.3