CommunicationRS485.json 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. {
  2. "key": "RS-485-RTU",
  3. "label": "RS-485-RTU",
  4. "description": "",
  5. "properties": [
  6. {
  7. "key": "",
  8. "label": "系统串口标识",
  9. "type": "string",
  10. "default": "COM1",
  11. "placeholder": "请输入系统串口标识",
  12. "description": "",
  13. "selections": []
  14. },
  15. {
  16. "label": "硬件串口名称",
  17. "type": "string",
  18. "default": "环控主机一号串口",
  19. "placeholder": "请输入硬件串口名称",
  20. "description": "",
  21. "selection": []
  22. },
  23. {
  24. "label": "波特率",
  25. "type": "select",
  26. "default": 0,
  27. "placeholder": "请输入串口名称",
  28. "description": "",
  29. "selection": [
  30. {
  31. "value": 0,
  32. "label": "9600"
  33. },
  34. {
  35. "value": 1,
  36. "label": "19200"
  37. },
  38. {
  39. "value": 2,
  40. "label": "38400"
  41. },
  42. {
  43. "value": 3,
  44. "label": "57600"
  45. },
  46. {
  47. "value": 4,
  48. "label": "115200"
  49. }
  50. ]
  51. },
  52. {
  53. "id": 4,
  54. "label": "停止位",
  55. "type": "select",
  56. "default": 0,
  57. "placeholder": "请输入选择停止位",
  58. "description": "",
  59. "selection": [
  60. {
  61. "value": 0,
  62. "label": "1位"
  63. },
  64. {
  65. "value": 1,
  66. "label": "2位"
  67. }
  68. ]
  69. },
  70. {
  71. "id": 5,
  72. "label": "停止位",
  73. "type": "select",
  74. "default": 0,
  75. "placeholder": "请输入选择停止位",
  76. "description": "",
  77. "selection": [
  78. {
  79. "value": 0,
  80. "label": "1位"
  81. },
  82. {
  83. "value": 1,
  84. "label": "2位"
  85. }
  86. ]
  87. },
  88. {
  89. "id": 6,
  90. "label": "校验方式",
  91. "type": "select",
  92. "default": 0,
  93. "placeholder": "请输入选择校验方式",
  94. "description": "",
  95. "selection": [
  96. {
  97. "value": 0,
  98. "label": "无校验"
  99. },
  100. {
  101. "value": 1,
  102. "label": "奇校验"
  103. },
  104. {
  105. "value": 2,
  106. "label": "偶校验"
  107. }
  108. ]
  109. },
  110. {
  111. "key": 7,
  112. "label": "数据位",
  113. "type": "select",
  114. "default": 0,
  115. "placeholder": "请输入选择数据位",
  116. "description": "",
  117. "selection": [
  118. {
  119. "value": 0,
  120. "label": "5"
  121. },
  122. {
  123. "value": 1,
  124. "label": "6"
  125. },
  126. {
  127. "value": 2,
  128. "label": "7"
  129. },
  130. {
  131. "value": 3,
  132. "label": "8"
  133. }
  134. ]
  135. }
  136. ]
  137. }