Riku
2025-07-13 37d47c6a7ab0f454b948b68c987146b261117993
src/main/kotlin/com/flightfeather/uav/biz/sourcetrace/exceptiontype/RealTimeExceptionValueMutation.kt
@@ -15,6 +15,7 @@
 * @date 2025/5/13
 * @author feiyu02
 */
@Deprecated("2025.5.29, 逻辑与业务不匹配,后续删除")
class RealTimeExceptionValueMutation : BaseRealTimeException<ExceptionTag> {
    constructor(config: RealTimeAnalysisConfig) : super(config, ExceptionTag::class.java)
@@ -52,7 +53,7 @@
        return res
    }
    override fun judgeExceptionCount(tag: ExceptionTag): Boolean {
    override fun judgeExceptionCount(tag: ExceptionTag, factorType: FactorType?): Boolean {
        val count = tag.exceptionData.size
        val b1 = special && count >= (config.mutationNum / 2)
@@ -61,7 +62,7 @@
        return b1 || b2
    }
    override fun needCut(tag: ExceptionTag): Boolean {
    override fun needCut(tag: ExceptionTag, hasException: Boolean?, data: BaseRealTimeData): Boolean {
        // 按照时长和距离限制将异常截取
        if (tag.exceptionData.isEmpty()) return false