From b72618fe9cfc46e7de0e38f51ba2440b86f08794 Mon Sep 17 00:00:00 2001
From: whyczyk <525500596@qq.com>
Date: 星期一, 26 七月 2021 17:17:31 +0800
Subject: [PATCH] 首页拓扑图修改

---
 src/pages/home/topoGraphdiagram/js/api.js |   69 ++++++++++++++++++++++++++++++++++
 1 files changed, 68 insertions(+), 1 deletions(-)

diff --git a/src/pages/home/topoGraphdiagram/js/api.js b/src/pages/home/topoGraphdiagram/js/api.js
index a475577..e6e020e 100644
--- a/src/pages/home/topoGraphdiagram/js/api.js
+++ b/src/pages/home/topoGraphdiagram/js/api.js
@@ -49,7 +49,7 @@
 export const afeInverterInfoByDeviceId = (data) => {
   return axios({
     method: "GET",
-    url: "/afeInverter/infoByDeviceId",
+    url: "/afeRectifier/infoByDevId",
     params: data
   });
 }
@@ -74,4 +74,71 @@
     url: "/OilComm/infoByDevId",
     params: data
   });
+}
+
+/**
+ * 杩涘嚭绾垮睆寮�鍏崇姸鎬�-婕旂ず浣跨敤
+ */
+export const centralMonitorSysUpdateState = (data) => {
+  return axios({
+    method: "PUT",
+    url: "/centralMonitorSys/updateState",
+    params: data
+  });
+}
+
+/**
+ * 鐩存祦涓婚厤鐢垫煖鐘舵��-婕旂ず浣跨敤
+ */
+export const centralMonitorSysSTUpdateStatus = (data) => {
+  return axios({
+    method: "PUT",
+    url: "/centralMonitorSysST/updateStatus",
+    params: data
+  });
+}
+
+/**
+ * AFE鍙橀鍣ㄧ姸鎬�-婕旂ず浣跨敤
+ */
+export const afeRectifierUpdateState2 = (data) => {
+  return axios({
+    method: "PUT",
+    url: "/afeRectifier/updateState2",
+    params: data
+  });
+}
+
+
+/**
+ * 澶у姛鐜囨暣娴佺姸鎬�-婕旂ず浣跨敤
+ */
+export const rectifierPowerUpdateState = (data) => {
+  return axios({
+    method: "PUT",
+    url: "/rectifierPower/updateState",
+    params: data
+  });
+}
+
+/**
+ * 姘寸珯鐘舵��-婕旂ず浣跨敤
+ */
+export const WaterCommUpdateStatus = (data) => {
+  return axios({
+    method: "PUT",
+    url: "/WaterComm/updateStatus",
+    params: data
+  });
+}
+
+/**
+ * 娌圭珯鐘舵��-婕旂ず浣跨敤
+ */
+export const OilCommUpdateStatus = (data) => {
+  return axios({
+    method: "PUT",
+    url: "/OilComm/updateStatus",
+    params: data
+  });
 }
\ No newline at end of file

--
Gitblit v1.9.1