| | |
| | | package com.flightfeather.uav.biz.sourcetrace.exceptiontype |
| | | |
| | | import com.flightfeather.uav.biz.FactorFilter |
| | | import com.flightfeather.uav.biz.dataanalysis.model.ExceptionType |
| | | import com.flightfeather.uav.biz.sourcetrace.RealTimeAnalysisConfig |
| | | import com.flightfeather.uav.common.utils.MapUtil |
| | |
| | | * @date 2025/5/13 |
| | | * @author feiyu02 |
| | | */ |
| | | class RealTimeExceptionValueMutation : RealTimeExceptionContinuous { |
| | | class RealTimeExceptionValueMutation : BaseRealTimeException { |
| | | |
| | | constructor(config: RealTimeAnalysisConfig) : super(config) |
| | | |
| | |
| | | } |
| | | |
| | | override fun judgeExceptionCount(tag: Tag): Boolean { |
| | | // 首个数据没有前一个数据参照,不算异常值,最后一个数据是判断结束的正常值,因此异常数据个数的计算下标为sIndex和eIndex |
| | | // 首个数据没有前一个数据参照,不算异常值,最后一个数据是判断结束的正常值,因此异常数据个数的计算下标为sIndex和eIndex - 1 |
| | | val sIndex = tag.sIndex |
| | | val eIndex = tag.eIndex - 1 |
| | | |