From 29383149f7040d89ae00ad48dc48bbcf46587946 Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期一, 01 九月 2025 17:32:53 +0800 Subject: [PATCH] 2025.9.1 1. 新增走航任务统计功能(待完成) --- src/main/kotlin/com/flightfeather/uav/biz/dataanalysis/exceptiontype/ExceptionDataExceed.kt | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/src/main/kotlin/com/flightfeather/uav/biz/dataanalysis/exceptiontype/ExceptionDataExceed.kt b/src/main/kotlin/com/flightfeather/uav/biz/dataanalysis/exceptiontype/ExceptionDataExceed.kt index 05265fc..babc0c4 100644 --- a/src/main/kotlin/com/flightfeather/uav/biz/dataanalysis/exceptiontype/ExceptionDataExceed.kt +++ b/src/main/kotlin/com/flightfeather/uav/biz/dataanalysis/exceptiontype/ExceptionDataExceed.kt @@ -16,6 +16,8 @@ class ExceptionDataExceed(config: DataAnalysisConfig) : BaseExceptionContinuousSingle<ExceptionTag, DataAnalysisConfig, ExceptionResult>(config, ExceptionTag::class.java) { + override var judgeMethod: JudgeMethod = JudgeMethod.M2 + override fun getExceptionType(): ExceptionType = ExceptionType.TYPE2 override fun judgeException(p: BaseRealTimeData?, n: BaseRealTimeData): MutableMap<FactorType, Boolean> { @@ -42,4 +44,12 @@ return ExceptionResult(tag.startData!!, tag.endData, factor, tag.exceptionData, config.mission.missionCode, eType) } + + override fun newResult(exceptions: List<Pair<FactorFilter.SelectedFactor, ExceptionTag>>): ExceptionResult { + return ExceptionResult() + } + + override fun onNewResult(result: List<ExceptionResult>) { + TODO("Not yet implemented") + } } \ No newline at end of file -- Gitblit v1.9.3