From 5ceaf8ba5734dcebd26991edb0d6c2280849348d Mon Sep 17 00:00:00 2001
From: Jay <csj123456>
Date: 星期三, 05 三月 2025 15:22:15 +0800
Subject: [PATCH] 新增修改预警配置接口和修改图表参数配置接口

---
 iailab-module-model/iailab-module-model-api/src/main/java/com/iailab/module/model/api/mcs/McsApi.java |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/iailab-module-model/iailab-module-model-api/src/main/java/com/iailab/module/model/api/mcs/McsApi.java b/iailab-module-model/iailab-module-model-api/src/main/java/com/iailab/module/model/api/mcs/McsApi.java
index 9a57522..4d22066 100644
--- a/iailab-module-model/iailab-module-model-api/src/main/java/com/iailab/module/model/api/mcs/McsApi.java
+++ b/iailab-module-model/iailab-module-model-api/src/main/java/com/iailab/module/model/api/mcs/McsApi.java
@@ -123,12 +123,19 @@
     @Operation(summary = "添加电价时段配置列表")
     Boolean createElectricityPrice(@RequestBody List<ElectricityPriceSegmentedDTO> list);
 
-    @PostMapping(PREFIX + "/schedule/model/setting/update")
+    @GetMapping(PREFIX + "/schedule/model/setting/update")
     @Operation(summary = "修改调度模型配置")
     Boolean updateScheduleModelSetting(@RequestParam("modelCode") String modelCode, @RequestParam("key") String key, @RequestParam("value") String value);
-
     @GetMapping(PREFIX + "/schedule/adjust/config-list")
     @Operation(summary = "获取模拟调整配置")
     List<StAdjustConfigDetDTO> getAdjustConfigListByModelId(@RequestParam("modelId") String modelId);
 
+    @GetMapping(PREFIX + "/alarm-config/update")
+    @Operation(summary = "修改预警配置")
+    Boolean updateAlarmConfig(@RequestParam("alarmObj")String alarmObj, @RequestParam("upperLimit")String upperLimit, @RequestParam("lowerLimit")String lowerLimit);
+
+    @PostMapping(PREFIX + "/chart/param/update")
+    @Operation(summary = "修改图表参数配置")
+    Boolean updateChartParam(@RequestBody ChartDTO chartDTO);
+
 }
\ No newline at end of file

--
Gitblit v1.9.3