From dac47617b37ccfb834cd73ce0ee725e1101de214 Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期四, 14 八月 2025 17:25:51 +0800
Subject: [PATCH] 2025.8.14 1. 动态溯源模块添加滑动平均异常计算(调试中)

---
 src/main/kotlin/com/flightfeather/uav/biz/sourcetrace/config/RTExcWindLevelConfig.kt |   25 +++++++++++++++++--------
 1 files changed, 17 insertions(+), 8 deletions(-)

diff --git a/src/main/kotlin/com/flightfeather/uav/biz/sourcetrace/config/RTExcWindLevelConfig.kt b/src/main/kotlin/com/flightfeather/uav/biz/sourcetrace/config/RTExcWindLevelConfig.kt
index b56fb48..9d69ca6 100644
--- a/src/main/kotlin/com/flightfeather/uav/biz/sourcetrace/config/RTExcWindLevelConfig.kt
+++ b/src/main/kotlin/com/flightfeather/uav/biz/sourcetrace/config/RTExcWindLevelConfig.kt
@@ -57,7 +57,7 @@
         1.6 to 7.9,
         0.2 to Double.MAX_VALUE,
         DistanceType.TYPE3,
-        3
+        2
 //        1
     )
 
@@ -66,7 +66,7 @@
         8.0 to 13.8,
         0.1 to Double.MAX_VALUE,
         DistanceType.TYPE4,
-        3
+        2
     )
 
     /****鏁版嵁蹇�熶笂鍗�*****************************************************************************/
@@ -103,14 +103,14 @@
             1.6 to 7.9,
             4.0 to Double.MAX_VALUE,
             DistanceType.TYPE3,
-            3
+            2
         ),
         // PM10鍦ㄤ竴涓洃娴嬪懆鏈燂紙4绉掞級涓婂崌閲忕骇澶т簬绛変簬4渭g/m鲁锛岃繛缁彂鐢�3娆�
         FactorType.PM10 to WindLevelCondition(
             1.6 to 7.9,
             4.0 to Double.MAX_VALUE,
             DistanceType.TYPE3,
-            3
+            2
         ),
         // VOC鍦ㄤ竴涓洃娴嬪懆鏈燂紙4绉掞級涓婂崌閲忕骇澶т簬绛変簬6渭g/m鲁锛岃繛缁彂鐢�1娆�
         FactorType.VOC to WindLevelCondition(
@@ -127,14 +127,14 @@
             8.0 to 13.8,
             4.0 to Double.MAX_VALUE,
             DistanceType.TYPE4,
-            3
+            2
         ),
         // PM10鍦ㄤ竴涓洃娴嬪懆鏈燂紙4绉掞級涓婂崌閲忕骇澶т簬绛変簬4渭g/m鲁锛岃繛缁彂鐢�3娆�
         FactorType.PM10 to WindLevelCondition(
             8.0 to 13.8,
             4.0 to Double.MAX_VALUE,
             DistanceType.TYPE4,
-            3
+            2
         ),
         // VOC鍦ㄤ竴涓洃娴嬪懆鏈燂紙4绉掞級涓婂崌閲忕骇澶т簬绛変簬6渭g/m鲁锛岃繛缁彂鐢�1娆�
         FactorType.VOC to WindLevelCondition(
@@ -177,14 +177,14 @@
             .0 to Double.MAX_VALUE,
             2.0 to 4.0,
             DistanceType.TYPE1,
-            3
+            2
         ),
         // PM10鍦ㄤ竴涓洃娴嬪懆鏈燂紙4绉掞級涓婂崌閲忕骇鍦�2 - 4渭g/m鲁涔嬮棿锛岃繛缁彂鐢�3娆�
         FactorType.PM10 to WindLevelCondition(
             .0 to Double.MAX_VALUE,
             2.0 to 4.0,
             DistanceType.TYPE1,
-            3
+            2
         ),
         // VOC鍦ㄤ竴涓洃娴嬪懆鏈燂紙4绉掞級涓婂崌閲忕骇鍦�3 - 6渭g/m鲁涔嬮棿锛岃繛缁彂鐢�2娆�
         FactorType.VOC to WindLevelCondition(
@@ -194,4 +194,13 @@
             2
         ),
     )
+
+    /****婊戝姩骞冲潎鍊煎紓甯�*****************************************************************************/
+    // 姹傛粦鍔ㄥ钩鍧囧�肩殑鏁版嵁缁勪釜鏁�
+    var changeTrendGroup = 12
+    // 婊戝姩骞冲潎鍊艰繛缁�
+    var changeTrendInterval = 12
+    var changeTrendRate = .2
+    // 婊戝姩骞冲潎鍊煎彉鍖栫巼寮傚父杩炵画娆℃暟
+    var changeTrendTimes = 3
 }
\ No newline at end of file

--
Gitblit v1.9.3