From bf7b5516246e58e955d67a3c97ab14727e75b6be Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期五, 08 十二月 2023 17:26:50 +0800
Subject: [PATCH] 没有人员信息,点击 报工是增加 没有人员信息不可报工的提示

---
 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