From 9c797fa0d704ef8ffb65cd1716b8eb694b4c46c3 Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期五, 04 七月 2025 17:28:00 +0800 Subject: [PATCH] 2025.7.4 1. 新增动态污染溯源新的判定逻辑 --- src/main/kotlin/com/flightfeather/uav/biz/sourcetrace/model/PollutedClue.kt | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/com/flightfeather/uav/biz/sourcetrace/model/PollutedClue.kt b/src/main/kotlin/com/flightfeather/uav/biz/sourcetrace/model/PollutedClue.kt index 53fbd07..c87812e 100644 --- a/src/main/kotlin/com/flightfeather/uav/biz/sourcetrace/model/PollutedClue.kt +++ b/src/main/kotlin/com/flightfeather/uav/biz/sourcetrace/model/PollutedClue.kt @@ -10,6 +10,7 @@ import com.flightfeather.uav.domain.entity.BaseRealTimeData import com.flightfeather.uav.domain.entity.SceneInfo import com.flightfeather.uav.domain.repository.SceneInfoRep +import com.flightfeather.uav.socket.sender.MsgType /** * 姹℃煋绾跨储 @@ -17,7 +18,7 @@ * @date 2025/5/27 * @author feiyu02 */ -class PollutedClue() : BaseExceptionResult() { +class PollutedClue() : BaseExceptionResult(){ // constructor( // start: BaseRealTimeData, @@ -36,13 +37,14 @@ constructor( tag: ExceptionTag, factor: FactorFilter.SelectedFactor, eType: ExceptionType, config: RTExcWindLevelConfig, windLevelCondition: RTExcWindLevelConfig.WindLevelCondition?, - ) :this() + ) : this() // this( // tag.startData!!, tag.endData, factor, tag.exceptionData, eType, config, // windLevelCondition // ) { if (tag.exceptionData.isEmpty()) return + deviceCode = tag.startData?.deviceCode pollutedData = PollutedData( tag.startData!!, tag.endData, factor, tag.exceptionData, tag.historyData, eType, windLevelCondition ) @@ -53,6 +55,13 @@ * 6. 灞曠ず鏁版嵁鍙樺寲鎯呭喌锛屼笂鍗囬�熺巼绛夌瓑 */ + /** + * @see [MsgType] + */ + var msgType: Int? = null + + var deviceCode: String? = null + var pollutedData: PollutedData? = null var pollutedArea: PollutedArea? = null -- Gitblit v1.9.3