fast(设备类型参数): 添加塑壳、门锁的设备类型默认参数
This commit is contained in:
parent
2a7a7286ca
commit
f87f6f2071
|
@ -69,6 +69,56 @@ const MINIATURE_BREAKER = [
|
||||||
// "canModify": true
|
// "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 = [
|
const VIDEO_MONITOR = [
|
||||||
{
|
{
|
||||||
"paramKey": "video_id",
|
"paramKey": "video_id",
|
||||||
|
@ -89,6 +139,32 @@ const VIDEO_MONITOR = [
|
||||||
"canModify": true
|
"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 = [
|
const VIDEO_CONTROLLER = [
|
||||||
{
|
{
|
||||||
"paramKey": "site_id",
|
"paramKey": "site_id",
|
||||||
|
@ -96,7 +172,6 @@ const VIDEO_CONTROLLER = [
|
||||||
"paramName": "站点id",
|
"paramName": "站点id",
|
||||||
"canModify": true
|
"canModify": true
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"paramKey": "video_protocol",
|
"paramKey": "video_protocol",
|
||||||
"paramVal": "",
|
"paramVal": "",
|
||||||
|
@ -133,7 +208,9 @@ const resultObject = {
|
||||||
GATEWAY_CONTROLLER,
|
GATEWAY_CONTROLLER,
|
||||||
MINIATURE_BREAKER,
|
MINIATURE_BREAKER,
|
||||||
VIDEO_MONITOR,
|
VIDEO_MONITOR,
|
||||||
VIDEO_CONTROLLER
|
VIDEO_CONTROLLER,
|
||||||
|
MOLDED_BREAKER,
|
||||||
|
DOOR_SENSOR
|
||||||
}
|
}
|
||||||
|
|
||||||
export const getTypeParam = (keys) => {
|
export const getTypeParam = (keys) => {
|
||||||
|
|
Loading…
Reference in New Issue