package cn.iocoder.yudao.module.system.api.path;

import cn.iocoder.yudao.module.system.enums.ApiConstants;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = ApiConstants.NAME) // TODO 芋艿：fallbackFactory =
@Tag(name = "RPC 服务 - 路径规划常规信息上报")
public interface PathApi {

    String PREFIX = ApiConstants.PREFIX + "/path";

    @PostMapping(PREFIX + "/pathInitData")
    @Operation(summary = "路径规划需要初始化信息")
    void pathInitData();

    @PostMapping(PREFIX + "/ppDistributionTask")
    @Operation(summary = "路径规划需要初始化信息")
    void ppDistributionTask(@RequestParam("message") String message);

    @PostMapping(PREFIX + "/ppDistributionTaskFail")
    @Operation(summary = "路径规划需要初始化信息")
    void ppDistributionTaskFail(@RequestParam("message") String message);

    @PostMapping(PREFIX + "/pathPlanningMove")
    @Operation(summary = "路径规划需要初始化信息")
    void pathPlanningMove(@RequestParam("message") String message);

    @PostMapping(PREFIX + "/pathPlanningMovePose")
    @Operation(summary = "路径规划要走的点位信息")
    void pathPlanningMovePose(@RequestParam("message") String message);

    @PostMapping(PREFIX + "/simulationRobotPose")
    @Operation(summary = "仿真初始化点位信息")
    void simulationRobotPoseRequest(@RequestParam("message") String message);

    @PostMapping(PREFIX + "/graphMatchData")
    @Operation(summary = "路网匹配实时数据")
    void graphMatchData(@RequestParam("message") String message);
}
