diff --git a/GpsCardGatewayPosition.Postion/GpsCardGatewayPosition.Postion.csproj b/GpsCardGatewayPosition.Postion/GpsCardGatewayPosition.Postion.csproj
index ea80d68..a5be095 100644
--- a/GpsCardGatewayPosition.Postion/GpsCardGatewayPosition.Postion.csproj
+++ b/GpsCardGatewayPosition.Postion/GpsCardGatewayPosition.Postion.csproj
@@ -9,12 +9,16 @@
+
+
+ PreserveNewest
+
PreserveNewest
diff --git a/GpsCardGatewayPosition.Postion/appsettings.chaos.json b/GpsCardGatewayPosition.Postion/appsettings.chaos.json
new file mode 100644
index 0000000..79ba4fc
--- /dev/null
+++ b/GpsCardGatewayPosition.Postion/appsettings.chaos.json
@@ -0,0 +1,85 @@
+{
+ "AllowedHosts": "*",
+ "ServiceConfig": {
+ "TelpoDataUrl": "http://192.168.12.134:6699",
+ "MqServerAddress": "192.168.12.124:9092,192.168.12.125:9092,192.168.12.126:9092"
+ },
+ "Appsettings": {
+ "DefaultDurationSeconds": 600, //10分钟
+ "GaodeDurationSeconds": 3600, //1小时
+ "WayzDurationSeconds": 3600, //1小时
+ "DeviceTimeDeviationMillieconds": 3600000000000 //10000小时//360000000 //100小时
+ },
+ "ServiceAccessConfig": {
+ "Enable": true, //总开关
+ "EnableIotService": false,
+ "EnableServiceGuard": true,
+ "EnablePushWx": true,
+ "EnablePushThird": true,
+ "EnablePushHealthy": true,
+ "EnablePushFast": true, // 快速通道
+ "EnablePushFence": true,
+ "EnableLocationMonitor": false, //定位监测(非法区域定位检测)
+ "EnablePushIotPosition": true
+ },
+ "IOTConfig": {
+ "Endpoint": "iot.cn-shanghai.aliyuncs.com",
+ "AccessKey": "LTAI5tPY4hNiEb6RAerym1u9",
+ "AccessSecret": "rlmnIxjCOFQ0RIGBfUT55HMf07jEb5",
+ "iotInstanceId": "iot-cn-nif1vosz501",
+ "ConsumerGroupId": "0ZQFQv0QreC7WALTEWad000100",
+ "RegionId": "cn-shanghai",
+ "ProductKey": "a18mXM6Cvx8",
+ "UId": "1111649216405698",
+ "clientId": "gateway_presure_",
+ "Port": "5671",
+ "ReconnectSeconds": "10",
+ "MaxDegreeOfParallelism": "3"
+ },
+ "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.12.127: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"
+ }
+
+}