Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

85 lines
2.7KB

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