123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190 |
- [
- {
- "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": [
- ]
- }
- }
- ]
|