From 7a99e45c445b48e599adfb948350d0c9d22f441f Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期二, 09 十一月 2021 11:59:25 +0800 Subject: [PATCH] 1. 添加车载走航动态校准功能 2. 添加网格化数据校准功能 3. 添加网格化数据分钟均值转换功能(待完成) --- src/main/kotlin/com/flightfeather/uav/lightshare/service/RealTimeDataService.kt | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 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 d00d43c..0608e28 100644 --- a/src/main/kotlin/com/flightfeather/uav/lightshare/service/RealTimeDataService.kt +++ b/src/main/kotlin/com/flightfeather/uav/lightshare/service/RealTimeDataService.kt @@ -1,9 +1,33 @@ package com.flightfeather.uav.lightshare.service import com.flightfeather.uav.lightshare.bean.BaseResponse +import com.flightfeather.uav.lightshare.bean.DataImportResult import com.flightfeather.uav.lightshare.bean.DataVo +import org.apache.poi.hssf.usermodel.HSSFWorkbook +import org.apache.poi.xssf.streaming.SXSSFWorkbook +import org.springframework.web.multipart.MultipartFile +import javax.servlet.http.HttpServletResponse interface RealTimeDataService { fun getSecondData(deviceCode: String?, startTime: String?, endTime: String?, page: Int?, perPage: Int?): BaseResponse<List<DataVo>> + + fun getNextData(deviceCode: String, updateTime: String, page: Int?, perPage: Int?): BaseResponse<List<DataVo>> + + fun importData(file: MultipartFile): BaseResponse<DataImportResult> + + fun outToWorkbook(deviceCode: String, startTime: String, endTime: String): SXSSFWorkbook + + fun outToExcel(deviceCode: String, startTime: String, endTime: String, response: HttpServletResponse): HttpServletResponse + + /** + * 鏁版嵁澶勭悊 + * 鍘婚櫎鍘熷鏁版嵁涓殑寮傚父娉㈠姩鍊� + */ + fun dataPreprocessing(): BaseResponse<String> + + /** + * 鍧囧�艰绠楋紝灏嗙绾у�兼崲绠椾负鍒嗛挓鍧囧�� + */ + fun averageData(): BaseResponse<String> } \ No newline at end of file -- Gitblit v1.9.3