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/repository/DataStreamRepository.kt |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/main/kotlin/com/flightfeather/obd/repository/DataStreamRepository.kt b/src/main/kotlin/com/flightfeather/obd/repository/DataStreamRepository.kt
index 45a2dcb..9f2df62 100644
--- a/src/main/kotlin/com/flightfeather/obd/repository/DataStreamRepository.kt
+++ b/src/main/kotlin/com/flightfeather/obd/repository/DataStreamRepository.kt
@@ -1,5 +1,6 @@
 package com.flightfeather.obd.repository
 
+import com.flightfeather.obd.domain.entity.DataStream
 import com.flightfeather.obd.lightshare.bean.DataStreamVo
 import com.flightfeather.obd.lightshare.bean.LatLngVo
 import com.flightfeather.obd.socket.bean.ObdPackageData
@@ -21,7 +22,12 @@
     fun getDataStream(deviceCode: String, pageNum: Int?, pageSize: Int?, startTime: String?, endTime: String?): List<DataStreamVo>
 
     /**
-     * 鏍规嵁缁堢璁惧鐮佽幏鍙栨渶鏂扮粡绾害
+     * 鏍规嵁缁堢璁惧鐮佽幏鍙栨暟鎹祦鏁版嵁璁℃暟
      */
-    fun getCoordinate(deviceCode: String): LatLngVo
+    fun getDataStreamCount(deviceCode: String, startTime: String?, endTime: String?): Int
+
+    /**
+     * 鑾峰彇涓�杈嗚溅鏈�鏂扮殑涓�鏉$姸鎬佷俊鎭�
+     */
+    fun getLatestDataStream(deviceCode: String): DataStream?
 }
\ No newline at end of file

--
Gitblit v1.9.3