From 9ac24142f7158a65e53db1d5fd2e963e292eb034 Mon Sep 17 00:00:00 2001 From: 0000792 <1161664478@qq.com> Date: Fri, 5 Aug 2022 17:51:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=91=84=E5=83=8F=E5=A4=B4?= =?UTF-8?q?=E5=92=8C=E8=A7=86=E9=A2=91=E7=BD=91=E5=85=B3=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/basedata/typeParams.js | 63 +++++++++++++++++++++++++++++++++++++- 1 file changed, 62 insertions(+), 1 deletion(-) diff --git a/src/basedata/typeParams.js b/src/basedata/typeParams.js index 84225e0d..ab386a4a 100644 --- a/src/basedata/typeParams.js +++ b/src/basedata/typeParams.js @@ -87,10 +87,71 @@ const MINIATURE_BREAKER = [ "canModify": true } ] +const VIDEO_MONITOR = [ + { + "paramKey": "video_id", + "paramVal": "", + "paramName": "摄像头id", + "canModify": true + }, + { + "paramKey": "dev_channel", + "paramVal": "", + "paramName": "设备通道", + "canModify": true + }, + { + "paramKey": "video_code", + "paramVal": "", + "paramName": "视频流编码", + "canModify": true + } +] +const VIDEO_CONTROLLER = [ + { + "paramKey": "site_id", + "paramVal": "", + "paramName": "站点id", + "canModify": true + }, + + { + "paramKey": "video_protocol", + "paramVal": "", + "paramName": "接入协议", + "canModify": true + }, + { + "paramKey": "url", + "paramVal": "", + "paramName": "站点域名", + "canModify": true + }, + { + "paramKey": "version", + "paramVal": "", + "paramName": "服务版本", + "canModify": true + }, + { + "paramKey": "username", + "paramVal": "", + "paramName": "用户名", + "canModify": true + }, + { + "paramKey": "password", + "paramVal": "", + "paramName": "密码", + "canModify": true + } +] const resultObject = { GATEWAY_CONTROLLER, - MINIATURE_BREAKER + MINIATURE_BREAKER, + VIDEO_MONITOR, + VIDEO_CONTROLLER } export const getTypeParam = (keys) => {