config.json 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. {
  2. //修改项目时 数据库,rabbitmq队列等也要一并修改
  3. // 项目名称,决定调用哪一个check,厦门上古街(xm_sgj),贵阳碧海花园(gy_bhhy)
  4. "project_name": "xm_sgj",
  5. // 数据库配置
  6. "db_config": {
  7. //数据库IP地址
  8. "db_ip": "127.0.0.1",
  9. // 端口号
  10. "db_port": 3306,
  11. // 数据库名
  12. "db_name": "xm_project",
  13. // 用户名
  14. "db_user": "zx",
  15. // 用户密码
  16. "db_password": "123456"
  17. },
  18. // rabbitmq配置
  19. "mq_config": {
  20. // rabbitmq服务器ip地址
  21. "mq_ip": "127.0.0.1",
  22. // 端口
  23. "mq_port": "5672",
  24. // 用户名
  25. "mq_user": "zx",
  26. // 用户密码
  27. "mq_password": "123456",
  28. //指令交换机名
  29. "mq_command_exchange_name": "command_ex",
  30. //状态交换机名
  31. "mq_statu_exchange_name": "statu_ex",
  32. // //态交换机需要订阅的端口列表
  33. "mq_statu_exchange_keys": [["statu_ex","dispatch_11_statu_port"],
  34. ["statu_ex","dispatch_12_statu_port"],
  35. ["statu_ex","dispatch_13_statu_port"],
  36. ["statu_ex","dispatch_14_statu_port"],
  37. ["statu_ex","dispatch_21_statu_port"],
  38. ["statu_ex","dispatch_22_statu_port"],
  39. ["statu_ex","dispatch_23_statu_port"],
  40. ["statu_ex","dispatch_24_statu_port"],
  41. ["statu_ex","dispatch_25_statu_port"],
  42. ["statu_ex","dispatch_31_statu_port"],
  43. ["statu_ex","dispatch_32_statu_port"]
  44. ]
  45. //态交换机需要订阅的端口列表 贵阳的
  46. // "mq_statu_exchange_keys": [["statu_ex","dispatch_1_statu_port"],
  47. // ["statu_ex","dispatch_2_statu_port"]]
  48. },
  49. // LED配置 //所有LED屏配置
  50. "led_config": { "led_list_all":{"1": [{"ip": "192.168.1.169", "port": 5005}],
  51. "2": [{"ip": "192.168.1.169", "port": 5005}],
  52. "11": [{"ip": "192.168.1.169", "port": 5005}],
  53. "12": [{"ip": "10.211.12.103", "port": 5005}, {"ip": "10.211.12.104", "port": 5005}],
  54. "13": [{"ip": "192.168.1.169", "port": 5005}, {"ip": "192.168.1.169", "port": 5005}],
  55. "14": [{"ip": "192.168.1.169", "port": 5005}, {"ip": "192.168.1.169", "port": 5005}],
  56. "21": [{"ip": "192.168.1.169", "port": 5005}, {"ip": "192.168.1.169", "port": 5005}],
  57. "22": [{"ip": "192.168.1.169", "port": 5005}, {"ip": "192.168.1.169", "port": 5005}],
  58. "23": [{"ip": "192.168.1.169", "port": 5005}, {"ip": "192.168.1.169", "port": 5005}],
  59. "24": [{"ip": "192.168.1.169", "port": 5005}, {"ip": "192.168.1.169", "port": 5005}],
  60. "25": [{"ip": "10.211.25.103", "port": 5005}],
  61. "31": [{"ip": "10.211.31.103", "port": 5005}, {"ip": "10.211.31.104", "port": 5005}],
  62. "32": [{"ip": "192.168.1.169", "port": 5005}]
  63. },
  64. // 区域编号,区域左上角X坐标,区域左上角Y坐标,区域宽度,区域高度
  65. "area_list_all":{ "1": [
  66. [[0, 0, 32, 32],[32, 0, 224, 16],[32, 16, 224, 16]]
  67. ],
  68. "2": [
  69. [[0, 0, 32, 32],[32, 0, 224, 16],[32, 16, 224, 16]]
  70. ],
  71. "11": [
  72. [[0, 0, 32, 32],[32, 0, 224, 16],[32, 16, 224, 16]]
  73. ],
  74. "12": [
  75. [[0, 0, 32, 32],[32, 0, 224, 16],[32, 16, 224, 16]],
  76. [[0, 0, 32, 32],[32, 0, 224, 16],[32, 16, 224, 16]]
  77. ],
  78. "13": [
  79. [[0, 0, 32, 32],[32, 0, 224, 16],[32, 16, 224, 16]],
  80. [[0, 0, 32, 32],[32, 0, 224, 16],[32, 16, 224, 16]]
  81. ],
  82. "14": [
  83. [[0, 0, 32, 32],[32, 0, 224, 16],[32, 16, 224, 16]],
  84. [[0, 0, 32, 32],[32, 0, 224, 16],[32, 16, 224, 16]]
  85. ],
  86. "21": [
  87. [[0, 0, 32, 32],[32, 0, 224, 16],[32, 16, 224, 16]],
  88. [[0, 0, 32, 32],[32, 0, 224, 16],[32, 16, 224, 16]]
  89. ],
  90. "22": [
  91. [[0, 0, 32, 32],[32, 0, 224, 16],[32, 16, 224, 16]],
  92. [[0, 0, 32, 32],[32, 0, 224, 16],[32, 16, 224, 16]]
  93. ],
  94. "23": [
  95. [[0, 0, 32, 32],[32, 0, 224, 16],[32, 16, 224, 16]],
  96. [[0, 0, 32, 32],[32, 0, 224, 16],[32, 16, 224, 16]]
  97. ],
  98. "24": [
  99. [[0, 0, 32, 32],[32, 0, 224, 16],[32, 16, 224, 16]],
  100. [[0, 0, 32, 32],[32, 0, 224, 16],[32, 16, 224, 16]]
  101. ],
  102. "25": [
  103. [[0, 0, 32, 32],[32, 0, 224, 16],[32, 16, 224, 16]]
  104. ],
  105. "31": [
  106. [[0, 0, 64, 64],[64, 0, 512, 32],[64, 32, 512, 32]],
  107. [[0, 0, 32, 32],[32, 0, 224, 16],[32, 16, 224, 16]]
  108. ],
  109. "32": [
  110. [[0, 0, 32, 32],[32, 0, 224, 16],[32, 16, 224, 16]]
  111. ]
  112. },
  113. //哪个单元哪个口的LED屏
  114. "unit":12,
  115. "channel": 2
  116. }
  117. }