feiyu02
2025-06-02 718aabb1db80e7efbb2e866ca3ae74bcd264e20a
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(