[ { "id": 1, "key": "PROTOCAL_RS485", "name": "RS485 规约 ", "description": " ", "properties": [ { "id": 1, "key": "RS485_CLEAR_INTERRUPT", "name": "通信中断数据是否清零", "label": "通信中断数据是否清零", "type": "select", "defaultValue": "", "placeholder": "请选择通信中断数据是否清零", "description": "", "selections": [ { "value": 1, "label": "是" }, { "value": 2, "label": "否" } ] }, { "id": 2, "key": "RS485_SEND_TIME_INTERVAL", "name": "发送时间间隔(ms)", "label": "发送时间间隔(ms)", "type": "double", "defaultValue": "", "description": "", "placeholder": "输入发送时间间隔(ms)", "selections": [] }, { "id": 3, "key": "RS485_TIME_OUT", "name": "超时时间(ms)", "label": "超时时间(ms)", "type": "double", "defaultValue": "", "description": "", "placeholder": "输入超时时间(ms)", "selections": [] }, { "id": 4, "key": "RS485_COLON_NEEDED", "name": "是否需要冒号", "label": "是否需要冒号", "type": "select", "defaultValue": "", "description": "", "placeholder": "请选择是否需要冒号", "selections": [ { "value": 1, "label": "不需要" }, { "value": 2, "label": "需要" } ] }, { "id": 5, "key": "RS485_ADDRESS_BIT", "name": "地址字节长度", "label": "地址字节长度", "type": "integer", "defaultValue": "", "description": "", "placeholder": "请输入地址字节长度", "selections": [] }, { "id": 6, "key": "RS485_ADDRESS_ENDIANSS", "name": "地址字节序", "label": "地址字节序", "type": "select", "defaultValue": "", "description": "", "placeholder": "请选择地址字节序", "selections": [ { "value": 1, "label": "前高后低" }, { "value": 2, "label": "前低后高" } ] }, { "id": 7, "key": "RS485_FUNCTION_BIT", "name": "功能码字节长度", "label": "功能码字节长度", "type": "integer", "defaultValue": "", "description": "", "placeholder": "请输入功能码字节长度", "selections": [] }, { "id": 8, "key": "RS485_FUNCTION_ENDIANSS", "name": "功能码字节序", "label": "功能码字节序", "type": "select", "defaultValue": "", "description": "", "placeholder": "请选择功能码字节序", "selections": [ { "value": 1, "label": "前高后低" }, { "value": 2, "label": "前低后高" } ] }, { "id": 9, "key": "RS485_VERIFY_ALGORITHM", "name": "校验方式", "label": "校验方式", "type": "select", "defaultValue": "", "description": "", "placeholder": "请选择校验方式", "selections": [ { "value": 1, "label": "CRC8校验" }, { "value": 2, "label": "CRC16校验" }, { "value": 3, "label": "CRC32校验" } ] }, { "id": 10, "key": "RS485_VERIFY_BIT", "name": "校验码字节长度", "label": "校验码字节长度", "type": "integer", "defaultValue": "", "description": "", "placeholder": "请输入校验码字节长度", "selections": [] }, { "id": 11, "key": "RS485_VERIFY_ENDIANSS", "name": "校验码字节序", "label": "校验能码字节序", "type": "select", "defaultValue": "", "description": "", "placeholder": "请选择校验码字节序", "selections": [ { "value": 1, "label": "前高后低" }, { "value": 2, "label": "前低后高" } ] }, { "id": 12, "key": "RS485_RETURN_BIT_ENDIANSS", "name": "返回报文字组装方式", "label": "返回报文字组装方式", "type": "select", "defaultValue": "", "description": "", "placeholder": "请输入返回报文字组装方式", "selections": [ { "value": 1, "label": "前高后低" }, { "value": 2, "label": "前低后高" } ] }, { "id": 13, "key": "RS485_RETURN_BYTE_ENDIANSS", "name": "返回报文字节组装方式", "label": "返回报文字节组装方式", "type": "select", "defaultValue": "", "description": "", "placeholder": "请输入返回报文字节组装方式", "selections": [ { "value": 1, "label": "前高后低" }, { "value": 2, "label": "前低后高" } ] }, { "id": 14, "key": "RS485_RETURN_BYTE", "name": "返回数据字节数", "label": "返回数据字节数", "type": "select", "defaultValue": "", "description": "", "placeholder": "请选择返回数据字节数", "selections": [ { "value": 1, "label": "1" }, { "value": 2, "label": "2" } ] }, { "id": 15, "key": "RS485_NEGATIVE_DISPLAY", "name": "负数显示方式", "label": "负数显示方式", "type": "select", "defaultValue": "", "description": "", "placeholder": "请选择负数显示方式", "selections": [ { "value": 1, "label": "补码" }, { "value": 2, "label": "原码" } ] } ] } ]