From 2da8f596e787b89d0fcdc9569fc5f413ce5cabfe Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期六, 09 十二月 2023 18:03:41 +0800
Subject: [PATCH] 切换设备的时候刷新页面

---
 src/common/constants/index.ts |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/common/constants/index.ts b/src/common/constants/index.ts
index 217acf4..a739be6 100644
--- a/src/common/constants/index.ts
+++ b/src/common/constants/index.ts
@@ -16,3 +16,10 @@
   6: 'F',
   7: 'G'
 }
+
+// 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