{ "send": { "mode": "batch", "flushIntervalMs": 60000, "alignToMinute": true, "includeDeviceIdField": true, "deviceIdField": "n", "publishOnShutdown": true, "channels": [ "aliyun" ] }, "logging": { "enabled": true, "console": true, "dir": "./logs", "filePrefix": "jhm-service", "level": "info" }, "tcp": { "host": "0.0.0.0", "port": 9000, "maxConnections": 100, "socketTimeoutMs": 120000, "keepAlive": true, "keepAliveDelayMs": 10000, "noDelay": true, "backlog": 128, "maxBufferBytes": 8192 }, "mqtt": { "protocol": "mqtt", "host": "mqtt.ihemodialysis.com", "port": 62283, "username": "data", "password": "data#2018", "defaultTopicPrefix": "touxiji" }, "aliyun": { "enabled": true, "tupleApiBaseUrl": "https://things.icoldchain.cn", "tupleApiPath": "/device/info/getAliyunDeviceSecret", "autoRegister": true, "registerRetryMs": 60000, "connectTimeoutMs": 15000 }, "protocol": { "alModelPath": "./alModel.json", "bloodPressure": { "publishTime": true } }, "devices": [ { "deviceId": "JHM-001", "ip": "169.254.233.58", "备注": "1号透析机" }, { "deviceId": "JHM-002", "ip": "192.168.33.2", "备注": "2号透析机" }, { "deviceId": "JH-10235221005A", "ip": "127.0.0.1", "备注": "本机TCP模拟测试设备" } ] }