From 1571cd0f137ced4345fa8785e166a29dc31b6ad1 Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期二, 13 五月 2025 17:42:39 +0800
Subject: [PATCH] 1. 新增动态污染溯源的数据异常判断逻辑 2. 新增动态污染溯源websocket连接功能

---
 src/main/kotlin/com/flightfeather/uav/model/BaseSOP.kt |   16 +++++++++++-----
 1 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/src/main/kotlin/com/flightfeather/uav/model/BaseSOP.kt b/src/main/kotlin/com/flightfeather/uav/model/BaseSOP.kt
index 7e9d2a1..206f480 100644
--- a/src/main/kotlin/com/flightfeather/uav/model/BaseSOP.kt
+++ b/src/main/kotlin/com/flightfeather/uav/model/BaseSOP.kt
@@ -6,12 +6,18 @@
  * Source of pollution
  * 姹℃煋婧� 鍩虹被
  */
-open class BaseSOP(
+open class BaseSOP(val sourceId: String, val sourceName: String, val index: String) {
+
     // 姹℃煋婧愭爣璇�
-    var sourceId: String,
-    var sourceName: String,
-    var index: String
-) {
+//    lateinit var sourceId: String
+//    lateinit var sourceName: String
+//    lateinit var index: String
+//
+//    constructor() : this() {
+//        this.sourceId = sourceId
+//        this.sourceName = sourceName
+//        this.index = index
+//    }
     /**
      * 涓績缁忓害
      */

--
Gitblit v1.9.3