From 11fd2edc8643a9b5923d05ff21d18b7d845d4f76 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期二, 07 十一月 2023 10:36:03 +0800
Subject: [PATCH] Merge branch 'dev' of http://192.168.5.5:10010/r/web/bulletin-board-style1 into dev

---
 src/api/device.ts |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/src/api/device.ts b/src/api/device.ts
index ceaaec2..f102b7b 100644
--- a/src/api/device.ts
+++ b/src/api/device.ts
@@ -1,9 +1,16 @@
+export interface DeviceMap {
+  deviceID: string
+  deviceName: string
+}
+
 export interface Devices {
+  /** 鏈満璁惧缂栫爜 */
   systemDeviceID: string
   currentDeviceID: string
   systemDeviceStatus: number
-  clusterStatus: string
+  /** 闆嗙兢鐘舵�� master涓昏妭鐐� slave浠庤妭鐐�  绌轰覆浠h〃涓嶅湪闆嗙兢涓�  */
+  clusterStatus: 'master' | 'slave' | ''
   clusterNodeQuantity: number
   systemDeviceRunSince: number
-  deviceIDList: string[]
+  deviceList: DeviceMap[]
 }

--
Gitblit v1.8.0