package com.tuoheng.admin.service.third.airport;

import com.tuoheng.admin.entity.domain.Inspection;
import com.tuoheng.admin.entity.request.airport.DroneHoverRequest;
import com.tuoheng.admin.entity.request.airport.ReversalFlightRequest;
import com.tuoheng.common.core.utils.JsonResult;

public interface AirportService {

    JsonResult getAirportList();

    JsonResult getAirLineList(Integer droneId);

    JsonResult executeTask(String userId, Inspection inspection);

    JsonResult getAirportDetail(Integer airportId);

    JsonResult getAirportVideo(Integer droneId);

    /**
     *
     * 无人机悬停
     *
     * @param request
     * @return
     */
    JsonResult hover(DroneHoverRequest request);

    /**
     * 无人机返航
     * @param request
     * @return
     */
    JsonResult reversalFlight(ReversalFlightRequest request);
}
