feiyu02
2024-06-28 d2d71a6bc8e445ee60b7be2667676138e277d676
src/main/kotlin/com/flightfeather/uav/biz/dataanalysis/BaseExceptionContinuousSingle.kt
@@ -11,7 +11,8 @@
    override fun onNextData(data: BaseRealTimeData) {
        val isContinue = isContinuous(lastData, data)
        val hasException = judgeException(lastData, data)
        config.factorFilter.mainList().forEach {f->
        config.factorFilter.selectedList.forEach {s->
            val f = s.main
            tagMap[f]?.let {
                it.eIndex++
                if (lastData == null) {
@@ -19,7 +20,7 @@
                }
                // 判断相邻数据是否连续并且是否满足异常判断
                if (!isContinue) {
                    checkResult()
                    checkResult(s)
                    it.sIndex = it.eIndex
                    it.startData = data
                } else {
@@ -31,7 +32,7 @@
                        }
                        it.existException = true
                    } else {
                        checkResult()
                        checkResult(s)
                    }
                }
            }