package com.flightfeather.uav.lightshare.service
|
|
import com.flightfeather.uav.socket.eunm.UWDeviceType
|
import java.time.LocalDateTime
|
|
/**
|
*
|
* @date 2024/8/26
|
* @author feiyu02
|
*/
|
interface ThirdPartyService {
|
|
/**
|
* 获取走航任务对应的范围内的数据
|
* @param label 接口标签,表明是哪个第三方数据接口
|
* @param missionCode 任务编号
|
*/
|
fun fetchMissionData(label: String, missionCode: String): Boolean
|
|
/**
|
* 获取设备最新数据
|
* @param label 接口标签,表明是哪个第三方数据接口
|
* @param type 设备类型
|
* @param deviceCode 设备编号
|
* @param startTime 数据起始时间
|
*/
|
fun fetchLatestData(
|
label: String, type: UWDeviceType, deviceCode: String, startTime: LocalDateTime?, endTime: LocalDateTime?,
|
): Boolean
|
}
|