device.json 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. {
  2. "name": "本地气象设备通道",
  3. "description": "测试",
  4. "devices": [
  5. {
  6. "slaveId": 1,
  7. "name": "本地气象设备",
  8. "model": "EM-3000",
  9. "description": "",
  10. "registers": [
  11. {
  12. "address": 0,
  13. "area": "COIL",
  14. "type": "BINARY",
  15. "description": "设备运行/停止控制"
  16. },
  17. {
  18. "address": 1,
  19. "area": "COIL",
  20. "type": "BINARY",
  21. "description": "故障报警状态1"
  22. },
  23. {
  24. "address": 2,
  25. "area": "COIL",
  26. "type": "BINARY",
  27. "description": "故障报警状态2"
  28. },
  29. {
  30. "address": 3,
  31. "area": "COIL",
  32. "type": "BINARY",
  33. "description": "故障报警状态3"
  34. },
  35. {
  36. "address": 30001,
  37. "area": "INPUT",
  38. "type": "TWO_BYTE_INT_UNSIGNED",
  39. "description": "水平面总辐照度"
  40. },
  41. {
  42. "address": 30002,
  43. "area": "INPUT",
  44. "type": "TWO_BYTE_INT_UNSIGNED",
  45. "description": "斜面辐照度"
  46. },
  47. {
  48. "address": 30003,
  49. "area": "INPUT",
  50. "type": "TWO_BYTE_INT_UNSIGNED",
  51. "description": "温度"
  52. },
  53. {
  54. "address": 30004,
  55. "area": "INPUT",
  56. "type": "TWO_BYTE_INT_UNSIGNED",
  57. "description": "气压"
  58. },
  59. {
  60. "address": 30005,
  61. "area": "INPUT",
  62. "type": "TWO_BYTE_INT_UNSIGNED",
  63. "description": "湿度"
  64. },
  65. {
  66. "address": 30006,
  67. "area": "INPUT",
  68. "type": "TWO_BYTE_INT_UNSIGNED",
  69. "description": "风速"
  70. },
  71. {
  72. "address": 30007,
  73. "area": "INPUT",
  74. "type": "TWO_BYTE_INT_UNSIGNED",
  75. "description": "风向"
  76. }
  77. ]
  78. }
  79. ]
  80. }