Files
ECAP_Server/config/config2.json
T
2026-06-25 15:44:25 +08:00

252 lines
6.5 KiB
JSON

{
"version": "v1.0.4",
"dsp": {
"library_path": "@/dll_source.dll",
"center_freq": 16000000,
"band_width": 6000,
"sample_rate": 60000,
"fft_point_number": 2048,
"fft_period_ms": 50,
"fft_win_type": "blkmc",
"url": "0.0.0.0",
"port": 6000,
"power_min": -380,
"power_max": 120,
"power_offset": -166,
"frame_rate": 60,
"debug": false,
"demod_mode": "LSB",
"audio_gain": 30,
"color_gain": 120
},
"drogon": {
"app": {
"threads_num": 0,
"client_max_body_size": "1000M",
"client_max_memory_body_size": "1000M"
}
},
"mlat": {
"enable": false,
"merge": false,
"library_path": "@/mlat_source.dll",
"function_name": "adsb_read"
},
"web_server": {
"webapp": "@/wwwroot",
"tiles": "D:/tiles"
},
"device": {
"net": [
{
"key": "device",
"ip": "192.168.1.75",
"netmask": "255.255.255.0",
"gateway": "192.168.1.1",
"port": 80
},
{
"key": "wifi",
"ip": "192.168.10.193",
"netmask": "255.255.255.0",
"gateway": "192.168.10.1",
"port": 80
}
]
},
"mode_acs": {
"timeout_seconds": 160,
"max_speed_m_s": 1000,
"air_pos_timeout": 8,
"surface_pos_timeout": 32,
"read_milliseconds": 100,
"max_track_point_size": 20000,
"mode_s_max_num": 700000,
"mode_other_max_num": 10000,
"report_data_feed_msg_mum": 10000,
"default_min_aircraft_list_num": 10,
"ignore_df_11": true,
"monitor_msg_live": false,
"ecap_sqlite_path": "D:/ae/proj/projects/ECAP_Server/sqlite/ecap.sqlite",
"data_feed": {
"empty_wait_milliseconds": 30,
"packet_byte_size": 0,
"tcp_server_default_connect_user_buffer_size": 0,
"tcp_server_default_connect_system_buffer_size": 0,
"list": [
{
"key": "Port_10003",
"enable": true,
"type": "Data_Feed_TCP_Server",
"output_format": {
"type": "BIN",
"use_status": true,
"mode_s_output_type": "ALL_Mode_S",
"use_mode_ac": true,
"sbs_only_pos": true
},
"port": 10003,
"connect_user_buffer_size": 409600,
"connect_system_buffer_size": 409600
},
{
"key": "22333",
"enable": false,
"type": "Data_Feed_UDP_Server",
"output_format": {
"type": "BIN",
"use_status": false,
"mode_s_output_type": "ALL_Mode_S",
"use_mode_ac": false,
"sbs_only_pos": false
},
"port": 50001
},
{
"key": "Port_10004",
"enable": false,
"type": "Data_Feed_UDP_Client",
"output_format": {
"type": "AVR",
"use_status": false,
"mode_s_output_type": "DF_11_17_18",
"use_mode_ac": false,
"sbs_only_pos": true
},
"url": "192.168.1.75",
"port": 30004
},
{
"key": "Port_10005",
"enable": true,
"type": "Data_Feed_TCP_Client",
"output_format": {
"type": "BIN",
"use_status": true,
"mode_s_output_type": "NO_POS_Mode_S",
"use_mode_ac": true,
"sbs_only_pos": true
},
"url": "192.168.1.75",
"port": 10005
},
{
"key": "Port_30003",
"enable": false,
"type": "Data_Feed_TCP_Server",
"output_format": {
"type": "SBS",
"use_status": false,
"mode_s_output_type": "ALL_Mode_S",
"use_mode_ac": true,
"sbs_only_pos": true
},
"port": 30003,
"connect_user_buffer_size": 0,
"connect_system_buffer_size": 0
}
]
},
"data_source": {
"list": [
{
"key": "aaaa",
"enable": true,
"base_station_show": true,
"aircraft_show": true,
"color": "#d1a54c",
"aircraft_pixel_size": 20,
"lat": 37.000000,
"lon": 121.000000,
"alt": 0.000000,
"update_form_gps": false,
"type": "File_Data_Source",
"file_path": "D:\\ae\\proj\\projects\\ECAP_Server\\data\\BIN_Blank_Text\\ADS-B_195_0205.txt",
"data_type": "BIN_Blank_Text",
"play_mode": "one"
},
{
"key": "本地radarcape",
"enable": true,
"base_station_show": true,
"aircraft_show": true,
"color": "#cb3065",
"aircraft_pixel_size": 20,
"lat": 37.000000,
"lon": 121.000000,
"alt": 0.000000,
"update_form_gps": false,
"type": "TCP_Client_Data_Source",
"ip": "192.168.71.101",
"port": 10003
},
{
"key": "r205_113",
"enable": false,
"base_station_show": false,
"aircraft_show": true,
"color": "#661a30",
"aircraft_pixel_size": 30,
"lat": 37.000000,
"lon": 121.000000,
"alt": 0.000000,
"update_form_gps": false,
"type": "TCP_Client_Data_Source",
"ip": "192.168.205.113",
"port": 10003
},
{
"key": "102",
"enable": true,
"base_station_show": true,
"aircraft_show": true,
"color": "#186ce1",
"aircraft_pixel_size": 20,
"lat": 0.000000,
"lon": 0.000000,
"alt": 0.000000,
"update_form_gps": false,
"type": "TCP_Client_Data_Source",
"ip": "192.168.1.102",
"port": 10003
},
{
"key": "r205_116",
"enable": false,
"base_station_show": true,
"aircraft_show": true,
"color": "#d7c1b6a3",
"aircraft_pixel_size": 40,
"lat": 0.000000,
"lon": 0.000000,
"alt": 5394.960000,
"update_form_gps": true,
"type": "TCP_Client_Data_Source",
"ip": "192.168.205.116",
"port": 10003
}
]
},
"source_feed_relation": {
"list": [
{
"key": "key_10003",
"enable": true,
"type": "First_Source_To_All_Feed_Relation"
}
]
}
},
"log": {
"open_mode": "Delete",
"piece_num": 10,
"size_MB": 10
},
"console": {
"record_playback": false,
"mode_s_console": false,
"post_request": false,
"mlat_server": true
}
}