Quellcode durchsuchen

添加配置文件

tags/pipeline-1.0.0
smallchi(Koike) vor 5 Jahren
Ursprung
Commit
7b454188d2
5 geänderte Dateien mit 99 neuen und 0 gelöschten Zeilen
  1. +29
    -0
      simples/JT808.Gateway.SimpleServer/appsettings.json
  2. +24
    -0
      src/JT808.Gateway.Benchmark/JT808.Gateway.CleintBenchmark/appsettings.json
  3. +8
    -0
      src/JT808.Gateway.Benchmark/JT808.Gateway.ServerBenchmark/appsettings.json
  4. +16
    -0
      src/JT808.Gateway.Tests/JT808.Gateway.NormalHosting/appsettings.json
  5. +22
    -0
      src/JT808.Gateway.Tests/JT808.Gateway.QueueHosting/appsettings.json

+ 29
- 0
simples/JT808.Gateway.SimpleServer/appsettings.json Datei anzeigen

@@ -0,0 +1,29 @@
{
"Logging": {
"IncludeScopes": false,
"Debug": {
"LogLevel": {
"Default": "Trace"
}
},
"Console": {
"LogLevel": {
"Default": "Trace"
}
}
},
"JT808Configuration": {
"TcpPort": 808,
"UdpPort": 808,
"WebApiPort": 828,
"WebApiToken": "smallchi518"
},
"RemoteServerOptions": {
"DataTransfer": [
{
"Host": "127.0.0.1:20000",
"TerminalNos": []
}
]
}
}

+ 24
- 0
src/JT808.Gateway.Benchmark/JT808.Gateway.CleintBenchmark/appsettings.json Datei anzeigen

@@ -0,0 +1,24 @@
{
"Logging": {
"IncludeScopes": false,
"Debug": {
"LogLevel": {
"Default": "Error"
}
},
"Console": {
"LogLevel": {
"Default": "Error"
}
}
},
"AllowedHosts": "*",
//"urls": "http://*:15004;",
"ClientBenchmarkOptions": {
"IP": "127.0.0.1",
"Port": 808,
"DeviceCount": 100,
"Interval": 1000,
"DeviceTemplate": 100000 //需要多台机器同时访问,那么可以根据这个避开重复终端号 100000-200000-300000
}
}

+ 8
- 0
src/JT808.Gateway.Benchmark/JT808.Gateway.ServerBenchmark/appsettings.json Datei anzeigen

@@ -0,0 +1,8 @@
{
"JT808Configuration": {
"TcpPort": 808,
"UdpPort": 808,
"MiniNumBufferSize": 102400,
"SoBacklog": 204800
}
}

+ 16
- 0
src/JT808.Gateway.Tests/JT808.Gateway.NormalHosting/appsettings.json Datei anzeigen

@@ -0,0 +1,16 @@
{
"JT808Configuration": {
"TcpPort": 808,
"UdpPort": 808,
"MiniNumBufferSize": 51200,
"SoBacklog": 65535
},
"RemoteServerOptions": {
"DataTransfer": [
{
"Host": "127.0.0.1:20000",
"TerminalNos": []
}
]
}
}

+ 22
- 0
src/JT808.Gateway.Tests/JT808.Gateway.QueueHosting/appsettings.json Datei anzeigen

@@ -0,0 +1,22 @@
{
"JT808Configuration": {
"TcpPort": 808,
"UdpPort": 808,
"MiniNumBufferSize": 51200,
"SoBacklog": 65535
},
"JT808MsgProducerConfig": {
"TopicName": "JT808Msg",
"BootstrapServers": "127.0.0.1:9092"
},
"JT808MsgReplyConsumerConfig": {
"TopicName": "JT808MsgReply",
"GroupId": "msgreply-group",
"EnableAutoCommit": true,
"BootstrapServers": "127.0.0.1:9092"
},
"JT808SessionProducerConfig": {
"TopicName": "JT808Session",
"BootstrapServers": "127.0.0.1:9092"
}
}

Laden…
Abbrechen
Speichern