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

import cn.iocoder.yudao.module.mqtt.api.path.dto.PositionMapItemSynDTO;
import cn.iocoder.yudao.module.mqtt.api.path.dto.PositionMapLinePathDTO;
import cn.iocoder.yudao.module.mqtt.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.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(name = ApiConstants.NAME) // TODO 芋艿：fallbackFactory =
@Tag(name = "MQTT 服务 - 参数配置")
public interface PathPlanningApi {
    String PREFIX = ApiConstants.PREFIX + "/config";

   /* @PostMapping(PREFIX + "/synchronousPoint")
    @Operation(summary = "同步ware_position_map_line的点位信息")
    void synchronousPointToPP(@RequestBody PositionMapLinePathDTO relatedPathNode, @RequestParam("topic") String topic);

    @PostMapping(PREFIX + "/synchronousAllItemToPP")
    @Operation(summary = "同步ware_position_map_item的点位信息")
    void synchronousAllItemToPP(@RequestBody List<PositionMapItemSynDTO> positionMapItemSynDTOS,
                                @RequestParam("topic") String topic);

    @PostMapping(PREFIX + "/synchronousLineObject")
    @Operation(summary = "同步Object信息给PP")
    void synchronousLineObject(@RequestBody Object obj,  @RequestParam("topic") String topic);*/
}
