gateway_server_protocol.json.backup 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452
  1. [
  2. {
  3. "key": "PROTOCAL-RS-485-RTU",
  4. "type": "RS-485-RTU",
  5. "communication_id": "1",
  6. "name": "RS-485-RTU 规约 123 ",
  7. "description": " ",
  8. "properties": [
  9. {
  10. "id": 1,
  11. "key": "_CLEAN",
  12. "name": "通信中断数据是否清零",
  13. "type": "select",
  14. "default": 0,
  15. "placeholder": "请选择通信中断数据是否清零",
  16. "description": "",
  17. "selections": [
  18. {
  19. "value": 0,
  20. "name": "9600"
  21. },
  22. {
  23. "value": 1,
  24. "name": "19200"
  25. }
  26. ]
  27. },
  28. {
  29. "id": 2,
  30. "name": "发送时间间隔(ms)",
  31. "type": "double",
  32. "default": 0,
  33. "placeholder": "输入发送时间间隔(ms)",
  34. "description": "",
  35. "selections": []
  36. },
  37. {
  38. "id": 3,
  39. "name": "超时时间(ms)",
  40. "type": "double",
  41. "default": 0,
  42. "placeholder": "输入发送时间间隔(ms)",
  43. "description": "",
  44. "selections": []
  45. },
  46. {
  47. "id": 4,
  48. "name": "地址字节长度",
  49. "type": "integer",
  50. "default": 0,
  51. "placeholder": "请输入地址字节长度",
  52. "description": "",
  53. "selections": []
  54. },
  55. {
  56. "id": 4,
  57. "key": "Endianness",
  58. "name": "地址字节序",
  59. "type": "select",
  60. "default": 0,
  61. "placeholder": "请选择地址字节序",
  62. "description": "",
  63. "selections": [
  64. {
  65. "value": 0,
  66. "name": "前高后低"
  67. },
  68. {
  69. "value": 1,
  70. "name": "前低后高"
  71. }
  72. ]
  73. },
  74. {
  75. "id": 5,
  76. "name": "功能码字节长度",
  77. "type": "integer",
  78. "default": 0,
  79. "placeholder": "请输入功能码字节长度",
  80. "description": "",
  81. "selections": []
  82. },
  83. {
  84. "id": 6,
  85. "key": "Endianness",
  86. "name": "功能码字节序",
  87. "type": "select",
  88. "default": 0,
  89. "placeholder": "请选择功能码字节序",
  90. "description": "",
  91. "selections": [
  92. {
  93. "value": 0,
  94. "name": "前高后低"
  95. },
  96. {
  97. "value": 1,
  98. "name": "前低后高"
  99. }
  100. ]
  101. },
  102. {
  103. "id": 7,
  104. "key": "Endianness",
  105. "name": "校验码字节长度",
  106. "type": "string",
  107. "default": 0,
  108. "placeholder": "请输入校验码字节长度",
  109. "description": "",
  110. "selections": []
  111. },
  112. {
  113. "id": 8,
  114. "key": "Endianness",
  115. "name": "校验码字节序",
  116. "type": "select",
  117. "default": 0,
  118. "placeholder": "请选择校验码字节序",
  119. "description": "",
  120. "selections": [
  121. {
  122. "value": 0,
  123. "name": "前高后低"
  124. },
  125. {
  126. "value": 1,
  127. "name": "前低后高"
  128. }
  129. ]
  130. },
  131. {
  132. "id": 9,
  133. "key": "Endianness",
  134. "name": "校验方式",
  135. "type": "select",
  136. "default": 0,
  137. "placeholder": "请选择校验方式",
  138. "description": "",
  139. "selections": [
  140. {
  141. "value": 0,
  142. "name": "CRC校验"
  143. },
  144. {
  145. "value": 1,
  146. "name": "无校验"
  147. }
  148. ]
  149. }
  150. ]
  151. },
  152. {
  153. "key": "PROTOCAL-RS-485-RTU-1",
  154. "type": "RS-485-RTU",
  155. "communication_id": "1",
  156. "name": "RS-485-RTU 规约协议(1)",
  157. "description": " ",
  158. "properties": [
  159. {
  160. "id": 1,
  161. "key": "_CLEAN",
  162. "name": "通信中断数据是否清零",
  163. "type": "select",
  164. "default": 0,
  165. "placeholder": "请选择通信中断数据是否清零",
  166. "description": "",
  167. "selections": [
  168. {
  169. "value": 0,
  170. "name": "9600"
  171. },
  172. {
  173. "value": 1,
  174. "name": "19200"
  175. }
  176. ]
  177. },
  178. {
  179. "id": 2,
  180. "name": "发送时间间隔(ms)",
  181. "type": "double",
  182. "default": 0,
  183. "placeholder": "输入发送时间间隔(ms)",
  184. "description": "",
  185. "selections": []
  186. },
  187. {
  188. "id": 3,
  189. "name": "超时时间(ms)",
  190. "type": "double",
  191. "default": 0,
  192. "placeholder": "输入发送时间间隔(ms)",
  193. "description": "",
  194. "selections": []
  195. },
  196. {
  197. "id": 4,
  198. "name": "地址字节长度",
  199. "type": "integer",
  200. "default": 0,
  201. "placeholder": "请输入地址字节长度",
  202. "description": "",
  203. "selections": []
  204. },
  205. {
  206. "id": 4,
  207. "key": "Endianness",
  208. "name": "地址字节序",
  209. "type": "select",
  210. "default": 0,
  211. "placeholder": "请选择地址字节序",
  212. "description": "",
  213. "selections": [
  214. {
  215. "value": 0,
  216. "name": "前高后低"
  217. },
  218. {
  219. "value": 1,
  220. "name": "前低后高"
  221. }
  222. ]
  223. },
  224. {
  225. "id": 5,
  226. "name": "功能码字节长度",
  227. "type": "integer",
  228. "default": 0,
  229. "placeholder": "请输入功能码字节长度",
  230. "description": "",
  231. "selections": []
  232. },
  233. {
  234. "id": 6,
  235. "key": "Endianness",
  236. "name": "功能码字节序",
  237. "type": "select",
  238. "default": 0,
  239. "placeholder": "请选择功能码字节序",
  240. "description": "",
  241. "selections": [
  242. {
  243. "value": 0,
  244. "name": "前高后低"
  245. },
  246. {
  247. "value": 1,
  248. "name": "前低后高"
  249. }
  250. ]
  251. },
  252. {
  253. "id": 7,
  254. "key": "Endianness",
  255. "name": "校验码字节长度",
  256. "type": "string",
  257. "default": 0,
  258. "placeholder": "请输入校验码字节长度",
  259. "description": "",
  260. "selections": []
  261. },
  262. {
  263. "id": 8,
  264. "key": "Endianness",
  265. "name": "校验码字节序",
  266. "type": "select",
  267. "default": 0,
  268. "placeholder": "请选择校验码字节序",
  269. "description": "",
  270. "selections": [
  271. {
  272. "value": 0,
  273. "name": "前高后低"
  274. },
  275. {
  276. "value": 1,
  277. "name": "前低后高"
  278. }
  279. ]
  280. },
  281. {
  282. "id": 9,
  283. "key": "Endianness",
  284. "name": "校验方式",
  285. "type": "select",
  286. "default": 0,
  287. "placeholder": "请选择校验方式",
  288. "description": "",
  289. "selections": [
  290. {
  291. "value": 0,
  292. "name": "CRC校验"
  293. },
  294. {
  295. "value": 1,
  296. "name": "无校验"
  297. }
  298. ]
  299. }
  300. ]
  301. },
  302. {
  303. "key": "PROTOCAL-RS-485-RTU-2",
  304. "type": "RS-485-RTU",
  305. "communication_id": "1",
  306. "name": "RS-485-RTU 规约协议(2)",
  307. "description": " ",
  308. "properties": [
  309. {
  310. "id": 1,
  311. "key": "_CLEAN",
  312. "name": "通信中断数据是否清零",
  313. "type": "select",
  314. "default": 0,
  315. "placeholder": "请选择通信中断数据是否清零",
  316. "description": "",
  317. "selections": [
  318. {
  319. "value": 0,
  320. "name": "9600"
  321. },
  322. {
  323. "value": 1,
  324. "name": "19200"
  325. }
  326. ]
  327. },
  328. {
  329. "id": 2,
  330. "name": "发送时间间隔(ms)",
  331. "type": "double",
  332. "default": 0,
  333. "placeholder": "输入发送时间间隔(ms)",
  334. "description": "",
  335. "selections": []
  336. },
  337. {
  338. "id": 3,
  339. "name": "超时时间(ms)",
  340. "type": "double",
  341. "default": 0,
  342. "placeholder": "输入发送时间间隔(ms)",
  343. "description": "",
  344. "selections": []
  345. },
  346. {
  347. "id": 4,
  348. "name": "地址字节长度",
  349. "type": "integer",
  350. "default": 0,
  351. "placeholder": "请输入地址字节长度",
  352. "description": "",
  353. "selections": []
  354. },
  355. {
  356. "id": 4,
  357. "key": "Endianness",
  358. "name": "地址字节序",
  359. "type": "select",
  360. "default": 0,
  361. "placeholder": "请选择地址字节序",
  362. "description": "",
  363. "selections": [
  364. {
  365. "value": 0,
  366. "name": "前高后低"
  367. },
  368. {
  369. "value": 1,
  370. "name": "前低后高"
  371. }
  372. ]
  373. },
  374. {
  375. "id": 5,
  376. "name": "功能码字节长度",
  377. "type": "integer",
  378. "default": 0,
  379. "placeholder": "请输入功能码字节长度",
  380. "description": "",
  381. "selections": []
  382. },
  383. {
  384. "id": 6,
  385. "key": "Endianness",
  386. "name": "功能码字节序",
  387. "type": "select",
  388. "default": 0,
  389. "placeholder": "请选择功能码字节序",
  390. "description": "",
  391. "selections": [
  392. {
  393. "value": 0,
  394. "name": "前高后低"
  395. },
  396. {
  397. "value": 1,
  398. "name": "前低后高"
  399. }
  400. ]
  401. },
  402. {
  403. "id": 7,
  404. "key": "Endianness",
  405. "name": "校验码字节长度",
  406. "type": "string",
  407. "default": 0,
  408. "placeholder": "请输入校验码字节长度",
  409. "description": "",
  410. "selections": []
  411. },
  412. {
  413. "id": 8,
  414. "key": "Endianness",
  415. "name": "校验码字节序",
  416. "type": "select",
  417. "default": 0,
  418. "placeholder": "请选择校验码字节序",
  419. "description": "",
  420. "selections": [
  421. {
  422. "value": 0,
  423. "name": "前高后低"
  424. },
  425. {
  426. "value": 1,
  427. "name": "前低后高"
  428. }
  429. ]
  430. },
  431. {
  432. "id": 9,
  433. "key": "Endianness",
  434. "name": "校验方式",
  435. "type": "select",
  436. "default": 0,
  437. "placeholder": "请选择校验方式",
  438. "description": "",
  439. "selections": [
  440. {
  441. "value": 0,
  442. "name": "CRC校验"
  443. },
  444. {
  445. "value": 1,
  446. "name": "无校验"
  447. }
  448. ]
  449. }
  450. ]
  451. }
  452. ]