package com.ai.trackwalker.capability.uav;

import java.util.List;
import java.util.Map;

public interface UavVendorAdapter {
    String vendorCode();

    Map<String, Object> checkConnection(Map<String, Object> connection);

    List<Map<String, Object>> synchronizeDevices(Map<String, Object> connection);

    default Map<String, Object> prepareRoute(Map<String, Object> connection, Map<String, Object> route) {
        return Map.of("import_state", "NOT_REQUIRED");
    }

    Map<String, Object> dispatchMission(Map<String, Object> mission, Map<String, Object> route);

    Map<String, Object> executeCommand(Map<String, Object> mission, String command, Map<String, Object> parameters);
}
