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) => {