ÎļþÃû´Ó src/main/kotlin/com/flightfeather/uav/repository/impl/AirDataRepositoryImpl.kt ÐÞ¸Ä |
| | |
| | | package com.flightfeather.uav.repository.impl |
| | | package com.flightfeather.uav.domain.repository.impl |
| | | |
| | | import com.flightfeather.uav.common.utils.GsonUtils |
| | | import com.flightfeather.uav.domain.entity.* |
| | | import com.flightfeather.uav.domain.mapper.* |
| | | import com.flightfeather.uav.lightshare.bean.DataVo |
| | | import com.flightfeather.uav.repository.AirDataRepository |
| | | import com.flightfeather.uav.domain.repository.AirDataRep |
| | | import com.flightfeather.uav.socket.bean.AirData |
| | | import com.flightfeather.uav.socket.bean.AirDataPackage |
| | | import com.flightfeather.uav.socket.eunm.FactorType |
| | |
| | | import java.math.BigDecimal |
| | | import java.text.SimpleDateFormat |
| | | import java.time.LocalDateTime |
| | | import java.time.ZoneId |
| | | import java.util.* |
| | | import kotlin.math.abs |
| | | import kotlin.math.sqrt |
| | | |
| | | /** |
| | | * @author riku |
| | | * Date: 2020/6/11 |
| | | */ |
| | | @Repository |
| | | class AirDataRepositoryImpl( |
| | | class AirDataRepImpl( |
| | | private val realTimeDataMapper: RealTimeDataMapper, |
| | | private val realTimeDataVehicleMapper: RealTimeDataVehicleMapper, |
| | | private val realTimeDataUavMapper: RealTimeDataUavMapper, |
| | | private val realTimeDataGridMapper: RealTimeDataGridMapper, |
| | | private val factorCalibrationMapper: FactorCalibrationMapper |
| | | ): AirDataRepository { |
| | | ): AirDataRep { |
| | | |
| | | // FIXME: 2021/10/25 临æ¶è½¦è½½æ°æ®ï¼ç±äºæ 人æºé¨åçæµå åæ°æ®æ æï¼å æ¤ææ¶éç¨è½¦è½½æ°æ®ä½ä¸ºå¡«å
|
| | | private val tmpVehicleDataList = mutableListOf<BaseRealTimeData>() |