From 718aabb1db80e7efbb2e866ca3ae74bcd264e20a Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期一, 02 六月 2025 08:30:19 +0800
Subject: [PATCH] 1. 新增动态污染溯源新的判定逻辑(待完成)

---
 src/main/kotlin/com/flightfeather/uav/biz/sourcetrace/model/RealTimeExceptionResult.kt |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/src/main/kotlin/com/flightfeather/uav/biz/sourcetrace/model/RealTimeExceptionResult.kt b/src/main/kotlin/com/flightfeather/uav/biz/sourcetrace/model/RealTimeExceptionResult.kt
index 86ef036..48e8f8b 100644
--- a/src/main/kotlin/com/flightfeather/uav/biz/sourcetrace/model/RealTimeExceptionResult.kt
+++ b/src/main/kotlin/com/flightfeather/uav/biz/sourcetrace/model/RealTimeExceptionResult.kt
@@ -7,14 +7,18 @@
 import com.flightfeather.uav.domain.entity.BaseRealTimeData
 import com.flightfeather.uav.domain.entity.SceneInfo
 import com.flightfeather.uav.domain.entity.avg
+import com.flightfeather.uav.lightshare.bean.DataVo
+import com.flightfeather.uav.lightshare.eunm.ExceptionStatusType
 import com.flightfeather.uav.socket.eunm.FactorType
 import java.math.BigDecimal
+import java.util.UUID
 
 /**
  *
  * @date 2025/5/13
  * @author feiyu02
  */
+@Deprecated("2025.5.29, 閫昏緫涓庝笟鍔′笉鍖归厤锛屽悗缁垹闄�")
 class RealTimeExceptionResult() : BaseExceptionResult() {
 
     var deviceCode: String? = null
@@ -39,10 +43,16 @@
 
     // 寮傚父鏁版嵁锛屽ご灏惧彲鑳藉寘鍚竴瀹氶噺鐨勫亸绉�
     var dataList: MutableList<BaseRealTimeData> = mutableListOf()
+    var dataVoList: MutableList<DataVo> = mutableListOf()
 
     // 涓績鐐圭粡绾害
     var longitude: BigDecimal? = null
     var latitude: BigDecimal? = null
+
+    // 涓棿鏁版嵁鐐瑰潗鏍�
+    var midData: DataVo? = null
+//    var midLongitude: BigDecimal? = null
+//    var midLatitude: BigDecimal? = null
 
     // 婧簮浼佷笟
     var relatedSceneList: List<SceneInfo?>? = null
@@ -77,7 +87,10 @@
         min = s.second
         max = s.third
 
-        exceptionData.forEach { dataList.add(it) }
+        exceptionData.forEach {
+            dataList.add(it)
+            dataVoList.add(it.toDataVo())
+        }
     }
 
     private fun dataSummary(

--
Gitblit v1.9.3