From 2de612e9b260df2e76d4dd620ca739aa3b6e8c57 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期一, 25 八月 2025 16:07:16 +0800 Subject: [PATCH] 2025.8.25 1. 添加走航季度报告相关统计功能(待完成) --- src/main/kotlin/com/flightfeather/uav/biz/report/MissionSummary.kt | 18 +++++++++++++++--- 1 files changed, 15 insertions(+), 3 deletions(-) diff --git a/src/main/kotlin/com/flightfeather/uav/biz/report/MissionSummary.kt b/src/main/kotlin/com/flightfeather/uav/biz/report/MissionSummary.kt index a3926fd..beb76d5 100644 --- a/src/main/kotlin/com/flightfeather/uav/biz/report/MissionSummary.kt +++ b/src/main/kotlin/com/flightfeather/uav/biz/report/MissionSummary.kt @@ -1,10 +1,13 @@ package com.flightfeather.uav.biz.report +import org.springframework.stereotype.Component + /** * 璧拌埅浠诲姟姹囨�� * @date 2025/8/22 * @author feiyu02 */ +@Component class MissionSummary { inner class Summary( @@ -14,8 +17,17 @@ val kilometres: Double, // 娑夊強鍖哄煙 val regionList: List<String>, - // 鍚勭瓑绾х┖姘旇川閲忚儗鏅蛋鑸鏁� - val countByDegree: MutableMap<String, Int>, - + // 鍚勭瓑绾х┖姘旇川閲忚儗鏅蛋鑸鏁�,<绌烘皵璐ㄩ噺绛夌骇锛屾鏁帮紝鍗犳瘮> + val countByDegree: List<Triple<String, Int, Double>>, + // 闂鎬绘暟 + val probCount:Int, + // 楂橀闄╁満鏅�绘暟 + val highRiskSceneCount:Int, + // 闂鎸夌洃娴嬪洜瀛愮被鍨嬪垎甯冩儏鍐�, <鍥犲瓙绫诲瀷锛屾鏁帮紝鍗犳瘮> + val probByFactor:List<Triple<String, Int, Double>> ) + + fun execute() { + + } } \ No newline at end of file -- Gitblit v1.9.3