对比新文件 |
| | |
| | | package com.iailab.module.api.mcs; |
| | | |
| | | import com.iailab.module.api.mcs.dto.PowerRunStateDTO; |
| | | import com.iailab.module.api.mcs.dto.PreDataChartRespVO; |
| | | import com.iailab.module.enums.ApiConstants; |
| | | import com.iailab.module.model.api.mcs.dto.PreDataSingleChartReqVO; |
| | | import com.iailab.module.model.api.mcs.dto.PreDataSingleChartRespVO; |
| | | 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.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author lirm |
| | | * @Description |
| | | * @createTime 2025年03月17日 |
| | | */ |
| | | @FeignClient(name = ApiConstants.NAME) |
| | | @Tag(name = "RPC 服务 - 信息接口") |
| | | public interface AnSteelApi { |
| | | |
| | | String PREFIX = ApiConstants.PREFIX + "/api/mcs"; |
| | | |
| | | @GetMapping(PREFIX + "/power-run-state/list") |
| | | @Operation(summary = "发电厂机组运行情况") |
| | | List<PowerRunStateDTO> getPowerRunState(); |
| | | |
| | | @PostMapping(PREFIX + "/predict-data/charts") |
| | | @Operation(summary = "预测数据图表") |
| | | PreDataChartRespVO getPreDataChart(@RequestBody PreDataSingleChartReqVO reqVO); |
| | | |
| | | } |