123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118 |
- {
- //修改项目时 数据库,rabbitmq队列等也要一并修改
- // 项目名称,决定调用哪一个check,厦门上古街(xm_sgj),贵阳碧海花园(gy_bhhy)
- "project_name": "xm_sgj",
- // 数据库配置
- "db_config": {
- //数据库IP地址
- "db_ip": "127.0.0.1",
- // 端口号
- "db_port": 3306,
- // 数据库名
- "db_name": "xm_project",
- // 用户名
- "db_user": "zx",
- // 用户密码
- "db_password": "123456"
- },
- // rabbitmq配置
- "mq_config": {
- // rabbitmq服务器ip地址
- "mq_ip": "127.0.0.1",
- // 端口
- "mq_port": "5672",
- // 用户名
- "mq_user": "zx",
- // 用户密码
- "mq_password": "123456",
- //指令交换机名
- "mq_command_exchange_name": "command_ex",
- //状态交换机名
- "mq_statu_exchange_name": "statu_ex",
- // //态交换机需要订阅的端口列表
- "mq_statu_exchange_keys": [["statu_ex","dispatch_11_statu_port"],
- ["statu_ex","dispatch_12_statu_port"],
- ["statu_ex","dispatch_13_statu_port"],
- ["statu_ex","dispatch_14_statu_port"],
- ["statu_ex","dispatch_21_statu_port"],
- ["statu_ex","dispatch_22_statu_port"],
- ["statu_ex","dispatch_23_statu_port"],
- ["statu_ex","dispatch_24_statu_port"],
- ["statu_ex","dispatch_25_statu_port"],
- ["statu_ex","dispatch_31_statu_port"],
- ["statu_ex","dispatch_32_statu_port"]
- ]
- //态交换机需要订阅的端口列表 贵阳的
- // "mq_statu_exchange_keys": [["statu_ex","dispatch_1_statu_port"],
- // ["statu_ex","dispatch_2_statu_port"]]
- },
- // LED配置 //所有LED屏配置
- "led_config": { "led_list_all":{"1": [{"ip": "192.168.1.169", "port": 5005}],
- "2": [{"ip": "192.168.1.169", "port": 5005}],
- "11": [{"ip": "192.168.1.169", "port": 5005}],
- "12": [{"ip": "10.211.12.103", "port": 5005}, {"ip": "10.211.12.104", "port": 5005}],
- "13": [{"ip": "192.168.1.169", "port": 5005}, {"ip": "192.168.1.169", "port": 5005}],
- "14": [{"ip": "192.168.1.169", "port": 5005}, {"ip": "192.168.1.169", "port": 5005}],
- "21": [{"ip": "192.168.1.169", "port": 5005}, {"ip": "192.168.1.169", "port": 5005}],
- "22": [{"ip": "192.168.1.169", "port": 5005}, {"ip": "192.168.1.169", "port": 5005}],
- "23": [{"ip": "192.168.1.169", "port": 5005}, {"ip": "192.168.1.169", "port": 5005}],
- "24": [{"ip": "192.168.1.169", "port": 5005}, {"ip": "192.168.1.169", "port": 5005}],
- "25": [{"ip": "10.211.25.103", "port": 5005}],
- "31": [{"ip": "10.211.31.103", "port": 5005}, {"ip": "10.211.31.104", "port": 5005}],
- "32": [{"ip": "192.168.1.169", "port": 5005}]
- },
- // 区域编号,区域左上角X坐标,区域左上角Y坐标,区域宽度,区域高度
- "area_list_all":{ "1": [
- [[0, 0, 32, 32],[32, 0, 224, 16],[32, 16, 224, 16]]
- ],
- "2": [
- [[0, 0, 32, 32],[32, 0, 224, 16],[32, 16, 224, 16]]
- ],
- "11": [
- [[0, 0, 32, 32],[32, 0, 224, 16],[32, 16, 224, 16]]
- ],
- "12": [
- [[0, 0, 32, 32],[32, 0, 224, 16],[32, 16, 224, 16]],
- [[0, 0, 32, 32],[32, 0, 224, 16],[32, 16, 224, 16]]
- ],
- "13": [
- [[0, 0, 32, 32],[32, 0, 224, 16],[32, 16, 224, 16]],
- [[0, 0, 32, 32],[32, 0, 224, 16],[32, 16, 224, 16]]
- ],
- "14": [
- [[0, 0, 32, 32],[32, 0, 224, 16],[32, 16, 224, 16]],
- [[0, 0, 32, 32],[32, 0, 224, 16],[32, 16, 224, 16]]
- ],
- "21": [
- [[0, 0, 32, 32],[32, 0, 224, 16],[32, 16, 224, 16]],
- [[0, 0, 32, 32],[32, 0, 224, 16],[32, 16, 224, 16]]
- ],
- "22": [
- [[0, 0, 32, 32],[32, 0, 224, 16],[32, 16, 224, 16]],
- [[0, 0, 32, 32],[32, 0, 224, 16],[32, 16, 224, 16]]
- ],
- "23": [
- [[0, 0, 32, 32],[32, 0, 224, 16],[32, 16, 224, 16]],
- [[0, 0, 32, 32],[32, 0, 224, 16],[32, 16, 224, 16]]
- ],
- "24": [
- [[0, 0, 32, 32],[32, 0, 224, 16],[32, 16, 224, 16]],
- [[0, 0, 32, 32],[32, 0, 224, 16],[32, 16, 224, 16]]
- ],
- "25": [
- [[0, 0, 32, 32],[32, 0, 224, 16],[32, 16, 224, 16]]
- ],
- "31": [
- [[0, 0, 64, 64],[64, 0, 512, 32],[64, 32, 512, 32]],
- [[0, 0, 32, 32],[32, 0, 224, 16],[32, 16, 224, 16]]
- ],
- "32": [
- [[0, 0, 32, 32],[32, 0, 224, 16],[32, 16, 224, 16]]
- ]
- },
- //哪个单元哪个口的LED屏
- "unit":12,
- "channel": 2
- }
- }
|