4 Commits

Author SHA1 Message Date
TotMaxim
38529ac0cc Обновление контроля АФСП
Some checks failed
Локальный тест / test (push) Has been cancelled
2026-04-05 15:52:50 +03:00
TotMaxim
6db678b163 Смена литер фс в ПРД-К
Some checks failed
Локальный тест / test (push) Has been cancelled
2026-04-05 10:05:16 +03:00
TotMaxim
124b75dbde Обновленный конфиг для SkySensor
Some checks failed
Локальный тест / test (push) Has been cancelled
2026-04-05 09:37:05 +03:00
MaD_CaT
803d2eff4f Доработка ЭМС-ТГ, команда 9 для КАПС РПБ 2026-04-04 10:47:13 +03:00
14 changed files with 574 additions and 346 deletions

View File

@@ -9,13 +9,13 @@
"address": "127.0.0.1",
"coordinatesData": [
5,
null,
null,
null,
0,
null,
null,
null,
0,
0,
0,
0,
0,
0,
0,
0,
0,
@@ -51,16 +51,15 @@
"url": "127.0.0.1:2005"
},
"address": "127.0.0.1",
"antennaVariation": "0,0,0",
"coordinatesData": [
5,
0,
0,
0,
3,
null,
null,
null,
0,
0,
0,
0,
0,
0,
@@ -87,7 +86,7 @@
"defaultProfileIds": [
"1"
],
"enabled": true,
"enabled": false,
"forbiddenZones": [
{
"azimuth": 20,
@@ -170,12 +169,12 @@
"address": "192.168.0.93",
"coordinatesData": [
5,
60.06490470683785,
30.61574220657348,
0,
0,
0,
0,
0,
0,
60.06490470683785,
30.61574220657348,
0,
0,
0,
@@ -229,12 +228,12 @@
"antennaVariation": "0,0",
"coordinatesData": [
5,
60.06490470683785,
30.61574220657348,
0,
0,
0,
0,
0,
0,
60.06490470683785,
30.61574220657348,
0,
0,
0,
@@ -263,8 +262,7 @@
"frequency_step_hz": "200000",
"jump_delay_10ns": "0",
"start_freqency_hz": "2147483647",
"time_lfm_s": 5e-06,
"time_step_s": 1
"time_lfm_s": 5e-06
},
"default_jamming_task_parameters": {
"direction": {
@@ -279,8 +277,7 @@
"frequency_step_hz": "200000",
"jump_delay_10ns": "0",
"start_freqency_hz": "2147483647",
"time_lfm_s": 5e-06,
"time_step_s": 1
"time_lfm_s": 5e-06
},
"enable": true,
"id": 0,
@@ -297,7 +294,7 @@
"timeout_sec": 60
},
"enabled": true,
"functionZone": "{\"default_radius\":2000,\"geometries\":{\"0\":{\"desc\":\"\",\"function_type\":\"RadioReceive\",\"input_id\":0,\"radius\":2000,\"total_zone\":[\"0.0180002 1.9115e-7\",\"0.0177003 0.00310696\",\"0.0169007 0.00611367\",\"0.0156014 0.0089202\",\"0.0138022 0.0116269\",\"0.011603 0.0136825\",\"0.00900388 0.0157386\",\"0.0061044 0.0167927\",\"0.0031049 0.0177467\",\"5.11347e-6 0.0181494\",\"-0.0030951 0.01775\",\"-0.0061956 0.0167989\",\"-0.00899614 0.015697\",\"-0.011597 0.0136921\",\"-0.0137978 0.0116366\",\"-0.0155986 0.00892859\",\"-0.0168993 0.00611989\",\"-0.0176997 0.00311028\",\"-0.0179998 1.91357e-7\",\"-0.0176997 -0.0031099\",\"-0.0168993 -0.00621983\",\"-0.0155986 -0.00892821\",\"-0.0137978 -0.0116362\",\"-0.011597 -0.0136917\",\"-0.00899614 -0.0156966\",\"-0.0061956 -0.0167985\",\"-0.0030951 -0.0177496\",\"5.11326e-6 -0.018149\",\"0.0031049 -0.0177463\",\"0.0061044 -0.0167923\",\"0.00900388 -0.0157382\",\"0.011603 -0.0136821\",\"0.0138022 -0.0116265\",\"0.0156014 -0.00891982\",\"0.0169007 -0.00611328\",\"0.0177003 -0.00310658\"]}}}",
"functionZone": "{\"default_radius\":2000,\"geometries\":{\"0\":{\"desc\":\"\",\"function_type\":\"RadioReceive\",\"input_id\":0,\"radius\":2000,\"total_zone\":[\"60.0829 30.6157\",\"60.0826 30.622\",\"60.0818 30.628\",\"60.0805 30.6336\",\"60.0787 30.6391\",\"60.0765 30.6432\",\"60.0739 30.6473\",\"60.071 30.6494\",\"60.068 30.6513\",\"60.0649 30.6521\",\"60.0618 30.6513\",\"60.0587 30.6494\",\"60.0559 30.6472\",\"60.0533 30.6432\",\"60.0511 30.6391\",\"60.0493 30.6336\",\"60.048 30.628\",\"60.0472 30.622\",\"60.0469 30.6157\",\"60.0472 30.6095\",\"60.048 30.6033\",\"60.0493 30.5979\",\"60.0511 30.5924\",\"60.0533 30.5883\",\"60.0559 30.5843\",\"60.0587 30.5821\",\"60.0618 30.5802\",\"60.0649 30.5794\",\"60.068 30.5802\",\"60.071 30.5821\",\"60.0739 30.5842\",\"60.0765 30.5883\",\"60.0787 30.5924\",\"60.0805 30.5979\",\"60.0818 30.6035\",\"60.0826 30.6095\"]}}}",
"groupId": -1,
"impl_properties": {
"activatingTimeoutSec": 15,
@@ -381,12 +378,12 @@
"address": "192.168.0.93",
"coordinatesData": [
5,
60.06490470683785,
30.61574220657348,
0,
0,
0,
0,
0,
0,
60.06490470683785,
30.61574220657348,
0,
0,
0,
@@ -440,12 +437,12 @@
"antennaVariation": "0,0",
"coordinatesData": [
5,
60.06490470683785,
30.61574220657348,
0,
0,
0,
0,
0,
0,
60.06490470683785,
30.61574220657348,
0,
0,
0,
@@ -474,8 +471,7 @@
"frequency_step_hz": "200000",
"jump_delay_10ns": "0",
"start_freqency_hz": "0",
"time_lfm_s": 5e-06,
"time_step_s": 1
"time_lfm_s": 5e-06
},
"default_jamming_task_parameters": {
"direction": {
@@ -490,8 +486,7 @@
"frequency_step_hz": "200000",
"jump_delay_10ns": "0",
"start_freqency_hz": "0",
"time_lfm_s": 5e-06,
"time_step_s": 1
"time_lfm_s": 5e-06
},
"enable": true,
"id": 0,
@@ -508,7 +503,7 @@
"timeout_sec": 60
},
"enabled": true,
"functionZone": "{\"default_radius\":2000,\"geometries\":{\"0\":{\"desc\":\"\",\"function_type\":\"RadioReceive\",\"input_id\":0,\"radius\":2000,\"total_zone\":[\"0.0180002 1.9115e-7\",\"0.0177003 0.00310696\",\"0.0169007 0.00611367\",\"0.0156014 0.0089202\",\"0.0138022 0.0116269\",\"0.011603 0.0136825\",\"0.00900388 0.0157386\",\"0.0061044 0.0167927\",\"0.0031049 0.0177467\",\"5.11347e-6 0.0181494\",\"-0.0030951 0.01775\",\"-0.0061956 0.0167989\",\"-0.00899614 0.015697\",\"-0.011597 0.0136921\",\"-0.0137978 0.0116366\",\"-0.0155986 0.00892859\",\"-0.0168993 0.00611989\",\"-0.0176997 0.00311028\",\"-0.0179998 1.91357e-7\",\"-0.0176997 -0.0031099\",\"-0.0168993 -0.00621983\",\"-0.0155986 -0.00892821\",\"-0.0137978 -0.0116362\",\"-0.011597 -0.0136917\",\"-0.00899614 -0.0156966\",\"-0.0061956 -0.0167985\",\"-0.0030951 -0.0177496\",\"5.11326e-6 -0.018149\",\"0.0031049 -0.0177463\",\"0.0061044 -0.0167923\",\"0.00900388 -0.0157382\",\"0.011603 -0.0136821\",\"0.0138022 -0.0116265\",\"0.0156014 -0.00891982\",\"0.0169007 -0.00611328\",\"0.0177003 -0.00310658\"]}}}",
"functionZone": "{\"default_radius\":2000,\"geometries\":{\"0\":{\"desc\":\"\",\"function_type\":\"RadioReceive\",\"input_id\":0,\"radius\":2000,\"total_zone\":[\"60.0829 30.6157\",\"60.0826 30.622\",\"60.0818 30.628\",\"60.0805 30.6336\",\"60.0787 30.6391\",\"60.0765 30.6432\",\"60.0739 30.6473\",\"60.071 30.6494\",\"60.068 30.6513\",\"60.0649 30.6521\",\"60.0618 30.6513\",\"60.0587 30.6494\",\"60.0559 30.6472\",\"60.0533 30.6432\",\"60.0511 30.6391\",\"60.0493 30.6336\",\"60.048 30.628\",\"60.0472 30.622\",\"60.0469 30.6157\",\"60.0472 30.6095\",\"60.048 30.6033\",\"60.0493 30.5979\",\"60.0511 30.5924\",\"60.0533 30.5883\",\"60.0559 30.5843\",\"60.0587 30.5821\",\"60.0618 30.5802\",\"60.0649 30.5794\",\"60.068 30.5802\",\"60.071 30.5821\",\"60.0739 30.5842\",\"60.0765 30.5883\",\"60.0787 30.5924\",\"60.0805 30.5979\",\"60.0818 30.6035\",\"60.0826 30.6095\"]}}}",
"groupId": -1,
"impl_properties": {
"activatingTimeoutSec": 15,
@@ -592,12 +587,12 @@
"address": "192.168.0.93",
"coordinatesData": [
5,
60.06490470683785,
30.61574220657348,
0,
0,
0,
0,
0,
0,
60.06490470683785,
30.61574220657348,
0,
0,
0,
@@ -651,12 +646,12 @@
"antennaVariation": "0,0",
"coordinatesData": [
5,
60.06490470683785,
30.61574220657348,
0,
0,
0,
0,
0,
0,
60.06490470683785,
30.61574220657348,
0,
0,
0,
@@ -685,8 +680,7 @@
"frequency_step_hz": "200000",
"jump_delay_10ns": "0",
"start_freqency_hz": "4607182418800017408",
"time_lfm_s": 5e-06,
"time_step_s": 1
"time_lfm_s": 5e-06
},
"default_jamming_task_parameters": {
"direction": {
@@ -701,8 +695,7 @@
"frequency_step_hz": "200000",
"jump_delay_10ns": "0",
"start_freqency_hz": "4607182418800017408",
"time_lfm_s": 5e-06,
"time_step_s": 1
"time_lfm_s": 5e-06
},
"enable": true,
"id": 0,
@@ -719,7 +712,7 @@
"timeout_sec": 60
},
"enabled": true,
"functionZone": "{\"default_radius\":2000,\"geometries\":{\"0\":{\"desc\":\"\",\"function_type\":\"RadioReceive\",\"input_id\":0,\"radius\":2000,\"total_zone\":[\"0.0180002 1.9115e-7\",\"0.0177003 0.00310696\",\"0.0169007 0.00611367\",\"0.0156014 0.0089202\",\"0.0138022 0.0116269\",\"0.011603 0.0136825\",\"0.00900388 0.0157386\",\"0.0061044 0.0167927\",\"0.0031049 0.0177467\",\"5.11347e-6 0.0181494\",\"-0.0030951 0.01775\",\"-0.0061956 0.0167989\",\"-0.00899614 0.015697\",\"-0.011597 0.0136921\",\"-0.0137978 0.0116366\",\"-0.0155986 0.00892859\",\"-0.0168993 0.00611989\",\"-0.0176997 0.00311028\",\"-0.0179998 1.91357e-7\",\"-0.0176997 -0.0031099\",\"-0.0168993 -0.00621983\",\"-0.0155986 -0.00892821\",\"-0.0137978 -0.0116362\",\"-0.011597 -0.0136917\",\"-0.00899614 -0.0156966\",\"-0.0061956 -0.0167985\",\"-0.0030951 -0.0177496\",\"5.11326e-6 -0.018149\",\"0.0031049 -0.0177463\",\"0.0061044 -0.0167923\",\"0.00900388 -0.0157382\",\"0.011603 -0.0136821\",\"0.0138022 -0.0116265\",\"0.0156014 -0.00891982\",\"0.0169007 -0.00611328\",\"0.0177003 -0.00310658\"]}}}",
"functionZone": "{\"default_radius\":2000,\"geometries\":{\"0\":{\"desc\":\"\",\"function_type\":\"RadioReceive\",\"input_id\":0,\"radius\":2000,\"total_zone\":[\"60.0829 30.6157\",\"60.0826 30.622\",\"60.0818 30.628\",\"60.0805 30.6336\",\"60.0787 30.6391\",\"60.0765 30.6432\",\"60.0739 30.6473\",\"60.071 30.6494\",\"60.068 30.6513\",\"60.0649 30.6521\",\"60.0618 30.6513\",\"60.0587 30.6494\",\"60.0559 30.6472\",\"60.0533 30.6432\",\"60.0511 30.6391\",\"60.0493 30.6336\",\"60.048 30.628\",\"60.0472 30.622\",\"60.0469 30.6157\",\"60.0472 30.6095\",\"60.048 30.6033\",\"60.0493 30.5979\",\"60.0511 30.5924\",\"60.0533 30.5883\",\"60.0559 30.5843\",\"60.0587 30.5821\",\"60.0618 30.5802\",\"60.0649 30.5794\",\"60.068 30.5802\",\"60.071 30.5821\",\"60.0739 30.5842\",\"60.0765 30.5883\",\"60.0787 30.5924\",\"60.0805 30.5979\",\"60.0818 30.6035\",\"60.0826 30.6095\"]}}}",
"groupId": -1,
"impl_properties": {
"activatingTimeoutSec": 15,
@@ -803,12 +796,12 @@
"address": "192.168.0.93",
"coordinatesData": [
5,
60.06490470683785,
30.61574220657348,
0,
0,
0,
0,
0,
0,
60.06490470683785,
30.61574220657348,
0,
0,
0,
@@ -862,12 +855,12 @@
"antennaVariation": "0,0",
"coordinatesData": [
5,
60.06490470683785,
30.61574220657348,
0,
0,
0,
0,
0,
0,
60.06490470683785,
30.61574220657348,
0,
0,
0,
@@ -896,8 +889,7 @@
"frequency_step_hz": "200000",
"jump_delay_10ns": "0",
"start_freqency_hz": "111818694921568",
"time_lfm_s": 5e-06,
"time_step_s": 1
"time_lfm_s": 5e-06
},
"default_jamming_task_parameters": {
"direction": {
@@ -912,8 +904,7 @@
"frequency_step_hz": "200000",
"jump_delay_10ns": "0",
"start_freqency_hz": "111818694921568",
"time_lfm_s": 5e-06,
"time_step_s": 1
"time_lfm_s": 5e-06
},
"enable": true,
"id": 0,
@@ -930,7 +921,7 @@
"timeout_sec": 60
},
"enabled": true,
"functionZone": "{\"default_radius\":2000,\"geometries\":{\"0\":{\"desc\":\"\",\"function_type\":\"RadioReceive\",\"input_id\":0,\"radius\":2000,\"total_zone\":[\"0.0180002 1.9115e-7\",\"0.0177003 0.00310696\",\"0.0169007 0.00611367\",\"0.0156014 0.0089202\",\"0.0138022 0.0116269\",\"0.011603 0.0136825\",\"0.00900388 0.0157386\",\"0.0061044 0.0167927\",\"0.0031049 0.0177467\",\"5.11347e-6 0.0181494\",\"-0.0030951 0.01775\",\"-0.0061956 0.0167989\",\"-0.00899614 0.015697\",\"-0.011597 0.0136921\",\"-0.0137978 0.0116366\",\"-0.0155986 0.00892859\",\"-0.0168993 0.00611989\",\"-0.0176997 0.00311028\",\"-0.0179998 1.91357e-7\",\"-0.0176997 -0.0031099\",\"-0.0168993 -0.00621983\",\"-0.0155986 -0.00892821\",\"-0.0137978 -0.0116362\",\"-0.011597 -0.0136917\",\"-0.00899614 -0.0156966\",\"-0.0061956 -0.0167985\",\"-0.0030951 -0.0177496\",\"5.11326e-6 -0.018149\",\"0.0031049 -0.0177463\",\"0.0061044 -0.0167923\",\"0.00900388 -0.0157382\",\"0.011603 -0.0136821\",\"0.0138022 -0.0116265\",\"0.0156014 -0.00891982\",\"0.0169007 -0.00611328\",\"0.0177003 -0.00310658\"]}}}",
"functionZone": "{\"default_radius\":2000,\"geometries\":{\"0\":{\"desc\":\"\",\"function_type\":\"RadioReceive\",\"input_id\":0,\"radius\":2000,\"total_zone\":[\"60.0829 30.6157\",\"60.0826 30.622\",\"60.0818 30.628\",\"60.0805 30.6336\",\"60.0787 30.6391\",\"60.0765 30.6432\",\"60.0739 30.6473\",\"60.071 30.6494\",\"60.068 30.6513\",\"60.0649 30.6521\",\"60.0618 30.6513\",\"60.0587 30.6494\",\"60.0559 30.6472\",\"60.0533 30.6432\",\"60.0511 30.6391\",\"60.0493 30.6336\",\"60.048 30.628\",\"60.0472 30.622\",\"60.0469 30.6157\",\"60.0472 30.6095\",\"60.048 30.6033\",\"60.0493 30.5979\",\"60.0511 30.5924\",\"60.0533 30.5883\",\"60.0559 30.5843\",\"60.0587 30.5821\",\"60.0618 30.5802\",\"60.0649 30.5794\",\"60.068 30.5802\",\"60.071 30.5821\",\"60.0739 30.5842\",\"60.0765 30.5883\",\"60.0787 30.5924\",\"60.0805 30.5979\",\"60.0818 30.6035\",\"60.0826 30.6095\"]}}}",
"groupId": -1,
"impl_properties": {
"activatingTimeoutSec": 15,
@@ -1014,12 +1005,12 @@
"address": "192.168.0.93",
"coordinatesData": [
5,
60.06490470683785,
30.61574220657348,
0,
0,
0,
0,
0,
0,
60.06490470683785,
30.61574220657348,
0,
0,
0,
@@ -1073,12 +1064,12 @@
"antennaVariation": "0,0",
"coordinatesData": [
5,
60.06490470683785,
30.61574220657348,
0,
0,
0,
0,
0,
0,
60.06490470683785,
30.61574220657348,
0,
0,
0,
@@ -1107,8 +1098,7 @@
"frequency_step_hz": "200000",
"jump_delay_10ns": "0",
"start_freqency_hz": "126158551285552",
"time_lfm_s": 5e-06,
"time_step_s": 1
"time_lfm_s": 5e-06
},
"default_jamming_task_parameters": {
"direction": {
@@ -1123,8 +1113,7 @@
"frequency_step_hz": "200000",
"jump_delay_10ns": "0",
"start_freqency_hz": "126158551285552",
"time_lfm_s": 5e-06,
"time_step_s": 1
"time_lfm_s": 5e-06
},
"enable": true,
"id": 0,
@@ -1141,7 +1130,7 @@
"timeout_sec": 60
},
"enabled": true,
"functionZone": "{\"default_radius\":2000,\"geometries\":{\"0\":{\"desc\":\"\",\"function_type\":\"RadioReceive\",\"input_id\":0,\"radius\":2000,\"total_zone\":[\"0.0180002 1.9115e-7\",\"0.0177003 0.00310696\",\"0.0169007 0.00611367\",\"0.0156014 0.0089202\",\"0.0138022 0.0116269\",\"0.011603 0.0136825\",\"0.00900388 0.0157386\",\"0.0061044 0.0167927\",\"0.0031049 0.0177467\",\"5.11347e-6 0.0181494\",\"-0.0030951 0.01775\",\"-0.0061956 0.0167989\",\"-0.00899614 0.015697\",\"-0.011597 0.0136921\",\"-0.0137978 0.0116366\",\"-0.0155986 0.00892859\",\"-0.0168993 0.00611989\",\"-0.0176997 0.00311028\",\"-0.0179998 1.91357e-7\",\"-0.0176997 -0.0031099\",\"-0.0168993 -0.00621983\",\"-0.0155986 -0.00892821\",\"-0.0137978 -0.0116362\",\"-0.011597 -0.0136917\",\"-0.00899614 -0.0156966\",\"-0.0061956 -0.0167985\",\"-0.0030951 -0.0177496\",\"5.11326e-6 -0.018149\",\"0.0031049 -0.0177463\",\"0.0061044 -0.0167923\",\"0.00900388 -0.0157382\",\"0.011603 -0.0136821\",\"0.0138022 -0.0116265\",\"0.0156014 -0.00891982\",\"0.0169007 -0.00611328\",\"0.0177003 -0.00310658\"]}}}",
"functionZone": "{\"default_radius\":2000,\"geometries\":{\"0\":{\"desc\":\"\",\"function_type\":\"RadioReceive\",\"input_id\":0,\"radius\":2000,\"total_zone\":[\"60.0829 30.6157\",\"60.0826 30.622\",\"60.0818 30.628\",\"60.0805 30.6336\",\"60.0787 30.6391\",\"60.0765 30.6432\",\"60.0739 30.6473\",\"60.071 30.6494\",\"60.068 30.6513\",\"60.0649 30.6521\",\"60.0618 30.6513\",\"60.0587 30.6494\",\"60.0559 30.6472\",\"60.0533 30.6432\",\"60.0511 30.6391\",\"60.0493 30.6336\",\"60.048 30.628\",\"60.0472 30.622\",\"60.0469 30.6157\",\"60.0472 30.6095\",\"60.048 30.6033\",\"60.0493 30.5979\",\"60.0511 30.5924\",\"60.0533 30.5883\",\"60.0559 30.5843\",\"60.0587 30.5821\",\"60.0618 30.5802\",\"60.0649 30.5794\",\"60.068 30.5802\",\"60.071 30.5821\",\"60.0739 30.5842\",\"60.0765 30.5883\",\"60.0787 30.5924\",\"60.0805 30.5979\",\"60.0818 30.6035\",\"60.0826 30.6095\"]}}}",
"groupId": -1,
"impl_properties": {
"activatingTimeoutSec": 15,
@@ -1225,12 +1214,12 @@
"address": "192.168.0.93",
"coordinatesData": [
5,
60.06490470683785,
30.61574220657348,
0,
0,
0,
0,
0,
0,
60.06490470683785,
30.61574220657348,
0,
0,
0,
@@ -1284,12 +1273,12 @@
"antennaVariation": "0,0",
"coordinatesData": [
5,
60.06490470683785,
30.61574220657348,
0,
0,
0,
0,
0,
0,
60.06490470683785,
30.61574220657348,
0,
0,
0,
@@ -1318,8 +1307,7 @@
"frequency_step_hz": "200000",
"jump_delay_10ns": "0",
"start_freqency_hz": "8315457377388211488",
"time_lfm_s": 5e-06,
"time_step_s": 1
"time_lfm_s": 5e-06
},
"default_jamming_task_parameters": {
"direction": {
@@ -1334,8 +1322,7 @@
"frequency_step_hz": "200000",
"jump_delay_10ns": "0",
"start_freqency_hz": "8315457377388211488",
"time_lfm_s": 5e-06,
"time_step_s": 1
"time_lfm_s": 5e-06
},
"enable": true,
"id": 0,
@@ -1352,7 +1339,7 @@
"timeout_sec": 60
},
"enabled": true,
"functionZone": "{\"default_radius\":2000,\"geometries\":{\"0\":{\"desc\":\"\",\"function_type\":\"RadioReceive\",\"input_id\":0,\"radius\":2000,\"total_zone\":[\"0.0180002 1.9115e-7\",\"0.0177003 0.00310696\",\"0.0169007 0.00611367\",\"0.0156014 0.0089202\",\"0.0138022 0.0116269\",\"0.011603 0.0136825\",\"0.00900388 0.0157386\",\"0.0061044 0.0167927\",\"0.0031049 0.0177467\",\"5.11347e-6 0.0181494\",\"-0.0030951 0.01775\",\"-0.0061956 0.0167989\",\"-0.00899614 0.015697\",\"-0.011597 0.0136921\",\"-0.0137978 0.0116366\",\"-0.0155986 0.00892859\",\"-0.0168993 0.00611989\",\"-0.0176997 0.00311028\",\"-0.0179998 1.91357e-7\",\"-0.0176997 -0.0031099\",\"-0.0168993 -0.00621983\",\"-0.0155986 -0.00892821\",\"-0.0137978 -0.0116362\",\"-0.011597 -0.0136917\",\"-0.00899614 -0.0156966\",\"-0.0061956 -0.0167985\",\"-0.0030951 -0.0177496\",\"5.11326e-6 -0.018149\",\"0.0031049 -0.0177463\",\"0.0061044 -0.0167923\",\"0.00900388 -0.0157382\",\"0.011603 -0.0136821\",\"0.0138022 -0.0116265\",\"0.0156014 -0.00891982\",\"0.0169007 -0.00611328\",\"0.0177003 -0.00310658\"]}}}",
"functionZone": "{\"default_radius\":2000,\"geometries\":{\"0\":{\"desc\":\"\",\"function_type\":\"RadioReceive\",\"input_id\":0,\"radius\":2000,\"total_zone\":[\"60.0829 30.6157\",\"60.0826 30.622\",\"60.0818 30.628\",\"60.0805 30.6336\",\"60.0787 30.6391\",\"60.0765 30.6432\",\"60.0739 30.6473\",\"60.071 30.6494\",\"60.068 30.6513\",\"60.0649 30.6521\",\"60.0618 30.6513\",\"60.0587 30.6494\",\"60.0559 30.6472\",\"60.0533 30.6432\",\"60.0511 30.6391\",\"60.0493 30.6336\",\"60.048 30.628\",\"60.0472 30.622\",\"60.0469 30.6157\",\"60.0472 30.6095\",\"60.048 30.6033\",\"60.0493 30.5979\",\"60.0511 30.5924\",\"60.0533 30.5883\",\"60.0559 30.5843\",\"60.0587 30.5821\",\"60.0618 30.5802\",\"60.0649 30.5794\",\"60.068 30.5802\",\"60.071 30.5821\",\"60.0739 30.5842\",\"60.0765 30.5883\",\"60.0787 30.5924\",\"60.0805 30.5979\",\"60.0818 30.6035\",\"60.0826 30.6095\"]}}}",
"groupId": -1,
"impl_properties": {
"activatingTimeoutSec": 15,
@@ -1436,12 +1423,12 @@
"address": "192.168.0.93",
"coordinatesData": [
5,
60.06490470683785,
30.61574220657348,
0,
0,
0,
0,
0,
0,
60.06490470683785,
30.61574220657348,
0,
0,
0,
@@ -1495,12 +1482,12 @@
"antennaVariation": "0,0",
"coordinatesData": [
5,
60.06490470683785,
30.61574220657348,
0,
0,
0,
0,
0,
0,
60.06490470683785,
30.61574220657348,
0,
0,
0,
@@ -1529,8 +1516,7 @@
"frequency_step_hz": "200000",
"jump_delay_10ns": "0",
"start_freqency_hz": "30680773303284125",
"time_lfm_s": 5e-06,
"time_step_s": 1
"time_lfm_s": 5e-06
},
"default_jamming_task_parameters": {
"direction": {
@@ -1545,8 +1531,7 @@
"frequency_step_hz": "200000",
"jump_delay_10ns": "0",
"start_freqency_hz": "30680773303284125",
"time_lfm_s": 5e-06,
"time_step_s": 1
"time_lfm_s": 5e-06
},
"enable": true,
"id": 0,
@@ -1563,7 +1548,7 @@
"timeout_sec": 60
},
"enabled": true,
"functionZone": "{\"default_radius\":2000,\"geometries\":{\"0\":{\"desc\":\"\",\"function_type\":\"RadioReceive\",\"input_id\":0,\"radius\":2000,\"total_zone\":[\"0.0180002 1.9115e-7\",\"0.0177003 0.00310696\",\"0.0169007 0.00611367\",\"0.0156014 0.0089202\",\"0.0138022 0.0116269\",\"0.011603 0.0136825\",\"0.00900388 0.0157386\",\"0.0061044 0.0167927\",\"0.0031049 0.0177467\",\"5.11347e-6 0.0181494\",\"-0.0030951 0.01775\",\"-0.0061956 0.0167989\",\"-0.00899614 0.015697\",\"-0.011597 0.0136921\",\"-0.0137978 0.0116366\",\"-0.0155986 0.00892859\",\"-0.0168993 0.00611989\",\"-0.0176997 0.00311028\",\"-0.0179998 1.91357e-7\",\"-0.0176997 -0.0031099\",\"-0.0168993 -0.00621983\",\"-0.0155986 -0.00892821\",\"-0.0137978 -0.0116362\",\"-0.011597 -0.0136917\",\"-0.00899614 -0.0156966\",\"-0.0061956 -0.0167985\",\"-0.0030951 -0.0177496\",\"5.11326e-6 -0.018149\",\"0.0031049 -0.0177463\",\"0.0061044 -0.0167923\",\"0.00900388 -0.0157382\",\"0.011603 -0.0136821\",\"0.0138022 -0.0116265\",\"0.0156014 -0.00891982\",\"0.0169007 -0.00611328\",\"0.0177003 -0.00310658\"]}}}",
"functionZone": "{\"default_radius\":2000,\"geometries\":{\"0\":{\"desc\":\"\",\"function_type\":\"RadioReceive\",\"input_id\":0,\"radius\":2000,\"total_zone\":[\"60.0829 30.6157\",\"60.0826 30.622\",\"60.0818 30.628\",\"60.0805 30.6336\",\"60.0787 30.6391\",\"60.0765 30.6432\",\"60.0739 30.6473\",\"60.071 30.6494\",\"60.068 30.6513\",\"60.0649 30.6521\",\"60.0618 30.6513\",\"60.0587 30.6494\",\"60.0559 30.6472\",\"60.0533 30.6432\",\"60.0511 30.6391\",\"60.0493 30.6336\",\"60.048 30.628\",\"60.0472 30.622\",\"60.0469 30.6157\",\"60.0472 30.6095\",\"60.048 30.6033\",\"60.0493 30.5979\",\"60.0511 30.5924\",\"60.0533 30.5883\",\"60.0559 30.5843\",\"60.0587 30.5821\",\"60.0618 30.5802\",\"60.0649 30.5794\",\"60.068 30.5802\",\"60.071 30.5821\",\"60.0739 30.5842\",\"60.0765 30.5883\",\"60.0787 30.5924\",\"60.0805 30.5979\",\"60.0818 30.6035\",\"60.0826 30.6095\"]}}}",
"groupId": -1,
"impl_properties": {
"activatingTimeoutSec": 15,
@@ -1603,6 +1588,7 @@
},
"PelengatorsTaskParams": [
{
"is_paused": false,
"pelengator_task_Antenna": {
"field_caption": "",
"field_id": "Авто"
@@ -1635,6 +1621,7 @@
},
"PelengatorsTaskParams": [
{
"is_paused": false,
"pelengator_task_Antenna": {
"field_caption": "",
"field_id": "Авто"
@@ -1667,6 +1654,7 @@
},
"PelengatorsTaskParams": [
{
"is_paused": false,
"pelengator_task_Antenna": {
"field_caption": "",
"field_id": "Авто"
@@ -1742,17 +1730,16 @@
"url": "172.22.246.12:2006"
},
"address": "172.22.246.12",
"antennaVariation": "0,0,0",
"coordinatesData": [
5,
59.91069,
30.65539,
60.064529,
30.615309,
0,
0,
59.91069,
30.65539,
0,
60.064529,
30.615309,
0,
30,
0,
0,
0,
@@ -1781,7 +1768,7 @@
"enabled": true,
"forbiddenZones": [
],
"functionZone": "{\"default_radius\":5000,\"geometries\":{\"0\":{\"desc\":\"\",\"function_type\":\"RadioReceive\",\"input_id\":-1,\"radius\":5000,\"total_zone\":[\"59.9557 30.6554\",\"59.955 30.6709\",\"59.9529 30.6862\",\"59.9496 30.7003\",\"59.9451 30.7132\",\"59.9396 30.7242\",\"59.9332 30.7331\",\"59.926 30.7397\",\"59.9185 30.7437\",\"59.9107 30.7451\",\"59.9029 30.7437\",\"59.8953 30.7396\",\"59.8882 30.733\",\"59.8818 30.724\",\"59.8762 30.713\",\"59.8717 30.7001\",\"59.8684 30.686\",\"59.8664 30.6709\",\"59.8657 30.6554\",\"59.8664 30.6399\",\"59.8684 30.6248\",\"59.8717 30.6107\",\"59.8762 30.5978\",\"59.8818 30.5867\",\"59.8882 30.5778\",\"59.8953 30.5712\",\"59.9029 30.5671\",\"59.9107 30.5657\",\"59.9185 30.5671\",\"59.926 30.5711\",\"59.9332 30.5777\",\"59.9396 30.5866\",\"59.9451 30.5976\",\"59.9496 30.6105\",\"59.9529 30.6248\",\"59.955 30.6399\"]}}}",
"functionZone": "{\"default_radius\":5000,\"geometries\":{\"0\":{\"desc\":\"\",\"function_type\":\"RadioReceive\",\"input_id\":-1,\"radius\":5000,\"total_zone\":[\"60.1095 30.6153\",\"60.1088 30.6309\",\"60.1067 30.6463\",\"60.1034 30.6604\",\"60.0989 30.6734\",\"60.0934 30.6844\",\"60.087 30.6934\",\"60.0798 30.7\",\"60.0723 30.704\",\"60.0645 30.7054\",\"60.0567 30.704\",\"60.0491 30.6999\",\"60.042 30.6933\",\"60.0356 30.6842\",\"60.03 30.6732\",\"60.0255 30.6602\",\"60.0222 30.6461\",\"60.0202 30.6309\",\"60.0195 30.6153\",\"60.0202 30.5997\",\"60.0222 30.5846\",\"60.0255 30.5704\",\"60.03 30.5575\",\"60.0356 30.5463\",\"60.042 30.5374\",\"60.0491 30.5307\",\"60.0567 30.5266\",\"60.0645 30.5252\",\"60.0723 30.5266\",\"60.0798 30.5306\",\"60.087 30.5373\",\"60.0934 30.5462\",\"60.0989 30.5572\",\"60.1034 30.5702\",\"60.1067 30.5846\",\"60.1088 30.5997\"]}}}",
"groupId": -1,
"groupName": "",
"name": "АфС-П РТР",
@@ -1850,12 +1837,12 @@
"address": "192.168.0.93",
"coordinatesData": [
5,
60.06490470683785,
30.615742206573483,
0,
0,
0,
0,
0,
0,
60.06490470683785,
30.615742206573483,
0,
0,
0,
@@ -1909,12 +1896,12 @@
"antennaVariation": "0,0",
"coordinatesData": [
5,
60.06490470683785,
30.615742206573483,
0,
0,
0,
0,
0,
0,
60.06490470683785,
30.615742206573483,
0,
0,
0,
@@ -1943,8 +1930,7 @@
"frequency_step_hz": "200000",
"jump_delay_10ns": "0",
"start_freqency_hz": "7308901815584698669",
"time_lfm_s": 5e-06,
"time_step_s": 1
"time_lfm_s": 5e-06
},
"default_jamming_task_parameters": {
"direction": {
@@ -1959,8 +1945,7 @@
"frequency_step_hz": "200000",
"jump_delay_10ns": "0",
"start_freqency_hz": "7308901815584698669",
"time_lfm_s": 5e-06,
"time_step_s": 1
"time_lfm_s": 5e-06
},
"enable": true,
"id": 0,
@@ -1977,7 +1962,7 @@
"timeout_sec": 60
},
"enabled": true,
"functionZone": "{\"default_radius\":2000,\"geometries\":{\"0\":{\"desc\":\"\",\"function_type\":\"RadioTransmit\",\"input_id\":-1,\"radius\":2000,\"total_zone\":[\"0.0180002 1.9115e-7\",\"0.0177003 0.00310696\",\"0.0169007 0.00611367\",\"0.0156014 0.00897031\",\"0.0138022 0.0115768\",\"0.011603 0.0137326\",\"0.00900381 0.0155883\",\"0.00610448 0.016943\",\"0.00310487 0.0176965\",\"5.03159e-6 0.017999\",\"-0.00309513 0.0176998\",\"-0.00619552 0.0169493\",\"-0.00899621 0.0155466\",\"-0.011597 0.0137422\",\"-0.0137978 0.0115864\",\"-0.0155986 0.00897875\",\"-0.0168993 0.00611989\",\"-0.0176997 0.00311028\",\"-0.0179998 1.91357e-7\",\"-0.0176997 -0.0031099\",\"-0.0168993 -0.00611951\",\"-0.0155986 -0.00897836\",\"-0.0137978 -0.011586\",\"-0.011597 -0.0137419\",\"-0.00899621 -0.0155462\",\"-0.00619552 -0.0169489\",\"-0.00309513 -0.0176995\",\"5.03138e-6 -0.0179986\",\"0.00310487 -0.0176962\",\"0.00610448 -0.0169427\",\"0.00900381 -0.0155879\",\"0.011603 -0.0137323\",\"0.0138022 -0.0115764\",\"0.0156014 -0.00896993\",\"0.0169007 -0.00611328\",\"0.0177003 -0.00310658\"]}}}",
"functionZone": "{\"default_radius\":2000,\"geometries\":{\"0\":{\"desc\":\"\",\"function_type\":\"RadioTransmit\",\"input_id\":-1,\"radius\":2000,\"total_zone\":[\"60.0829 30.6157\",\"60.0826 30.622\",\"60.0818 30.628\",\"60.0805 30.6337\",\"60.0787 30.639\",\"60.0765 30.6433\",\"60.0739 30.647\",\"60.071 30.6497\",\"60.068 30.6512\",\"60.0649 30.6518\",\"60.0618 30.6512\",\"60.0587 30.6497\",\"60.0559 30.6469\",\"60.0533 30.6433\",\"60.0511 30.639\",\"60.0493 30.6337\",\"60.048 30.628\",\"60.0472 30.622\",\"60.0469 30.6157\",\"60.0472 30.6095\",\"60.048 30.6035\",\"60.0493 30.5978\",\"60.0511 30.5925\",\"60.0533 30.5882\",\"60.0559 30.5846\",\"60.0587 30.5818\",\"60.0618 30.5803\",\"60.0649 30.5797\",\"60.068 30.5803\",\"60.071 30.5818\",\"60.0739 30.5845\",\"60.0765 30.5882\",\"60.0787 30.5925\",\"60.0805 30.5978\",\"60.0818 30.6035\",\"60.0826 30.6095\"]}}}",
"groupId": -1,
"impl_properties": {
"activatingTimeoutSec": 15,
@@ -2061,12 +2046,12 @@
"address": "192.168.0.93",
"coordinatesData": [
5,
60.064979661201995,
30.615334510803223,
0,
0,
0,
0,
0,
0,
60.064979661201995,
30.615334510803223,
0,
0,
0,
@@ -2120,12 +2105,12 @@
"antennaVariation": "0,0",
"coordinatesData": [
5,
60.064979661201995,
30.615334510803223,
0,
0,
0,
0,
0,
0,
60.064979661201995,
30.615334510803223,
0,
0,
0,
@@ -2154,8 +2139,7 @@
"frequency_step_hz": "200000",
"jump_delay_10ns": "0",
"start_freqency_hz": "7308901815584698669",
"time_lfm_s": 5e-06,
"time_step_s": 1
"time_lfm_s": 5e-06
},
"default_jamming_task_parameters": {
"direction": {
@@ -2170,8 +2154,7 @@
"frequency_step_hz": "200000",
"jump_delay_10ns": "0",
"start_freqency_hz": "7308901815584698669",
"time_lfm_s": 5e-06,
"time_step_s": 1
"time_lfm_s": 5e-06
},
"enable": true,
"id": 0,
@@ -2188,7 +2171,7 @@
"timeout_sec": 60
},
"enabled": true,
"functionZone": "{\"default_radius\":2000,\"geometries\":{\"0\":{\"desc\":\"\",\"function_type\":\"RadioTransmit\",\"input_id\":-1,\"radius\":2000,\"total_zone\":[\"1.52588e-7 1.91254e-7\",\"0.0156014 -0.00896993\",\"0.0171006 -0.00556204\",\"0.0179002 -0.00190395\",\"0.0179002 0.00190433\",\"0.0171006 0.00556242\",\"0.0156014 0.00897031\"]}}}",
"functionZone": "{\"default_radius\":2000,\"geometries\":{\"0\":{\"desc\":\"\",\"function_type\":\"RadioTransmit\",\"input_id\":-1,\"radius\":2000,\"total_zone\":[\"60.065 30.6153\",\"60.0806 30.5974\",\"60.0821 30.6042\",\"60.0829 30.6115\",\"60.0829 30.6192\",\"60.0821 30.6265\",\"60.0806 30.6333\"]}}}",
"groupId": -1,
"impl_properties": {
"activatingTimeoutSec": 15,
@@ -2272,12 +2255,12 @@
"address": "192.168.0.93",
"coordinatesData": [
5,
60.064733381937565,
30.61617136001587,
0,
0,
0,
0,
0,
0,
60.064733381937565,
30.61617136001587,
0,
0,
0,
@@ -2331,12 +2314,12 @@
"antennaVariation": "0,0",
"coordinatesData": [
5,
60.064733381937565,
30.61617136001587,
0,
0,
0,
0,
0,
0,
60.064733381937565,
30.61617136001587,
0,
0,
0,
@@ -2365,8 +2348,7 @@
"frequency_step_hz": "200000",
"jump_delay_10ns": "0",
"start_freqency_hz": "7308901815584698669",
"time_lfm_s": 5e-06,
"time_step_s": 1
"time_lfm_s": 5e-06
},
"default_jamming_task_parameters": {
"direction": {
@@ -2381,8 +2363,7 @@
"frequency_step_hz": "200000",
"jump_delay_10ns": "0",
"start_freqency_hz": "7308901815584698669",
"time_lfm_s": 5e-06,
"time_step_s": 1
"time_lfm_s": 5e-06
},
"enable": true,
"id": 0,
@@ -2399,7 +2380,7 @@
"timeout_sec": 60
},
"enabled": true,
"functionZone": "{\"default_radius\":2000,\"geometries\":{\"0\":{\"desc\":\"\",\"function_type\":\"RadioTransmit\",\"input_id\":-1,\"radius\":2000,\"total_zone\":[\"0.0180002 1.9115e-7\",\"0.0177003 0.00310696\",\"0.0169007 0.00611367\",\"0.0156014 0.00897031\",\"0.0138022 0.0115768\",\"0.011603 0.0137326\",\"0.00900381 0.0155883\",\"0.00610448 0.016943\",\"0.00310487 0.0176965\",\"5.03159e-6 0.017999\",\"-0.00309513 0.0176998\",\"-0.00619552 0.0169493\",\"-0.00899621 0.0155466\",\"-0.011597 0.0137422\",\"-0.0137978 0.0115864\",\"-0.0155986 0.00897875\",\"-0.0168993 0.00611989\",\"-0.0176997 0.00311028\",\"-0.0179998 1.91357e-7\",\"-0.0176997 -0.0031099\",\"-0.0168993 -0.00611951\",\"-0.0155986 -0.00897836\",\"-0.0137978 -0.011586\",\"-0.011597 -0.0137419\",\"-0.00899621 -0.0155462\",\"-0.00619552 -0.0169489\",\"-0.00309513 -0.0176995\",\"5.03138e-6 -0.0179986\",\"0.00310487 -0.0176962\",\"0.00610448 -0.0169427\",\"0.00900381 -0.0155879\",\"0.011603 -0.0137323\",\"0.0138022 -0.0115764\",\"0.0156014 -0.00896993\",\"0.0169007 -0.00611328\",\"0.0177003 -0.00310658\"]}}}",
"functionZone": "{\"default_radius\":2000,\"geometries\":{\"0\":{\"desc\":\"\",\"function_type\":\"RadioTransmit\",\"input_id\":-1,\"radius\":2000,\"total_zone\":[\"60.0827 30.6162\",\"60.0824 30.6224\",\"60.0816 30.6284\",\"60.0803 30.6342\",\"60.0785 30.6394\",\"60.0763 30.6437\",\"60.0737 30.6474\",\"60.0708 30.6501\",\"60.0678 30.6516\",\"60.0647 30.6522\",\"60.0616 30.6516\",\"60.0585 30.6501\",\"60.0557 30.6473\",\"60.0531 30.6437\",\"60.0509 30.6394\",\"60.0491 30.6342\",\"60.0478 30.6284\",\"60.047 30.6224\",\"60.0467 30.6162\",\"60.047 30.6099\",\"60.0478 30.6039\",\"60.0491 30.5982\",\"60.0509 30.593\",\"60.0531 30.5886\",\"60.0557 30.585\",\"60.0585 30.5822\",\"60.0616 30.5807\",\"60.0647 30.5801\",\"60.0678 30.5807\",\"60.0708 30.5822\",\"60.0737 30.5849\",\"60.0763 30.5886\",\"60.0785 30.593\",\"60.0803 30.5982\",\"60.0816 30.6039\",\"60.0824 30.6099\"]}}}",
"groupId": -1,
"impl_properties": {
"activatingTimeoutSec": 15,
@@ -2483,12 +2464,12 @@
"address": "192.168.0.93",
"coordinatesData": [
5,
60.06490470683785,
30.61574220657348,
0,
0,
0,
0,
0,
0,
60.06490470683785,
30.61574220657348,
0,
0,
0,
@@ -2542,12 +2523,12 @@
"antennaVariation": "0,0",
"coordinatesData": [
5,
60.06490470683785,
30.61574220657348,
0,
0,
0,
0,
0,
0,
60.06490470683785,
30.61574220657348,
0,
0,
0,
@@ -2576,8 +2557,7 @@
"frequency_step_hz": "200000",
"jump_delay_10ns": "0",
"start_freqency_hz": "7308901815584698669",
"time_lfm_s": 5e-06,
"time_step_s": 1
"time_lfm_s": 5e-06
},
"default_jamming_task_parameters": {
"direction": {
@@ -2592,8 +2572,7 @@
"frequency_step_hz": "200000",
"jump_delay_10ns": "0",
"start_freqency_hz": "7308901815584698669",
"time_lfm_s": 5e-06,
"time_step_s": 1
"time_lfm_s": 5e-06
},
"enable": true,
"id": 0,
@@ -2610,7 +2589,7 @@
"timeout_sec": 60
},
"enabled": true,
"functionZone": "{\"default_radius\":2000,\"geometries\":{\"0\":{\"desc\":\"\",\"function_type\":\"RadioTransmit\",\"input_id\":-1,\"radius\":2000,\"total_zone\":[\"0.0180002 1.9115e-7\",\"0.0177003 0.00310696\",\"0.0169007 0.00611367\",\"0.0156014 0.00897031\",\"0.0138022 0.0115768\",\"0.011603 0.0137326\",\"0.00900381 0.0155883\",\"0.00610448 0.016943\",\"0.00310487 0.0176965\",\"5.03159e-6 0.017999\",\"-0.00309513 0.0176998\",\"-0.00619552 0.0169493\",\"-0.00899621 0.0155466\",\"-0.011597 0.0137422\",\"-0.0137978 0.0115864\",\"-0.0155986 0.00897875\",\"-0.0168993 0.00611989\",\"-0.0176997 0.00311028\",\"-0.0179998 1.91357e-7\",\"-0.0176997 -0.0031099\",\"-0.0168993 -0.00611951\",\"-0.0155986 -0.00897836\",\"-0.0137978 -0.011586\",\"-0.011597 -0.0137419\",\"-0.00899621 -0.0155462\",\"-0.00619552 -0.0169489\",\"-0.00309513 -0.0176995\",\"5.03138e-6 -0.0179986\",\"0.00310487 -0.0176962\",\"0.00610448 -0.0169427\",\"0.00900381 -0.0155879\",\"0.011603 -0.0137323\",\"0.0138022 -0.0115764\",\"0.0156014 -0.00896993\",\"0.0169007 -0.00611328\",\"0.0177003 -0.00310658\"]}}}",
"functionZone": "{\"default_radius\":2000,\"geometries\":{\"0\":{\"desc\":\"\",\"function_type\":\"RadioTransmit\",\"input_id\":-1,\"radius\":2000,\"total_zone\":[\"60.0829 30.6157\",\"60.0826 30.622\",\"60.0818 30.628\",\"60.0805 30.6337\",\"60.0787 30.639\",\"60.0765 30.6433\",\"60.0739 30.647\",\"60.071 30.6497\",\"60.068 30.6512\",\"60.0649 30.6518\",\"60.0618 30.6512\",\"60.0587 30.6497\",\"60.0559 30.6469\",\"60.0533 30.6433\",\"60.0511 30.639\",\"60.0493 30.6337\",\"60.048 30.628\",\"60.0472 30.622\",\"60.0469 30.6157\",\"60.0472 30.6095\",\"60.048 30.6035\",\"60.0493 30.5978\",\"60.0511 30.5925\",\"60.0533 30.5882\",\"60.0559 30.5846\",\"60.0587 30.5818\",\"60.0618 30.5803\",\"60.0649 30.5797\",\"60.068 30.5803\",\"60.071 30.5818\",\"60.0739 30.5845\",\"60.0765 30.5882\",\"60.0787 30.5925\",\"60.0805 30.5978\",\"60.0818 30.6035\",\"60.0826 30.6095\"]}}}",
"groupId": -1,
"impl_properties": {
"activatingTimeoutSec": 15,
@@ -2694,12 +2673,12 @@
"address": "192.168.0.93",
"coordinatesData": [
5,
60.06490470683785,
30.61574220657348,
0,
0,
0,
0,
0,
0,
60.06490470683785,
30.61574220657348,
0,
0,
0,
@@ -2753,12 +2732,12 @@
"antennaVariation": "0,0",
"coordinatesData": [
5,
60.06490470683785,
30.61574220657348,
0,
0,
0,
0,
0,
0,
60.06490470683785,
30.61574220657348,
0,
0,
0,
@@ -2787,8 +2766,7 @@
"frequency_step_hz": "200000",
"jump_delay_10ns": "0",
"start_freqency_hz": "140359491022592",
"time_lfm_s": 5e-06,
"time_step_s": 1
"time_lfm_s": 5e-06
},
"default_jamming_task_parameters": {
"direction": {
@@ -2803,8 +2781,7 @@
"frequency_step_hz": "200000",
"jump_delay_10ns": "0",
"start_freqency_hz": "140359491022592",
"time_lfm_s": 5e-06,
"time_step_s": 1
"time_lfm_s": 5e-06
},
"enable": true,
"id": 0,
@@ -2821,7 +2798,7 @@
"timeout_sec": 60
},
"enabled": true,
"functionZone": "{\"default_radius\":2000,\"geometries\":{\"0\":{\"desc\":\"\",\"function_type\":\"RadioTransmit\",\"input_id\":-1,\"radius\":2000,\"total_zone\":[\"0.0180002 1.9115e-7\",\"0.0177003 0.00310696\",\"0.0169007 0.00611367\",\"0.0156014 0.00897031\",\"0.0138022 0.0115768\",\"0.011603 0.0137326\",\"0.00900381 0.0155883\",\"0.00610448 0.016943\",\"0.00310487 0.0176965\",\"5.03159e-6 0.017999\",\"-0.00309513 0.0176998\",\"-0.00619552 0.0169493\",\"-0.00899621 0.0155466\",\"-0.011597 0.0137422\",\"-0.0137978 0.0115864\",\"-0.0155986 0.00897875\",\"-0.0168993 0.00611989\",\"-0.0176997 0.00311028\",\"-0.0179998 1.91357e-7\",\"-0.0176997 -0.0031099\",\"-0.0168993 -0.00611951\",\"-0.0155986 -0.00897836\",\"-0.0137978 -0.011586\",\"-0.011597 -0.0137419\",\"-0.00899621 -0.0155462\",\"-0.00619552 -0.0169489\",\"-0.00309513 -0.0176995\",\"5.03138e-6 -0.0179986\",\"0.00310487 -0.0176962\",\"0.00610448 -0.0169427\",\"0.00900381 -0.0155879\",\"0.011603 -0.0137323\",\"0.0138022 -0.0115764\",\"0.0156014 -0.00896993\",\"0.0169007 -0.00611328\",\"0.0177003 -0.00310658\"]}}}",
"functionZone": "{\"default_radius\":2000,\"geometries\":{\"0\":{\"desc\":\"\",\"function_type\":\"RadioTransmit\",\"input_id\":-1,\"radius\":2000,\"total_zone\":[\"60.0829 30.6157\",\"60.0826 30.622\",\"60.0818 30.628\",\"60.0805 30.6337\",\"60.0787 30.639\",\"60.0765 30.6433\",\"60.0739 30.647\",\"60.071 30.6497\",\"60.068 30.6512\",\"60.0649 30.6518\",\"60.0618 30.6512\",\"60.0587 30.6497\",\"60.0559 30.6469\",\"60.0533 30.6433\",\"60.0511 30.639\",\"60.0493 30.6337\",\"60.048 30.628\",\"60.0472 30.622\",\"60.0469 30.6157\",\"60.0472 30.6095\",\"60.048 30.6035\",\"60.0493 30.5978\",\"60.0511 30.5925\",\"60.0533 30.5882\",\"60.0559 30.5846\",\"60.0587 30.5818\",\"60.0618 30.5803\",\"60.0649 30.5797\",\"60.068 30.5803\",\"60.071 30.5818\",\"60.0739 30.5845\",\"60.0765 30.5882\",\"60.0787 30.5925\",\"60.0805 30.5978\",\"60.0818 30.6035\",\"60.0826 30.6095\"]}}}",
"groupId": -1,
"impl_properties": {
"activatingTimeoutSec": 15,
@@ -2905,12 +2882,12 @@
"address": "192.168.0.93",
"coordinatesData": [
5,
60.06490470683785,
30.61574220657348,
0,
0,
0,
0,
0,
0,
60.06490470683785,
30.61574220657348,
0,
0,
0,
@@ -2964,12 +2941,12 @@
"antennaVariation": "0,0",
"coordinatesData": [
5,
60.06490470683785,
30.61574220657348,
0,
0,
0,
0,
0,
0,
60.06490470683785,
30.61574220657348,
0,
0,
0,
@@ -2998,8 +2975,7 @@
"frequency_step_hz": "200000",
"jump_delay_10ns": "0",
"start_freqency_hz": "37",
"time_lfm_s": 5e-06,
"time_step_s": 1
"time_lfm_s": 5e-06
},
"default_jamming_task_parameters": {
"direction": {
@@ -3014,8 +2990,7 @@
"frequency_step_hz": "200000",
"jump_delay_10ns": "0",
"start_freqency_hz": "37",
"time_lfm_s": 5e-06,
"time_step_s": 1
"time_lfm_s": 5e-06
},
"enable": true,
"id": 0,
@@ -3032,7 +3007,7 @@
"timeout_sec": 60
},
"enabled": true,
"functionZone": "{\"default_radius\":2000,\"geometries\":{\"0\":{\"desc\":\"\",\"function_type\":\"RadioTransmit\",\"input_id\":-1,\"radius\":2000,\"total_zone\":[\"0.0180002 1.9115e-7\",\"0.0177003 0.00310696\",\"0.0169007 0.00611367\",\"0.0156014 0.00897031\",\"0.0138022 0.0115768\",\"0.011603 0.0137326\",\"0.00900381 0.0155883\",\"0.00610448 0.016943\",\"0.00310487 0.0176965\",\"5.03159e-6 0.017999\",\"-0.00309513 0.0176998\",\"-0.00619552 0.0169493\",\"-0.00899621 0.0155466\",\"-0.011597 0.0137422\",\"-0.0137978 0.0115864\",\"-0.0155986 0.00897875\",\"-0.0168993 0.00611989\",\"-0.0176997 0.00311028\",\"-0.0179998 1.91357e-7\",\"-0.0176997 -0.0031099\",\"-0.0168993 -0.00611951\",\"-0.0155986 -0.00897836\",\"-0.0137978 -0.011586\",\"-0.011597 -0.0137419\",\"-0.00899621 -0.0155462\",\"-0.00619552 -0.0169489\",\"-0.00309513 -0.0176995\",\"5.03138e-6 -0.0179986\",\"0.00310487 -0.0176962\",\"0.00610448 -0.0169427\",\"0.00900381 -0.0155879\",\"0.011603 -0.0137323\",\"0.0138022 -0.0115764\",\"0.0156014 -0.00896993\",\"0.0169007 -0.00611328\",\"0.0177003 -0.00310658\"]}}}",
"functionZone": "{\"default_radius\":2000,\"geometries\":{\"0\":{\"desc\":\"\",\"function_type\":\"RadioTransmit\",\"input_id\":-1,\"radius\":2000,\"total_zone\":[\"60.0829 30.6157\",\"60.0826 30.622\",\"60.0818 30.628\",\"60.0805 30.6337\",\"60.0787 30.639\",\"60.0765 30.6433\",\"60.0739 30.647\",\"60.071 30.6497\",\"60.068 30.6512\",\"60.0649 30.6518\",\"60.0618 30.6512\",\"60.0587 30.6497\",\"60.0559 30.6469\",\"60.0533 30.6433\",\"60.0511 30.639\",\"60.0493 30.6337\",\"60.048 30.628\",\"60.0472 30.622\",\"60.0469 30.6157\",\"60.0472 30.6095\",\"60.048 30.6035\",\"60.0493 30.5978\",\"60.0511 30.5925\",\"60.0533 30.5882\",\"60.0559 30.5846\",\"60.0587 30.5818\",\"60.0618 30.5803\",\"60.0649 30.5797\",\"60.068 30.5803\",\"60.071 30.5818\",\"60.0739 30.5845\",\"60.0765 30.5882\",\"60.0787 30.5925\",\"60.0805 30.5978\",\"60.0818 30.6035\",\"60.0826 30.6095\"]}}}",
"groupId": -1,
"impl_properties": {
"activatingTimeoutSec": 15,
@@ -3116,12 +3091,12 @@
"address": "192.168.0.93",
"coordinatesData": [
5,
60.06490470683785,
30.61574220657348,
0,
0,
0,
0,
0,
0,
60.06490470683785,
30.61574220657348,
0,
0,
0,
@@ -3175,12 +3150,12 @@
"antennaVariation": "0,0",
"coordinatesData": [
5,
60.06490470683785,
30.61574220657348,
0,
0,
0,
0,
0,
0,
60.06490470683785,
30.61574220657348,
0,
0,
0,
@@ -3209,8 +3184,7 @@
"frequency_step_hz": "200000",
"jump_delay_10ns": "0",
"start_freqency_hz": "0",
"time_lfm_s": 5e-06,
"time_step_s": 1
"time_lfm_s": 5e-06
},
"default_jamming_task_parameters": {
"direction": {
@@ -3225,13 +3199,12 @@
"frequency_step_hz": "200000",
"jump_delay_10ns": "0",
"start_freqency_hz": "0",
"time_lfm_s": 5e-06,
"time_step_s": 1
"time_lfm_s": 5e-06
},
"enable": true,
"id": 0,
"liter_gain": 100,
"name": "БРП #13:10.1.2.22:1201:tx.0:390-510:800-1065:1065-1210:1150-1280:1490-2000:2000-3500:3500-6100",
"name": "ПРД Н2-2:10.1.2.22:1201:tx.0:390-510:800-1065:1065-1210:1150-1280:1490-2000:2000-3500:3500-6100",
"range": {
"from": "433000000",
"to": "435000000"
@@ -3243,7 +3216,7 @@
"timeout_sec": 60
},
"enabled": true,
"functionZone": "{\"default_radius\":2000,\"geometries\":{\"0\":{\"desc\":\"\",\"function_type\":\"RadioTransmit\",\"input_id\":-1,\"radius\":2000,\"total_zone\":[\"0.0179864 0\",\"0.0177132 0.00312331\",\"0.0169017 0.00615172\",\"0.0155767 0.00899321\",\"0.0137784 0.0115614\",\"0.0115614 0.0137784\",\"0.00899321 0.0155767\",\"0.00615172 0.0169017\",\"0.00312331 0.0177132\",\"1.10135e-18 0.0179864\",\"-0.00312331 0.0177132\",\"-0.00615172 0.0169017\",\"-0.00899321 0.0155767\",\"-0.0115614 0.0137784\",\"-0.0137784 0.0115614\",\"-0.0155767 0.00899321\",\"-0.0169017 0.00615172\",\"-0.0177132 0.00312331\",\"-0.0179864 2.2027e-18\",\"-0.0177132 -0.00312331\",\"-0.0169017 -0.00615172\",\"-0.0155767 -0.00899321\",\"-0.0137784 -0.0115614\",\"-0.0115614 -0.0137784\",\"-0.00899321 -0.0155767\",\"-0.00615172 -0.0169017\",\"-0.00312331 -0.0177132\",\"-3.30405e-18 -0.0179864\",\"0.00312331 -0.0177132\",\"0.00615172 -0.0169017\",\"0.00899321 -0.0155767\",\"0.0115614 -0.0137784\",\"0.0137784 -0.0115614\",\"0.0155767 -0.00899321\",\"0.0169017 -0.00615172\",\"0.0177132 -0.00312331\"]}}}",
"functionZone": "{\"default_radius\":2000,\"geometries\":{\"0\":{\"desc\":\"\",\"function_type\":\"RadioTransmit\",\"input_id\":-1,\"radius\":2000,\"total_zone\":[\"60.0829 30.6157\",\"60.0826 30.622\",\"60.0818 30.6281\",\"60.0805 30.6338\",\"60.0787 30.6389\",\"60.0765 30.6434\",\"60.0739 30.647\",\"60.0711 30.6496\",\"60.068 30.6512\",\"60.0649 30.6518\",\"60.0618 30.6512\",\"60.0587 30.6496\",\"60.0559 30.6469\",\"60.0533 30.6433\",\"60.0511 30.6389\",\"60.0493 30.6338\",\"60.048 30.6281\",\"60.0472 30.622\",\"60.0469 30.6157\",\"60.0472 30.6095\",\"60.048 30.6034\",\"60.0493 30.5977\",\"60.0511 30.5926\",\"60.0533 30.5881\",\"60.0559 30.5845\",\"60.0587 30.5819\",\"60.0618 30.5802\",\"60.0649 30.5797\",\"60.068 30.5802\",\"60.0711 30.5819\",\"60.0739 30.5845\",\"60.0765 30.5881\",\"60.0787 30.5926\",\"60.0805 30.5977\",\"60.0818 30.6034\",\"60.0826 30.6095\"]}}}",
"groupId": -1,
"impl_properties": {
"activatingTimeoutSec": 15,
@@ -3276,7 +3249,7 @@
]
},
"ignored_perimeters": {
"id_generator": 14340,
"id_generator": 14471,
"perimeters": [
]
},
@@ -3303,6 +3276,7 @@
"task": {
"executor": "АфС-П РТР",
"executor_type": 1,
"is_paused": false,
"pelengator_task_Antenna": {
"field_caption": "",
"field_id": "Авто"
@@ -3342,6 +3316,7 @@
"task": {
"executor": "АфС-П РТР",
"executor_type": 1,
"is_paused": false,
"pelengator_task_Antenna": {
"field_caption": "",
"field_id": "Авто"
@@ -3381,6 +3356,7 @@
"task": {
"executor": "АфС-П РТР",
"executor_type": 1,
"is_paused": false,
"pelengator_task_Antenna": {
"field_caption": "",
"field_id": "Авто"
@@ -3410,45 +3386,6 @@
}
],
"type_id": "GroupSearchTask"
},
{
"ShowAllSpectrumsInOne": false,
"executor": "Эмулятор пеленгатора",
"executor_type": 4,
"tasks": [
{
"task": {
"executor": "Эмулятор пеленгатора",
"executor_type": 1,
"pelengator_task_Antenna": {
"field_caption": "Антенна 1",
"field_id": "1"
},
"pelengator_task_Attenuator": 10,
"pelengator_task_Filter": 10000,
"pelengator_task_FilterStep": 1,
"pelengator_task_parameters": {
"field_autoBaseLine": true,
"field_baseline": -80,
"field_enabledStreams": [
"DirectionVsFreq",
"SpectrumDb"
],
"field_profiles": [
"1"
],
"field_targetSector": "{\"power_range\":{\"max\":0,\"min\":0},\"quality_range\":{\"max\":0,\"min\":0},\"sector\":{\"azimuth_max\":360,\"azimuth_min\":0,\"zenith_max\":110,\"zenith_min\":30}}"
},
"pelengator_task_show_forbidden_bands": true,
"save_snapshots": false,
"search_task_band": "1001000000 6000000000",
"show_all_signals_on_spectrum": false,
"show_target_signals_on_spectrum": true,
"type_id": "PelengatorSearchTask"
}
}
],
"type_id": "GroupSearchTask"
}
]
}

View File

@@ -123,6 +123,7 @@ prd="*res://scripts/prd.gd"
navi="*res://scripts/navigation.gd"
trassa="*res://scripts/trassa.gd"
yemstg="*res://scripts/yemstg.gd"
scouting="*res://scripts/rtr.gd"
[debug]

View File

@@ -1,7 +1,6 @@
[gd_scene load_steps=4 format=3 uid="uid://8ll27id5ajq1"]
[gd_scene load_steps=3 format=3 uid="uid://8ll27id5ajq1"]
[ext_resource type="Script" uid="uid://d0jwv5opi3mrl" path="res://scenes/pribor-afsp/pribor-afsp.gd" id="1_151rh"]
[ext_resource type="Script" uid="uid://bux47vkw71w1t" path="res://scenes/контроль/request.gd" id="2_4vyhj"]
[ext_resource type="PackedScene" uid="uid://dnxq870xf6pkh" path="res://scenes/pribor-afsp/bort-afsp.tscn" id="3_d7iti"]
[node name="pribor_afsp" type="Control"]
@@ -20,13 +19,6 @@ settings_path_to_url = "Адрес АФСП левого борта"
settings_path_to_wait_time = "Период опроса состояния АФСП, секунды"
metadata/DeviceName = &"Устройство РР левого борта"
[node name="request" type="HTTPRequest" parent="."]
use_threads = true
script = ExtResource("2_4vyhj")
[node name="timer" type="Timer" parent="request"]
autostart = true
[node name="bort" parent="." instance=ExtResource("3_d7iti")]
layout_mode = 0
offset_left = 24.0
@@ -35,7 +27,4 @@ offset_right = 604.0
offset_bottom = 1216.78
metadata/DeviceName = &"Устройство РР левого борта"
[connection signal="child_entered_tree" from="request" to="request" method="_on_child_entered_tree"]
[connection signal="request_completed" from="request" to="." method="_on_request_completed"]
[connection signal="timeout" from="request/timer" to="request" method="_on_request_timer"]
[connection signal="pressed" from="bort" to="." method="_on_item_pressed"]

View File

@@ -1,7 +1,6 @@
[gd_scene load_steps=4 format=3 uid="uid://5uv1idl3lqet"]
[gd_scene load_steps=3 format=3 uid="uid://5uv1idl3lqet"]
[ext_resource type="Script" uid="uid://d0jwv5opi3mrl" path="res://scenes/pribor-afsp/pribor-afsp.gd" id="1_tfses"]
[ext_resource type="Script" uid="uid://bux47vkw71w1t" path="res://scenes/контроль/request.gd" id="2_miwrd"]
[ext_resource type="PackedScene" uid="uid://dnxq870xf6pkh" path="res://scenes/pribor-afsp/bort-afsp.tscn" id="3_xpxb5"]
[node name="pribor_afsp" type="Control"]
@@ -20,13 +19,6 @@ settings_path_to_url = "Адрес АФСП правого борта"
settings_path_to_wait_time = "Период опроса состояния АФСП, секунды"
metadata/DeviceName = &"Устройство РР правого борта"
[node name="request" type="HTTPRequest" parent="."]
use_threads = true
script = ExtResource("2_miwrd")
[node name="timer" type="Timer" parent="request"]
autostart = true
[node name="bort" parent="." instance=ExtResource("3_xpxb5")]
layout_mode = 0
offset_left = 12.0
@@ -35,7 +27,4 @@ offset_right = 592.0
offset_bottom = 1130.0
metadata/DeviceName = &"Устройство РР правого борта"
[connection signal="child_entered_tree" from="request" to="request" method="_on_child_entered_tree"]
[connection signal="request_completed" from="request" to="." method="_on_request_completed"]
[connection signal="timeout" from="request/timer" to="request" method="_on_request_timer"]
[connection signal="pressed" from="bort" to="." method="_on_item_pressed"]

View File

@@ -7,98 +7,164 @@ class_name pribor_afsp extends 'res://scenes/контроль/прибор.gd'
@export var settings_path_to_url: String = '' ## Должно быть в ProjectSettings
@export var settings_path_to_wait_time: String = '' ## Должно быть в ProjectSettings
signal receive_response_afp_bpo()
static var json_conv: JSON = JSON.new()
static var node_maper = load('res://scenes/контроль/node-maper.gd')
static var node_request: Node
static var node_request_timer: Node
var ctrl_pos = 0
# SystemName: "gen" DevList - там состояние связи с генератором по кан шине
func _ready() -> void:
ProjectSettings.connect('settings_changed', on_settings_chaged)
node_request = $request
node_request_timer = $request/timer
on_settings_chaged()
# Подключаемся к сигналам в зависимости от борта
if this_afsp_name == 'Устройство РР левого борта':
scouting.response_received_left.connect(_on_response_received)
else:
scouting.response_received_right.connect(_on_response_received)
# При старте отрисовываем последние данные (если есть)
_on_press_device()
func on_settings_chaged():
node_request.request_url = ProjectSettings.get_setting('application/config/%s' % settings_path_to_url)
node_request_timer.wait_time = float(ProjectSettings.get_setting('application/config/%s' % settings_path_to_wait_time))
tools.allways(node_request.request_url != null)
func _on_request_completed(result, _response_code, headers, body: PackedByteArray):
var unit_instance: = network.get_unit_instance(unit_name)
if result != 0:
var rs = node_request.get_result_string(result)
log.error('\"%s\"' % rs)
# Обработка полученного ответа от rtr
func _on_response_received(response: String, success: bool) -> void:
var unit_instance = network.get_unit_instance(unit_name)
if not success:
log.error('Ошибка запроса: %s' % response)
if unit_instance.online:
unit_instance.online = false
unit_instance.emit_signal('line_changed', unit_instance)
# При ошибке сбрасываем UI в 0
_reset_ui_to_zero()
return
var json_str: String = body.get_string_from_utf8()
if not json_str:
push_error('не удаётся получить строку utf8 из данных (%s)' % headers)
# Парсим JSON строку
var parse_result = json_conv.parse(response)
if parse_result != OK:
var err = json_conv.get_error_message()
push_error('разбор json прерван - "%s"' % err)
if unit_instance.online:
unit_instance.online = false
unit_instance.emit_signal('line_changed', unit_instance)
# При ошибке парсинга сбрасываем UI в 0
_reset_ui_to_zero()
return
var rc: = json_conv.parse(json_str)
if rc != Error.OK:
var err: = json_conv.get_error_message()
push_error('разбор json прерван - \"%s\" (%s)' % [err, headers])
if unit_instance.online:
unit_instance.online = false
unit_instance.emit_signal('line_changed', unit_instance)
return
# Ищем имя прибора в JSON
var pp = []
tools.map_solid_to_array(prefix_path, pp)
var ret_val = [null, false, 0]
var pp_copy = pp.duplicate(true)
tools.get_value_by_path(json_conv.data, pp, ret_val)
if not ret_val[1]:
push_error('путь %s не найден (%s)' % [pp_copy, ret_val[2]])
# Если путь не найден, сбрасываем UI в 0
_reset_ui_to_zero()
return
var received_afsp_name: StringName = ret_val[0]
# Проверяем, что ответ от нужного прибора
if this_afsp_name != received_afsp_name:
# TODO: Сюда попадаем, когда приходит от другого борта
#push_error('не известное устройство: \"%s\", ожидадось: \"%s\"' % [received_afsp_name, this_afsp_name])
# Ответ от другого борта - игнорируем
return
# Обновляем статус online
unit_instance.rx_tick = Time.get_ticks_msec()
if not unit_instance.online:
unit_instance.online = true
unit_instance.emit_signal('line_changed', unit_instance)
# Обновляем UI элементы из JSON
_update_ui(json_conv.data)
# Обновление интерфейса из JSON данных
func _update_ui(json_data: Dictionary) -> void:
# Конвертер
for child in $bort.get_node('konverter/grid').get_children():
node_maper.map_value_to_item(json_conv.data, child, 'value0')
node_maper.map_value_to_item(json_conv.data, child, 'value1')
node_maper.map_value_to_item(json_conv.data, child, 'value2')
node_maper.map_error_codes_to_item(json_conv.data, child, 'state', 0)
node_maper.map_value_to_item(json_data, child, 'value0')
node_maper.map_value_to_item(json_data, child, 'value1')
node_maper.map_value_to_item(json_data, child, 'value2')
node_maper.map_error_codes_to_item(json_data, child, 'state', 0)
# Антенна 1
for child in $bort.get_node('antenna1/grid').get_children():
node_maper.map_value_to_item(json_conv.data, child, 'value0')
node_maper.map_value_to_item(json_conv.data, child, 'value1')
node_maper.map_error_codes_to_item(json_conv.data, child, 'state', 0)
node_maper.map_value_to_item(json_data, child, 'value0')
node_maper.map_value_to_item(json_data, child, 'value1')
node_maper.map_error_codes_to_item(json_data, child, 'state', 0)
# Антенна 2
for child in $bort.get_node('antenna2/grid').get_children():
node_maper.map_value_to_item(json_conv.data, child, 'value0')
node_maper.map_value_to_item(json_conv.data, child, 'value1')
node_maper.map_error_codes_to_item(json_conv.data, child, 'state', 0)
node_maper.map_value_to_item(json_data, child, 'value0')
node_maper.map_value_to_item(json_data, child, 'value1')
node_maper.map_error_codes_to_item(json_data, child, 'state', 0)
# Остальные элементы
for child in $bort.get_children():
node_maper.map_value_to_item(json_conv.data, child, 'value0')
node_maper.map_value_to_item(json_conv.data, child, 'value1')
node_maper.map_error_codes_to_item(json_conv.data, child, 'state', 0)
node_maper.map_value_to_item(json_data, child, 'value0')
node_maper.map_value_to_item(json_data, child, 'value1')
node_maper.map_error_codes_to_item(json_data, child, 'state', 0)
emit_signal('receive_response_afp_bpo')
# Сброс всех UI элементов в 0 (при отсутствии данных)
func _reset_ui_to_zero() -> void:
# Конвертер
for child in $bort.get_node('konverter/grid').get_children():
_reset_item_value(child)
# Антенна 1
for child in $bort.get_node('antenna1/grid').get_children():
_reset_item_value(child)
# Антенна 2
for child in $bort.get_node('antenna2/grid').get_children():
_reset_item_value(child)
# Остальные элементы
for child in $bort.get_children():
_reset_item_value(child)
# Сброс конкретного элемента в 0
func _reset_item_value(item) -> void:
item.set('value0', 0)
item.set('value1', 0)
item.set('value2', 0)
item.set('state', 0)
# Отрисовывание при нажатии на прибор
func _on_press_device() -> void:
# Проверяем, есть ли сохраненные данные в rtr
var has_data = false
var last_response = ""
if this_afsp_name == 'Устройство РР левого борта':
has_data = scouting.has_left_success()
if has_data:
last_response = scouting.get_left_response()
else:
has_data = scouting.has_right_success()
if has_data:
last_response = scouting.get_right_response()
# Если есть данные - парсим и отображаем
if has_data and not last_response.is_empty():
var parse_result = json_conv.parse(last_response)
if parse_result == OK:
# Проверяем, что это данные именно от этого прибора
var pp = []
tools.map_solid_to_array(prefix_path, pp)
var ret_val = [null, false, 0]
tools.get_value_by_path(json_conv.data, pp, ret_val)
if ret_val[1] and ret_val[0] == this_afsp_name:
_update_ui(json_conv.data)
return
# Если данных нет или они не подходят - сбрасываем в 0
_reset_ui_to_zero()
## Вызывается при клике мыши на элементе.

View File

@@ -58,7 +58,7 @@ offset_right = 205.0
offset_bottom = 183.0
fname = "Модуль ФС"
rname = "A3"
metadata/fs = "fs_6"
metadata/fs = "fs_7"
[node name="ref_A5" parent="." groups=["default_reset", "fs_group"] instance=ExtResource("3_kqnvt")]
offset_left = 205.0
@@ -67,7 +67,7 @@ offset_right = 255.0
offset_bottom = 183.0
fname = "Модуль ФС"
rname = "A2"
metadata/fs = "fs_7"
metadata/fs = "fs_6"
[node name="ref_A7" parent="." groups=["default_reset"] instance=ExtResource("3_kqnvt")]
offset_left = 255.0

View File

@@ -109,9 +109,9 @@ func on_press_device(_name_davice: String) -> void:
control_data['power_amplifier'] = get_tree().get_nodes_in_group('power_amplifier')
control_data['default_reset_array_node'] = get_tree().get_nodes_in_group('default_reset')
control_data['module_fs_1'] = $kasseta_fs_kd/ref_A2
control_data['module_fs_6'] = $kasseta_fs_kd/ref_A4
control_data['module_fs_6'] = $kasseta_fs_kd/ref_A7
control_data['dou_6'] = $dou6_A7
control_data['module_fs_7'] = $kasseta_fs_kd/ref_A7
control_data['module_fs_7'] = $kasseta_fs_kd/ref_A4
control_data['dou_7'] = $dou7_A8
on_control_result(control_data)

View File

@@ -29,6 +29,7 @@ func get_result_string(result: Result):
func _on_request_timer():
print('_on_request_timer: ', Time.get_ticks_msec())
if HTTPClient.Status.STATUS_DISCONNECTED != get_http_client_status():
return
var rc: = request(request_url)

View File

@@ -123,6 +123,8 @@ func _ready():
signaller.conn(signaller.режим_настройки, on_mode_changed)
signaller.conn(signaller.режим_эмс, on_mode_changed)
signaller.connect('debag_control_pressed', Callable(self, 'on_debag_button_pressed'))
scouting.request_sent_left.connect(_on_request_sent_left.bind($pribor_afsp_1))
scouting.response_received_left.connect(_on_response_received.bind($pribor_afsp_1))
func online_change_arr(_u, conn_node, pribor_meta):
@@ -166,25 +168,19 @@ func on_pribor_press(pribor_path, header_text, pribor_node):
pribor.add_to_group('pribor_items')
add_child(pribor)
update_pribor_items_visibility()
if pribor_node.get_meta('unit_name')[0] == 'уарэп-афсп-левый' or pribor_node.get_meta('unit_name')[0] == 'уарэп-афсп-правый':
pribor.node_request.connect('send_http_request', Callable(self, 'on_send_http_request').bind(pribor_node, pribor.node_request_timer.wait_time))
pribor.connect('receive_response_afp_bpo', Callable(self, 'on_receive_response_afp_bpo').bind(pribor_node))
if pribor_node.get_meta('unit_name')[0] == 'уарэп-бпо-1' or pribor_node.get_meta('unit_name')[0] == 'уарэп-бпо-2':
pribor.node_request_1.connect('send_http_request', Callable(self, 'on_send_http_request').bind(pribor_node, pribor.node_request_timer_1.wait_time))
pribor.connect('receive_response_afp_bpo', Callable(self, 'on_receive_response_afp_bpo').bind(pribor_node))
#signal receive_response_afp_bpo
# Вызов при отправке запроса на селфтест АФСП
func on_send_http_request(node: Node, time_req: float) -> void:
func _on_request_sent_left(_url: String, node: Node) -> void:
node.progress_max_value = 100
node.progress_value = 0
node.progress_visible = true
node.timeout_tween = time_req
node.timeout_tween = float(ProjectSettings.get_setting('application/config/%s' % 'Период опроса состояния АФСП, секунды'))
func on_receive_response_afp_bpo(node: Node) -> void:
func _on_response_received(_response: String, _success: bool, node: Node):
node.progress_value = 100
node.progress_visible = false
## Прием сигналов о текущем состояниях приборах

View File

@@ -228,7 +228,6 @@ func _on_scale_selected(val: bool, nm: StringName):
update_table(ctable, new_indexes)
map_yems_info_to_table(unit_info, ctable, indexes)
connect_cmd_handlers(nm, ctable, new_indexes)
on_data_received(unit_info, nm)
## Обновляет результат выполнения команды оператора

252
scripts/rtr.gd Normal file
View File

@@ -0,0 +1,252 @@
class_name rtr
extends Node
#region Перечисления
enum State { IDLE, REQUESTING_LEFT, REQUESTING_RIGHT, WAITING_TIMEOUT }
#endregion
#region Сигналы
# Сигналы отправки запроса
signal request_sent_left(url: String) # Отправлен запрос к левому борту
signal request_sent_right(url: String) # Отправлен запрос к правому борту
# Сигналы получения ответа
signal response_received_left(response: String, success: bool) # Получен ответ от левого борта
signal response_received_right(response: String, success: bool) # Получен ответ от правого борта
#endregion
#region Константы
# Словарь с текстовым описанием кодов результатов HTTP запросов
const RESULT_STRINGS = {
HTTPRequest.Result.RESULT_SUCCESS: 'Запрос успешен',
HTTPRequest.Result.RESULT_CHUNKED_BODY_SIZE_MISMATCH: 'Несоответствие размеров частей сообщения',
HTTPRequest.Result.RESULT_CANT_CONNECT: 'Запрос не выполнен при подключении',
HTTPRequest.Result.RESULT_CANT_RESOLVE: 'Запрос не выполнен при разрешении',
HTTPRequest.Result.RESULT_CONNECTION_ERROR: 'Запрос не выполнен из-за ошибки соединения',
HTTPRequest.Result.RESULT_TLS_HANDSHAKE_ERROR: 'Запрос не выполнен на TLS рукопожатии',
HTTPRequest.Result.RESULT_NO_RESPONSE: 'Запрос не имеет ответа (пока)',
HTTPRequest.Result.RESULT_BODY_SIZE_LIMIT_EXCEEDED: 'Запрос превысил максимальный размер',
HTTPRequest.Result.RESULT_BODY_DECOMPRESS_FAILED: 'Не удалось распаковать сообщение',
HTTPRequest.Result.RESULT_REQUEST_FAILED: 'Запрос не удался',
HTTPRequest.Result.RESULT_DOWNLOAD_FILE_CANT_OPEN: 'Невозможно открыть файл загрузки',
HTTPRequest.Result.RESULT_DOWNLOAD_FILE_WRITE_ERROR: 'Невозможно записать в файл загрузки',
HTTPRequest.Result.RESULT_REDIRECT_LIMIT_REACHED: 'Достигнут лимит перенаправлений',
HTTPRequest.Result.RESULT_TIMEOUT: 'Время истекло'
}
#endregion
#region Переменные
var http_request: HTTPRequest # HTTP клиент для выполнения запросов
var addresses: Dictionary # Словарь с URL адресами устройств
var current_state: State = State.IDLE # Текущее состояние машины состояний
var current_url: String = '' # Текущий URL для запроса
var timeout_timer: Timer # Таймер ожидания ответа (30 секунд)
# Результаты запросов
var last_response_left: String = '' # Последний успешный ответ левого борта
var last_response_right: String = '' # Последний успешный ответ правого борта
var last_error_left: String = '' # Последняя ошибка левого борта
var last_error_right: String = '' # Последняя ошибка правого борта
var timeout: float
#endregion
#region Инициализация
func _ready() -> void:
# Создаем и настраиваем HTTP клиент
http_request = HTTPRequest.new()
add_child(http_request)
http_request.request_completed.connect(_on_request_completed)
# Создаем и настраиваем таймер для обработки таймаутов
timeout_timer = Timer.new()
add_child(timeout_timer)
timeout_timer.timeout.connect(_on_timeout)
timeout_timer.one_shot = true # Таймер срабатывает только один раз
# Подписываемся на сигнал запуска управления устройством
signaller.conn(signaller.start_contol_device, Callable(self, '_on_start_contol_device'))
#endregion
#region Публичные методы
# Возвращает текстовое описание кода результата HTTP запроса
func get_result_string(result: int) -> String:
return RESULT_STRINGS.get(result, '<неизвестный код результата HTTPRequest - %d>' % result)
# Геттеры для получения результатов запросов
func get_left_response() -> String:
return last_response_left
func get_right_response() -> String:
return last_response_right
func get_left_error() -> String:
return last_error_left
func get_right_error() -> String:
return last_error_right
# Проверка успешности запросов
func has_left_success() -> bool:
return not last_response_left.is_empty()
func has_right_success() -> bool:
return not last_response_right.is_empty()
#endregion
#region Обработчики сигналов
# Сигнал от signaller - начало управления устройством
func _on_start_contol_device() -> void:
# Если уже выполняется запрос - игнорируем
if current_state != State.IDLE:
return
# Сбрасываем предыдущие результаты
last_response_left = ''
last_response_right = ''
last_error_left = ''
last_error_right = ''
# Загружаем URL адреса из ProjectSettings
addresses['Адрес АФСП левого борта'] = ProjectSettings.get_setting('application/config/%s' % 'Адрес АФСП левого борта')
addresses['Адрес АФСП правого борта'] = ProjectSettings.get_setting('application/config/%s' % 'Адрес АФСП правого борта')
timeout = float(ProjectSettings.get_setting('application/config/%s' % 'Период опроса состояния АФСП, секунды'))
# Начинаем с запроса к левому борту
_request_next(State.REQUESTING_LEFT)
# Сигнал от HTTPRequest - получен ответ на запрос
func _on_request_completed(result: int, response_code: int, _headers: PackedStringArray, body: PackedByteArray) -> void:
# Если таймаут уже сработал - игнорируем ответ
if current_state == State.WAITING_TIMEOUT:
return
# Останавливаем таймер ожидания
timeout_timer.stop()
# Проверяем успешность ответа
if response_code == 200:
var response_text = body.get_string_from_utf8()
_save_response(response_text)
# Испускаем сигнал успешного получения ответа
match current_state:
State.REQUESTING_LEFT:
emit_signal('response_received_left', response_text, true)
State.REQUESTING_RIGHT:
emit_signal('response_received_right', response_text, true)
_on_request_finished()
else:
var error_msg = 'HTTP ошибка %d: %s' % [response_code, get_result_string(result)]
_save_error(error_msg)
# Испускаем сигнал с ошибкой
match current_state:
State.REQUESTING_LEFT:
emit_signal('response_received_left', error_msg, false)
State.REQUESTING_RIGHT:
emit_signal('response_received_right', error_msg, false)
_on_request_finished()
# Сигнал от таймера - истекло время ожидания ответа
func _on_timeout() -> void:
current_state = State.WAITING_TIMEOUT
http_request.cancel_request() # Отменяем текущий запрос
var timeout_msg = 'Таймаут %.1f секунд - %s' % [timeout, get_result_string(HTTPRequest.Result.RESULT_TIMEOUT)]
_save_error(timeout_msg)
# Испускаем сигнал с ошибкой таймаута
match current_state:
State.REQUESTING_LEFT:
emit_signal('response_received_left', timeout_msg, false)
State.REQUESTING_RIGHT:
emit_signal('response_received_right', timeout_msg, false)
_on_request_finished()
#endregion
#region Управление запросами
# Переход к следующему запросу в очереди
func _request_next(next_state: State) -> void:
current_state = next_state
# Определяем URL для текущего состояния
match current_state:
State.REQUESTING_LEFT:
current_url = addresses.get('Адрес АФСП левого борта', '')
State.REQUESTING_RIGHT:
current_url = addresses.get('Адрес АФСП правого борта', '')
State.IDLE:
return
# Проверяем, задан ли URL
if current_url.is_empty():
print('URL не задан для ', current_state)
var error_msg = 'URL не задан'
_save_error(error_msg)
# Испускаем сигнал с ошибкой
match current_state:
State.REQUESTING_LEFT:
emit_signal('response_received_left', error_msg, false)
State.REQUESTING_RIGHT:
emit_signal('response_received_right', error_msg, false)
_on_request_finished()
return
# Испускаем сигнал отправки запроса
match current_state:
State.REQUESTING_LEFT:
emit_signal('request_sent_left', current_url)
State.REQUESTING_RIGHT:
emit_signal('request_sent_right', current_url)
# Запускаем таймер и отправляем запрос
timeout_timer.start(timeout)
var error = http_request.request(current_url)
if error != OK:
print('Ошибка запроса: ', error_string(error))
var error_msg = 'Ошибка запроса: ' + error_string(error)
_save_error(error_msg)
# Испускаем сигнал с ошибкой
match current_state:
State.REQUESTING_LEFT:
emit_signal('response_received_left', error_msg, false)
State.REQUESTING_RIGHT:
emit_signal('response_received_right', error_msg, false)
_on_request_finished()
# Обработка завершения текущего запроса (успех/ошибка/таймаут)
func _on_request_finished() -> void:
match current_state:
State.REQUESTING_LEFT:
# После левого борта переходим к правому
_request_next(State.REQUESTING_RIGHT)
State.REQUESTING_RIGHT, State.WAITING_TIMEOUT:
# После правого борта или таймаута возвращаемся в IDLE
current_state = State.IDLE
print('Цикл запросов завершен')
#endregion
#region Сохранение результатов
# Сохраняет успешный ответ от устройства
func _save_response(response: String) -> void:
match current_state:
State.REQUESTING_LEFT:
last_response_left = response
State.REQUESTING_RIGHT:
last_response_right = response
# Сохраняет ошибку от устройства
func _save_error(error: String) -> void:
match current_state:
State.REQUESTING_LEFT:
last_error_left = error
State.REQUESTING_RIGHT:
last_error_right = error
#endregion

1
scripts/rtr.gd.uid Normal file
View File

@@ -0,0 +1 @@
uid://ctqcvjqjb1av3

View File

@@ -28,13 +28,13 @@ var UnitProfiles: Dictionary[StringName, Array] = { \
'навигация': ['navi', ['*', 60000, true, true ], 'IP-адрес на котором принимают сообщения от навигации'],
# < Название: [протокол, [адрес, порт, широковещательное, привязывать], комментарий >
'эмс-ведущий': ['iyems-rx', ['127.0.0.1', 61000, false, true], 'IP-адрес для приёма докладов от информационных ЭМС устройств'],
'эмс-ор63': ['iyems-tx', ['127.0.0.1', 61001, false, false], 'IP-адрес для передачи команд информационному ЭМС устройству'],
'эмс-454': ['iyems-tx', ['127.0.0.1', 61002, false, false], 'IP-адрес для передачи команд информационному ЭМС устройству'],
'эмс-го': ['iyems-tx', ['127.0.0.1', 61003, false, false], 'IP-адрес для передачи команд информационному ЭМС устройству'],
'эмс-рлс1': ['iyems-tx', ['127.0.0.1', 61004, false, false], 'IP-адрес для передачи команд информационному ЭМС устройству'],
'эмс-рлс2': ['iyems-tx', ['127.0.0.1', 61005, false, false], 'IP-адрес для передачи команд информационному ЭМС устройству'],
'эмс-ннвс': ['iyems-tx', ['127.0.0.1', 61006, false, false], 'IP-адрес для передачи команд информационному ЭМС устройству'],
'эмс-ведущий': ['iyems-rx', ['192.168.11.105', 61000, false, true], 'IP-адрес для приёма докладов от информационных ЭМС устройств'],
'эмс-ор63': ['iyems-tx', ['192.168.11.200', 61001, false, false], 'IP-адрес для передачи команд информационному ЭМС устройству'],
'эмс-454': ['iyems-tx', ['192.168.11.200', 61002, false, false], 'IP-адрес для передачи команд информационному ЭМС устройству'],
'эмс-го': ['iyems-tx', ['192.168.11.200', 61003, false, false], 'IP-адрес для передачи команд информационному ЭМС устройству'],
'эмс-рлс1': ['iyems-tx', ['192.168.11.200', 61004, false, false], 'IP-адрес для передачи команд информационному ЭМС устройству'],
'эмс-рлс2': ['iyems-tx', ['192.168.11.200', 61005, false, false], 'IP-адрес для передачи команд информационному ЭМС устройству'],
'эмс-ннвс': ['iyems-tx', ['192.168.11.200', 61006, false, false], 'IP-адрес для передачи команд информационному ЭМС устройству'],
'эмс-изделие7': ['iyems-tx', ['127.0.0.1', 61007, false, false], 'IP-адрес для передачи команд информационному ЭМС устройству'],
'эмс-изделие8': ['iyems-tx', ['127.0.0.1', 61008, false, false], 'IP-адрес для передачи команд информационному ЭМС устройству'],

View File

@@ -1,7 +1,7 @@
extends Node
## Работа с целями.
const MSG9_RESEND_TIMEOUT = 1.0 ## Время повторной отправки пакета 9
const MSG9_RESEND_TIMEOUT = 3.0 ## Время повторной отправки пакета 9
## Режимы работы АФСП и БПО (Протокол ТНИИС-СТЦ, пункт 2.5.10)
enum AFSP_BPO_MODE {
@@ -217,10 +217,7 @@ func send_msg9(unit_caps):
func on_timer_msg9(unit_caps, timer_msg9):
if bpo_mode != bpo_mode_rx:
send_msg9(unit_caps)
else:
timer_msg9.stop()
send_msg9(unit_caps)
func on_caps_line_changed(unit_caps, timer_msg9):