123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269 |
- [
- {
- "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": "原码"
- }
- ]
- }
- ]
- }
- ]
|