You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

86 lines
2.7KB

  1. {
  2. "AllowedHosts": "*",
  3. "ServiceConfig": {
  4. "TelpoDataUrl": "https://id.ssjlai.com/data/",
  5. "MqServerAddress": "172.19.42.53:9092"
  6. },
  7. "Appsettings": {
  8. "DefaultDurationSeconds": 600, //10分钟
  9. "GaodeDurationSeconds": 3600, //1小时
  10. "WayzDurationSeconds": 3600, //1小时
  11. "DeviceTimeDeviationMillieconds": 3600000000000 //10000小时//360000000 //100小时
  12. },
  13. "ServiceAccessConfig": {
  14. "Enable": true, //总开关
  15. "EnableIotService": true,
  16. "EnableServiceGuard": true,
  17. "EnablePushWx": true,
  18. "EnablePushThird": true,
  19. "EnablePushPosition": true,
  20. "EnablePushHealthy": true,
  21. "EnablePushFast": true, // 快速通道
  22. "EnablePushFence": false,
  23. "EnableLocationMonitor": true, //定位监测(非法区域定位检测)
  24. "EnablePushIotPosition": true
  25. },
  26. "IOTConfig": {
  27. "Endpoint": "iot.cn-shanghai.aliyuncs.com",
  28. "AccessKey": "LTAI5tPY4hNiEb6RAerym1u9",
  29. "AccessSecret": "rlmnIxjCOFQ0RIGBfUT55HMf07jEb5",
  30. "iotInstanceId": "", //"iot-cn-nif1vosz501",
  31. "ConsumerGroupId": "bbQdnXQJIx2eCDjVbCIZ000100",
  32. "RegionId": "cn-shanghai",
  33. "ProductKey": "a18mXM6Cvx8",
  34. "UId": "1111649216405698",
  35. "clientId": "gateway_v1_",
  36. "Port": "5671",
  37. "ReconnectSeconds": "10"
  38. },
  39. "GaodeServices": {
  40. "Items": [
  41. {
  42. "EnableConfig": true,
  43. "Corporation": "测试",
  44. "GaodeRegeoKey": "9c61f4af161baacbbe1571d0a269a701", //Web服务
  45. "GaodeWifiKey": "273d185c6c1e1e67e3233074f65047be", //智能硬件
  46. "GaodeRegeoUrl": "http://restapi.amap.com/v3/geocode/regeo?key={0}&location={1},{2}&poitype=&radius=1000&extensions=all&batch=false&roadlevel=0",
  47. "GaodeWifiUrl": "http://apilocate.amap.com/position?accesstype={0}&cdma=0&network=gsm&macs={1}&key={2}"
  48. }
  49. ]
  50. },
  51. "WayzServices": {
  52. "Items": [
  53. {
  54. "EnableConfig": true,
  55. "AccessKey": "OK73jLa48dU9V3EvNN1RLpdjcVOdIEcn", // zkey
  56. // https://api.newayz.com/location/hub/v1/track_points
  57. // ?access_key=e4xRaM7H9XgFa9JYs2LpFpPetBIoteBY
  58. // &field_masks=location.position
  59. //"PositionUrl": "https://api.newayz.com/location/hub/v1/track_points?access_key={0}&field_masks={1}"
  60. //"PositionUrl": "https://api.newayz.com/location/hub/v1/track_points?access_key={0}&field_masks=location.position"
  61. "PositionUrl": "https://api.newayz.com/location/hub/v1/track_points?access_key={0}"
  62. }
  63. ]
  64. },
  65. "Redis": {
  66. "Server": "172.19.42.44:8090",
  67. "Password": "telpo#1234",
  68. "DefaultDatabase": 10,
  69. "Poolsize": 100,
  70. "Preheat": 20,
  71. "Prefix": "_GW_",
  72. "ConnectTimeout": 5000,
  73. "IdleTimeout": 20000
  74. },
  75. "WifiParam": {
  76. "StepParam": "0.6", //每一步代表多少米,
  77. "ThresholdSteps": 60, //lbs过滤阈值(步数)
  78. "StartOne": "06:30", //在以下时间段的,wifi信息都不过滤
  79. "EndOne": "11:35",
  80. "StartTwo": "14:00",
  81. "EndTwo": "21:00"
  82. }
  83. }