From a34c1293e82c0afacacecfc1fb850afe27b4873b Mon Sep 17 00:00:00 2001
From: songshankun <songshankun@foxmail.com>
Date: 星期五, 03 十一月 2023 11:31:58 +0800
Subject: [PATCH] feat: 问题诊断列表弹窗对接接口数据,抽离轮询时间配置,添加设备切换按钮

---
 src/common/constants/index.ts |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/common/constants/index.ts b/src/common/constants/index.ts
index 995f28e..a739be6 100644
--- a/src/common/constants/index.ts
+++ b/src/common/constants/index.ts
@@ -17,7 +17,9 @@
   7: 'G'
 }
 
-export const DEVICE_STATUS_NAME_MAP = {
-  1: '姝e父',
-  2: '寮傚父'
-}
+// plc 杞闂撮殧
+export const PLC_POLLING_DURATION = 6_000
+// 璁惧淇℃伅 杞闂撮殧
+export const DEVICE_INFO_POLLING_DURATION = 15_000
+// 闂璇婃柇
+export const PROBLEMS_POLLING_DURATION = 30_000

--
Gitblit v1.8.0