diff --git a/config/xin_shun_jie.json b/config/xin_shun_jie.json new file mode 100644 index 0000000..990810b --- /dev/null +++ b/config/xin_shun_jie.json @@ -0,0 +1,123 @@ +{ + "name": "鑫顺洁", + "delay": 0, + "daemon": true, + "httpSvr": { + "port": 11000 + }, + "oss": { + "endpoint": "oss-cn-shanghai.aliyuncs.com", + "bucketName": "cdn-xxj", + "ak": "LTAI5tJJu2WayYchExrT5W1E", + "sk": "zllX0ZJ1EwsZXT6dE6swCLgTF4ImGg" + }, + "mqtts": [ + { + "sn": "local", + "name": "本地", + "server": "127.0.0.1", + "port": 1883, + "clientId": "local", + "username": "dcs", + "password": "123456", + "subscribes": [ + { + "topic": "stop", + "qos": 0 + } + ] + }, + { + "sn": "remote", + "name": "远程", + "server": "api.xinsunjie.com", + "port": 1883, + "clientId": "fyxxj", + "username": "dcs", + "password": "123456", + "subscribes": [ + { + "topic": "fyxxj/1/barrier", + "qos": 0 + }, + { + "topic": "fyxxj/1/voice", + "qos": 0 + } + ] + } + ], + "reportSvr": { + "server": "https://api.xinsunjie.com", + "passUrl": "/api/site/report-car-pass?debug=1", + "reportUrl": "/api/site/report-v2?debug=1" + }, + "barriers": [ + { + "name": "进前置", + "sn": "df49e16c-0df7e599", + "ip": "192.168.1.201", + "io": 0, + "platformScale": "1", + "soundColumn": "1", + "vidicon": "1" + }, + { + "name": "进", + "sn": "c530ba1b-8864f623", + "ip": "192.168.1.203", + "io": 0, + "platformScale": "1", + "soundColumn": "1", + "vidicon": "1" + }, + { + "name": "出前置", + "sn": "5af2a500-3189c20d", + "ip": "192.168.1.204", + "io": 0, + "platformScale": "1", + "soundColumn": "1", + "vidicon": "1" + }, + { + "name": "出", + "sn": "ec7c255a-c8baa779", + "ip": "192.168.1.202", + "io": 0, + "platformScale": "1", + "soundColumn": "1", + "vidicon": "1" + } + ], + "platformScales": [ + { + "sn": "1", + "name": "地磅", + "sample": 20, + "port": "COM7", + "baudRate": 9600, + "byteSize": 8, + "parity": 0, + "stopBits": 0 + } + ], + "soundColumns": [ + { + "sn": "1", + "name": "音柱", + "server": "http://192.168.1.205", + "path": "/v1/speech" + } + ], + "vidicons": [ + { + "sn": "1", + "name": "摄像头", + "ip": "192.168.1.206", + "port": 8000, + "username": "admin", + "passwd": "Yq250810" + } + ] +} \ No newline at end of file