From 57b3b0851b2144073522a43640c2acc9452e1719 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期三, 30 十月 2019 14:52:34 +0800 Subject: [PATCH] 新增接口: 1. 获取车辆轨迹 --- src/main/kotlin/com/flightfeather/obd/lightshare/service/ObdDataService.kt | 46 +++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 45 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 2df9280..51d6d79 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 @@ -13,4 +13,48 @@ */ 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 + + /** + * 鏍规嵁缁堢璁惧鐮佷互鍙婃椂闀縯 鑾峰彇t涔嬪墠鍒扮幇鍦ㄧ殑鎵�鏈夎建杩瑰潗鏍� + */ + fun getTrack(deviceCode: String, startTime: String, endTime: String): List<LatLngVo> + + /** + * 鑾峰彇鏈�鏂扮殑杞﹁締鍧愭爣淇℃伅 + */ + fun getLatestCoordinate(pageNum: Int?, pageSize: Int?): List<LatLngVo> + + /** + * 鏍规嵁缁堢璁惧鐮佸強鏃堕棿娈碉紝缁欏嚭姝ゆ鏃堕棿鍐呯殑鍧愭爣 + */ + //TODO } \ No newline at end of file -- Gitblit v1.9.3