|
- {
- "AllowedHosts": "*",
- "ServiceConfig": {
- "TelpoDataUrl": "http://172.16.192.26:6699",
- "MqServerAddress": "192.168.2.121:9092"
- },
- "Appsettings": {
- "DefaultDurationSeconds": 600, //10分钟
- "GaodeDurationSeconds": 3600, //1小时
- "WayzDurationSeconds": 3600, //1小时
- "DeviceTimeDeviationMillieconds": 3600000000000 //10000小时//360000000 //100小时
- },
- "ServiceAccessConfig": {
- "Enable": true, //总开关
- "EnableIotService": true,
- "EnableServiceGuard": true,
- "EnablePushWx": true,
- "EnablePushThird": true,
- "EnablePushPosition": true,
- "EnablePushHealthy": true,
- "EnablePushFast": true, // 快速通道
- "EnablePushFence": true,
- "EnableLocationMonitor": true, //定位监测(非法区域定位检测)
- "EnablePushIotPosition": true
- },
- "IOTConfig": {
- "Endpoint": "iot.cn-shanghai.aliyuncs.com",
- "AccessKey": "LTAI5tPY4hNiEb6RAerym1u9",
- "AccessSecret": "rlmnIxjCOFQ0RIGBfUT55HMf07jEb5",
- "iotInstanceId": "", //"iot-cn-nif1vosz501",
- "ConsumerGroupId": "bbQdnXQJIx2eCDjVbCIZ000100",
- "RegionId": "cn-shanghai",
- "ProductKey": "a18mXM6Cvx8",
- "UId": "1111649216405698",
- "clientId": "gateway_v1_",
- "Port": "5671",
- "ReconnectSeconds": "10"
- },
- "GaodeServices": {
- "Items": [
- {
- "EnableConfig": true,
- "Corporation": "测试",
- "GaodeRegeoKey": "9c61f4af161baacbbe1571d0a269a701", //Web服务
- "GaodeWifiKey": "273d185c6c1e1e67e3233074f65047be", //智能硬件
- "GaodeRegeoUrl": "http://restapi.amap.com/v3/geocode/regeo?key={0}&location={1},{2}&poitype=&radius=1000&extensions=all&batch=false&roadlevel=0",
- "GaodeWifiUrl": "http://apilocate.amap.com/position?accesstype={0}&cdma=0&network=gsm&macs={1}&key={2}"
- }
- ]
- },
- "WayzServices": {
- "Items": [
- {
- "EnableConfig": true,
- "AccessKey": "OK73jLa48dU9V3EvNN1RLpdjcVOdIEcn", // zkey
- // https://api.newayz.com/location/hub/v1/track_points
- // ?access_key=e4xRaM7H9XgFa9JYs2LpFpPetBIoteBY
- // &field_masks=location.position
- //"PositionUrl": "https://api.newayz.com/location/hub/v1/track_points?access_key={0}&field_masks={1}"
- //"PositionUrl": "https://api.newayz.com/location/hub/v1/track_points?access_key={0}&field_masks=location.position"
- "PositionUrl": "https://api.newayz.com/location/hub/v1/track_points?access_key={0}"
- }
- ]
- },
-
- "Redis": {
- "Server": "192.168.2.121:8090",
- "Password": "telpo#1234",
- "DefaultDatabase": 10,
- "Poolsize": 100,
- "Preheat": 20,
- "Prefix": "_GW_",
- "ConnectTimeout": 5000,
- "IdleTimeout": 20000
- },
- "WifiParam": {
- "StepParam": "0.6", //每一步代表多少米,
- "ThresholdSteps": 60, //lbs过滤阈值(步数)
- "StartOne": "06:30", //在以下时间段的,wifi信息都不过滤
- "EndOne": "11:35",
- "StartTwo": "14:00",
- "EndTwo": "21:00"
- }
-
- }
|