| | |
| | | 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 |
| | | |
| | | /** |
| | | * |
| | |
| | | |
| | | // 异常数据,头尾可能包含一定量的偏移 |
| | | 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 |
| | |
| | | min = s.second |
| | | max = s.third |
| | | |
| | | exceptionData.forEach { dataList.add(it) } |
| | | exceptionData.forEach { |
| | | dataList.add(it) |
| | | dataVoList.add(it.toDataVo()) |
| | | } |
| | | } |
| | | |
| | | private fun dataSummary( |