From 3a7da032ec18b2d5d36afb3fd9622c7d763257b7 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期三, 17 十一月 2021 13:05:06 +0800 Subject: [PATCH] 1. 将用电量接口返回的参数动态化 --- src/main/kotlin/com/flightfeather/uav/lightshare/service/RealTimeDataService.kt | 12 +++++++++++- 1 files changed, 11 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 de198db..3da6d86 100644 --- a/src/main/kotlin/com/flightfeather/uav/lightshare/service/RealTimeDataService.kt +++ b/src/main/kotlin/com/flightfeather/uav/lightshare/service/RealTimeDataService.kt @@ -10,7 +10,7 @@ interface RealTimeDataService { - fun getSecondData(deviceCode: String?, startTime: String?, endTime: String?, page: Int?, perPage: Int?): BaseResponse<List<DataVo>> + fun getSecondData(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>> @@ -25,4 +25,14 @@ * 鍘婚櫎鍘熷鏁版嵁涓殑寮傚父娉㈠姩鍊� */ fun dataPreprocessing(): BaseResponse<String> + + /** + * 鍧囧�艰绠楋紝灏嗙绾у�兼崲绠椾负鍒嗛挓鍧囧�� + */ + fun averageData(): BaseResponse<String> + + /** + * 鏁版嵁浼樺寲锛屽湪鏁版嵁棰勫鐞嗗熀纭�涓婂仛杩涗竴姝ユ暟鎹紭鍖� + */ + fun dataCalibration(): BaseResponse<String> } \ No newline at end of file -- Gitblit v1.9.3