package com.hdkj.lt.bf.adapter;

import com.hdkj.hussar.ApiResponse;
import com.hdkj.lt.core.bizms.modle.dto.StateEstimation;
import com.hdkj.lt.core.bizms.modle.request.StateEstimationEquipRequest;
import com.hdkj.lt.core.bizms.modle.request.StateEstimationRequest;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * 服务调用si状估集成接口
 */
@FeignClient(value = "load-transfer-si")
public interface SiStateEstimationClient {

    @ApiOperation(value = "分时段查询中压线路下设备节点状估数据")
    @PostMapping("/stateEstimation/queryPeriodByFeeder")
    ApiResponse<StateEstimation> queryPeriodByFeeder(StateEstimationRequest request);

    @ApiOperation(value = "分时段查询设备状估数据")
    @PostMapping("/stateEstimation/queryPeriodByEquip")
    ApiResponse<StateEstimation> queryPeriodByEquip(StateEstimationEquipRequest request);
}
