5.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. {
  2. "tid":5,
  3. "version":1,
  4. "device":"液位计",
  5. "model":"CSB-SW",
  6. "protocol":"ModbusRTU",
  7. "packet":{
  8. "1":{
  9. "code":3,
  10. "addr":0,
  11. "quantity":3,
  12. "resplen":6,
  13. "cycle":5000
  14. }
  15. },
  16. "DataUp":[
  17. {
  18. "sid":1,
  19. "name":"distance",
  20. "namezh":"距离",
  21. "unit":"mm",
  22. "endian":0,
  23. "type":2,
  24. "ratio":1,
  25. "base":0,
  26. "uplimit":0,
  27. "lowlimit":0,
  28. "cid":1,
  29. "start":0,
  30. "len":2,
  31. "alarm":0,
  32. "duration":0,
  33. "desc":null,
  34. "bit":0
  35. },
  36. {
  37. "sid":2,
  38. "name":"depth",
  39. "namezh":"液位",
  40. "unit":"mm",
  41. "endian":0,
  42. "type":0,
  43. "ratio":0,
  44. "base":0,
  45. "uplimit":0,
  46. "lowlimit":0,
  47. "cid":0,
  48. "start":0,
  49. "len":0,
  50. "alarm":0,
  51. "duration":0,
  52. "desc":null,
  53. "bit":0
  54. },
  55. {
  56. "sid":3,
  57. "name":"temperature",
  58. "namezh":"温度",
  59. "unit":"℃",
  60. "endian":0,
  61. "type":2,
  62. "ratio":100,
  63. "base":0,
  64. "uplimit":0,
  65. "lowlimit":0,
  66. "cid":1,
  67. "start":4,
  68. "len":2,
  69. "alarm":0,
  70. "duration":0,
  71. "desc":null,
  72. "bit":0
  73. }
  74. ]
  75. }