| | |
| | | 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 |
| | | |
| | | /** |
| | | * 污染线索 |
| | |
| | | * @date 2025/5/27 |
| | | * @author feiyu02 |
| | | */ |
| | | class PollutedClue() : BaseExceptionResult() { |
| | | class PollutedClue() : BaseExceptionResult(){ |
| | | |
| | | // constructor( |
| | | // start: BaseRealTimeData, |
| | |
| | | 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 |
| | | ) |
| | |
| | | * 6. 展示数据变化情况,上升速率等等 |
| | | */ |
| | | |
| | | /** |
| | | * @see [MsgType] |
| | | */ |
| | | var msgType: Int? = null |
| | | |
| | | var deviceCode: String? = null |
| | | |
| | | var pollutedData: PollutedData? = null |
| | | |
| | | var pollutedArea: PollutedArea? = null |