From f87f6f20715ddf7a4a39c77145a7ac1ab6d5ff9f Mon Sep 17 00:00:00 2001 From: fhysy <1149505133@qq.com> Date: Tue, 3 Dec 2024 17:36:17 +0800 Subject: [PATCH] =?UTF-8?q?=20fast(=E8=AE=BE=E5=A4=87=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E5=8F=82=E6=95=B0):=20=E6=B7=BB=E5=8A=A0=E5=A1=91=E5=A3=B3?= =?UTF-8?q?=E3=80=81=E9=97=A8=E9=94=81=E7=9A=84=E8=AE=BE=E5=A4=87=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E9=BB=98=E8=AE=A4=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 | 81 +++++++++++++++++++++++++++++++++++++- 1 file changed, 79 insertions(+), 2 deletions(-) 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) => {