diff --git a/src/basedata/typeParams.js b/src/basedata/typeParams.js index 116e3476..fd4697bf 100644 --- a/src/basedata/typeParams.js +++ b/src/basedata/typeParams.js @@ -69,6 +69,56 @@ const MINIATURE_BREAKER = [ // "canModify": true // } ] +const MOLDED_BREAKER = [ + { + "paramKey": "pole_number", + "paramVal": "", + "paramName": "极数", + "canModify": true + }, + { + "paramKey": "trip_type", + "paramVal": "", + "paramName": "脱扣类型", + "canModify": true + }, + { + "paramKey": "installation_occupancy", + "paramVal": "", + "paramName": "安装占位", + "canModify": true + }, + { + "paramKey": "rated_current", + "paramVal": "", + "paramName": "额定电流(单位:A)", + "canModify": true + }, + { + "paramKey": "rated_voltage", + "paramVal": "", + "paramName": "额定电压(单位:V)", + "canModify": true + }, + { + "paramKey": "leakage_current", + "paramVal": "", + "paramName": "漏电流(单位:mA)", + "canModify": true + }, + // { + // "paramKey": "temperature", + // "paramVal": "", + // "paramName": "温度(单位:℃)", + // "canModify": true + // }, + // { + // "paramKey": "connection_mode", + // "paramVal": "", + // "paramName": "连接方式", + // "canModify": true + // } +] const VIDEO_MONITOR = [ { "paramKey": "video_id", @@ -89,6 +139,32 @@ const VIDEO_MONITOR = [ "canModify": true } ] +const DOOR_SENSOR = [ + { + "paramKey": "rated_voltage", + "paramVal": "", + "paramName": "工作电压(单位:V)", + "canModify": true + }, + { + "paramKey": "rated_current", + "paramVal": "", + "paramName": "工作电流(单位:mA)", + "canModify": true + }, + { + "paramKey": "card_type", + "paramVal": "", + "paramName": "卡类型", + "canModify": true + }, + { + "paramKey": "interface", + "paramVal": "", + "paramName": "对接接口", + "canModify": true + } +] const VIDEO_CONTROLLER = [ { "paramKey": "site_id", @@ -96,7 +172,6 @@ const VIDEO_CONTROLLER = [ "paramName": "站点id", "canModify": true }, - { "paramKey": "video_protocol", "paramVal": "", @@ -133,7 +208,9 @@ const resultObject = { GATEWAY_CONTROLLER, MINIATURE_BREAKER, VIDEO_MONITOR, - VIDEO_CONTROLLER + VIDEO_CONTROLLER, + MOLDED_BREAKER, + DOOR_SENSOR } export const getTypeParam = (keys) => {