From fb1dc85a9ae6a9b8426ec5e29eb0139933ebe233 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期日, 29 九月 2019 11:22:24 +0800 Subject: [PATCH] 新增接口: 1. 获取某设备某时间段的数据流个数 --- src/main/kotlin/com/flightfeather/obd/lightshare/service/ObdDataService.kt | 35 ++++++++++++++++++++++++++++++++++- 1 files changed, 34 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..00d5915 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,37 @@ */ 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 + + /** + * 鏍规嵁缁堢璁惧鐮佸強鏃堕棿娈碉紝缁欏嚭姝ゆ鏃堕棿鍐� + */ } \ No newline at end of file -- Gitblit v1.9.3