[ { "id": 1, "key": "GPIO", "name": "GPIO", "description": "", "properties": [ { "id": 1, "key": "GPIO_CODE", "name": "系统GPIO号", "label": "系统GPIO号", "type": "integer", "defaultValue": "66", "placeholder": "请输入系统GPIO号", "description": " linux 系统 GPIO 号, 0-63 ", "selections": [] }, { "id": 2, "key": "GPIO_INPUT_OUTPUT", "name": "输入、输出", "label": "输入、输出", "type": "select", "defaultValue": "1", "placeholder": "请选择输入、输出", "description": " GPIO类型 输入、输出 ", "selections": [ { "value": 1, "label": "输入" }, { "value": 2, "label": "输出" } ] }, { "id": 3, "key": "GPIO_DEFAULT_VOLTAGE", "name": "默认值", "label": "默认值", "type": "select", "defaultValue": "1", "placeholder": "请选择默认值", "description": " GPIO类型 默认值 ", "selections": [ { "value": 1, "label": "低电平" }, { "value": 2, "label": "高电平" } ] } ], "executor": { "id": 1, "key": "GPIO_EXECUTOR", "name": "GPIO_EXECUTOR", "description": "", "properties": [] } }, { "id": 2, "key": "RS485_RTU", "name": "RS485_RTU", "description": "", "properties": [ { "id": 1, "key": "RS485_PORT", "name": "串口名称", "label": "串口名称", "type": "string", "defaultValue": "", "placeholder": "请输入系统串口名称", "description": " linux 系统串口名称, 0-63 ", "selections": [] }, { "id": 1, "key": "RS485_ADDRESS", "name": "设备地址", "label": "设备地址", "type": "string", "defaultValue": "", "placeholder": "请输入设备地址", "description": "设备地址标识", "selections": [] }, { "id": 2, "key": "RS485_BAUDRATE", "name": "波特率", "label": "波特率", "type": "integer", "defaultValue": "1", "placeholder": "请输入波特率", "description": "请输入波特率", "selections": [] }, { "id": 3, "key": "RS485_STOP_BIT", "name": "停止位", "label": "停止位", "type": "select", "defaultValue": "1", "placeholder": "请选择停止位", "description": " RS485 停止位 ", "selections": [ { "value": 1, "label": "1位" }, { "value": 2, "label": "2位" } ] }, { "id": 4, "key": "RS485_VERIFY", "name": "校验位", "label": "校验位", "type": "select", "defaultValue": "1", "placeholder": "请选择校验位", "description": " RS485 校验位 ", "selections": [ { "value": 1, "label": "无校验" }, { "value": 2, "label": "奇校验" }, { "value": 3, "label": "偶校验" } ] }, { "id": 5, "key": "RS485_DATA_BIT", "name": "数据位", "label": "数据位", "type": "select", "defaultValue": "1", "placeholder": "请选择数据位", "description": " RS485 数据位 ", "selections": [ { "value": 1, "label": "5位" }, { "value": 2, "label": "6位" }, { "value": 3, "label": "7位" }, { "value": 4, "label": "8位" } ] } ], "executor": { "id": 1, "key": "RS485_RTU_EXECUTOR", "name": "RS485_RTU_EXECUTOR", "description": "", "properties": [ ] } } ]