From b10c22af595bd995e56946bff63b8f2f984b13e8 Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期四, 14 八月 2025 17:25:05 +0800
Subject: [PATCH] 2025.8.14 1. 动态溯源模块添加滑动平均异常计算(调试中)

---
 src/main/kotlin/com/flightfeather/uav/lightshare/service/RealTimeDataService.kt |   18 +++++++++++++++++-
 1 files changed, 17 insertions(+), 1 deletions(-)

diff --git a/src/main/kotlin/com/flightfeather/uav/lightshare/service/RealTimeDataService.kt b/src/main/kotlin/com/flightfeather/uav/lightshare/service/RealTimeDataService.kt
index c7fb767..af71e21 100644
--- a/src/main/kotlin/com/flightfeather/uav/lightshare/service/RealTimeDataService.kt
+++ b/src/main/kotlin/com/flightfeather/uav/lightshare/service/RealTimeDataService.kt
@@ -10,15 +10,26 @@
 
 interface RealTimeDataService {
 
-    fun getSecondData(deviceCode: String?, startTime: String?, endTime: String?, type: Int?, page: Int?, perPage: Int?): BaseResponse<List<DataVo>>
+    fun getSecondData(
+        deviceType: String?, deviceCode: String?, startTime: String?, endTime: String?, type: Int?,
+        page: Int?, perPage: Int?,
+    ): BaseResponse<List<DataVo>>
 
     fun getNextData(deviceCode: String, updateTime: String, page: Int?, perPage: Int?): BaseResponse<List<DataVo>>
 
+    fun getSegmentData(missionCode: String): List<List<DataVo>>
+
     fun importData(file: MultipartFile): BaseResponse<DataImportResult>
+
+    fun importJinanData(code:String, file: MultipartFile): DataImportResult
+
+    fun downloadTemplate(response: HttpServletResponse): Boolean
 
     fun outToWorkbook(deviceCode: String, startTime: String, endTime: String): SXSSFWorkbook
 
     fun outToExcel(deviceCode: String, startTime: String, endTime: String, response: HttpServletResponse): HttpServletResponse
+
+    fun getOriginData(deviceCode: String?, startTime: String?, endTime: String?, page: Int?, perPage: Int?): BaseResponse<List<DataVo>>
 
     /**
      * 鏁版嵁澶勭悊
@@ -30,4 +41,9 @@
      * 鍧囧�艰绠楋紝灏嗙绾у�兼崲绠椾负鍒嗛挓鍧囧��
      */
     fun averageData(): BaseResponse<String>
+
+    /**
+     * 鏁版嵁浼樺寲锛屽湪鏁版嵁棰勫鐞嗗熀纭�涓婂仛杩涗竴姝ユ暟鎹紭鍖�
+     */
+    fun dataCalibration(): BaseResponse<String>
 }
\ No newline at end of file

--
Gitblit v1.9.3