feiyu02
2025-05-08 9a9a27f185bc0cf9dc0001cfc6839e6d13dbccd9
src/main/kotlin/com/flightfeather/uav/biz/dataanalysis/exceptiontype/ExceptionDataExceed.kt
@@ -9,6 +9,7 @@
/**
 * 数据超标异常分析
 */
@Deprecated("原超标判定逻辑设定的超标值有漏洞,")
class ExceptionDataExceed(config: DataAnalysisConfig) : BaseExceptionContinuousSingle(config) {
    override fun getExceptionType(): ExceptionType = ExceptionType.TYPE2
@@ -25,16 +26,6 @@
            }
            res[f] = bool
        }
//        repeat(config.factorCount) { i ->
//            val data = n.getByFactorIndex(i)
//            val limit = config.exceptionSetting.getByFactorIndex(i)
//            val bool = if (data != null && limit != null) {
//                data >= limit
//            } else {
//                false
//            }
//            res.add(bool)
//        }
        return res
    }