From 102002f53d93c88cdd85b23a4e070ab39539f633 Mon Sep 17 00:00:00 2001 From: songshankun <songshankun@foxmail.com> Date: 星期五, 03 十一月 2023 16:12:14 +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