Чистка. Удаление отладочных данных для имитатора постановки помех.
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
[gd_scene load_steps=9 format=3 uid="uid://dab6loryocc73"]
|
||||
|
||||
[ext_resource type="Script" path="res://scenes/ЭМС.gd" id="1_q1m5r"]
|
||||
[ext_resource type="PackedScene" uid="uid://da7w3vkhadfwe" path="res://scenes/button-flat.tscn" id="2_uk2qh"]
|
||||
[ext_resource type="Texture2D" uid="uid://dd60btbqnpiqw" path="res://data/document-new-0.png" id="3_r67hm"]
|
||||
[ext_resource type="Texture2D" uid="uid://coqg6wsftvtxr" path="res://data/document-save-0.png" id="4_k4ywy"]
|
||||
[ext_resource type="Texture2D" uid="uid://cywuevvpkxl7v" path="res://data/edit-copy-0.png" id="5_4t8ng"]
|
||||
[ext_resource type="Texture2D" uid="uid://7h55yvh84cve" path="res://data/connect.png" id="6_d2e8w"]
|
||||
[ext_resource type="Texture2D" uid="uid://cjsr544qccftu" path="res://data/disconnect.png" id="7_num3n"]
|
||||
[ext_resource type="Script" path="res://table/table.gd" id="8_kuams"]
|
||||
[ext_resource type="Script" path="res://scenes/ЭМС.gd" id="1_1nxn8"]
|
||||
[ext_resource type="PackedScene" uid="uid://da7w3vkhadfwe" path="res://scenes/button-flat.tscn" id="2_wuf8c"]
|
||||
[ext_resource type="Texture2D" uid="uid://dd60btbqnpiqw" path="res://data/document-new-0.png" id="3_ht4vy"]
|
||||
[ext_resource type="Texture2D" uid="uid://coqg6wsftvtxr" path="res://data/document-save-0.png" id="4_1lt1r"]
|
||||
[ext_resource type="Texture2D" uid="uid://cywuevvpkxl7v" path="res://data/edit-copy-0.png" id="5_6msm4"]
|
||||
[ext_resource type="Texture2D" uid="uid://7h55yvh84cve" path="res://data/connect.png" id="6_4iewi"]
|
||||
[ext_resource type="Texture2D" uid="uid://cjsr544qccftu" path="res://data/disconnect.png" id="7_fxg53"]
|
||||
[ext_resource type="Script" path="res://table/table.gd" id="8_bdyv5"]
|
||||
|
||||
[node name="ЭМС" type="Panel"]
|
||||
offset_right = 1598.0
|
||||
offset_bottom = 1201.0
|
||||
script = ExtResource("1_q1m5r")
|
||||
script = ExtResource("1_1nxn8")
|
||||
|
||||
[node name="lbl_online" type="Label" parent="."]
|
||||
layout_mode = 0
|
||||
@@ -23,7 +23,7 @@ offset_bottom = 30.0
|
||||
theme_override_colors/font_color = Color(0, 0.647059, 0.184314, 1)
|
||||
text = "Ячейка на связи"
|
||||
|
||||
[node name="btn_flash_read" parent="." instance=ExtResource("2_uk2qh")]
|
||||
[node name="btn_flash_read" parent="." instance=ExtResource("2_wuf8c")]
|
||||
layout_mode = 0
|
||||
offset_left = 1446.0
|
||||
offset_top = 55.0
|
||||
@@ -31,7 +31,7 @@ offset_right = 1583.0
|
||||
offset_bottom = 85.0
|
||||
text = "Прочитать"
|
||||
|
||||
[node name="btn_flash_write" parent="." instance=ExtResource("2_uk2qh")]
|
||||
[node name="btn_flash_write" parent="." instance=ExtResource("2_wuf8c")]
|
||||
layout_mode = 0
|
||||
offset_left = 1446.0
|
||||
offset_top = 99.0
|
||||
@@ -48,7 +48,7 @@ offset_bottom = 1016.0
|
||||
focus_mode = 0
|
||||
shortcut_feedback = false
|
||||
shortcut_in_tooltip = false
|
||||
icon = ExtResource("3_r67hm")
|
||||
icon = ExtResource("3_ht4vy")
|
||||
|
||||
[node name="btn_save" type="Button" parent="."]
|
||||
layout_mode = 0
|
||||
@@ -57,7 +57,7 @@ offset_top = 1017.0
|
||||
offset_right = 1509.0
|
||||
offset_bottom = 1073.0
|
||||
focus_mode = 0
|
||||
icon = ExtResource("4_k4ywy")
|
||||
icon = ExtResource("4_1lt1r")
|
||||
|
||||
[node name="btn_copy" type="Button" parent="."]
|
||||
layout_mode = 0
|
||||
@@ -66,7 +66,7 @@ offset_top = 1074.0
|
||||
offset_right = 1510.0
|
||||
offset_bottom = 1130.0
|
||||
focus_mode = 0
|
||||
icon = ExtResource("5_4t8ng")
|
||||
icon = ExtResource("5_6msm4")
|
||||
|
||||
[node name="btn_connect" type="Button" parent="."]
|
||||
layout_mode = 0
|
||||
@@ -76,7 +76,7 @@ offset_right = 683.0
|
||||
offset_bottom = 111.0
|
||||
focus_mode = 0
|
||||
theme_override_colors/icon_normal_color = Color(1, 1, 1, 1)
|
||||
icon = ExtResource("6_d2e8w")
|
||||
icon = ExtResource("6_4iewi")
|
||||
|
||||
[node name="btn_disconnect" type="Button" parent="."]
|
||||
layout_mode = 0
|
||||
@@ -86,7 +86,7 @@ offset_right = 770.0
|
||||
offset_bottom = 815.0
|
||||
focus_mode = 0
|
||||
theme_override_colors/icon_normal_color = Color(1, 1, 1, 1)
|
||||
icon = ExtResource("7_num3n")
|
||||
icon = ExtResource("7_fxg53")
|
||||
|
||||
[node name="scrollin" type="ScrollContainer" parent="."]
|
||||
layout_mode = 0
|
||||
@@ -97,7 +97,7 @@ offset_bottom = 679.0
|
||||
|
||||
[node name="tbl_in" type="GridContainer" parent="scrollin"]
|
||||
layout_mode = 2
|
||||
script = ExtResource("8_kuams")
|
||||
script = ExtResource("8_bdyv5")
|
||||
|
||||
[node name="scrl_files" type="ScrollContainer" parent="."]
|
||||
layout_mode = 0
|
||||
@@ -108,7 +108,7 @@ offset_bottom = 1166.0
|
||||
|
||||
[node name="tbl_files" type="GridContainer" parent="scrl_files"]
|
||||
layout_mode = 2
|
||||
script = ExtResource("8_kuams")
|
||||
script = ExtResource("8_bdyv5")
|
||||
|
||||
[node name="scrollout" type="ScrollContainer" parent="."]
|
||||
layout_mode = 0
|
||||
@@ -119,7 +119,7 @@ offset_bottom = 679.0
|
||||
|
||||
[node name="tbl_out" type="GridContainer" parent="scrollout"]
|
||||
layout_mode = 2
|
||||
script = ExtResource("8_kuams")
|
||||
script = ExtResource("8_bdyv5")
|
||||
|
||||
[node name="scrl_in_set" type="ScrollContainer" parent="."]
|
||||
layout_mode = 0
|
||||
@@ -130,7 +130,7 @@ offset_bottom = 942.0
|
||||
|
||||
[node name="tbl_in_set" type="GridContainer" parent="scrl_in_set"]
|
||||
layout_mode = 2
|
||||
script = ExtResource("8_kuams")
|
||||
script = ExtResource("8_bdyv5")
|
||||
|
||||
[node name="scrl_out_set" type="ScrollContainer" parent="."]
|
||||
layout_mode = 0
|
||||
@@ -141,4 +141,4 @@ offset_bottom = 924.0
|
||||
|
||||
[node name="tbl_out_set" type="GridContainer" parent="scrl_out_set"]
|
||||
layout_mode = 2
|
||||
script = ExtResource("8_kuams")
|
||||
script = ExtResource("8_bdyv5")
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://trt0q8th3bn2"]
|
||||
|
||||
[ext_resource type="Script" path="res://scenes/журнал.gd" id="1_qjw6d"]
|
||||
[ext_resource type="Script" path="res://addons/godot-logger/scripts/logger_output.gd" id="2_l1pni"]
|
||||
[ext_resource type="Script" path="res://scenes/журнал.gd" id="1_fwq1t"]
|
||||
[ext_resource type="Script" path="res://addons/godot-logger/scripts/logger_output.gd" id="2_m6ebo"]
|
||||
|
||||
[node name="журнал" type="Panel"]
|
||||
anchors_preset = 15
|
||||
@@ -13,7 +13,7 @@ offset_right = -2.0
|
||||
offset_bottom = -1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_qjw6d")
|
||||
script = ExtResource("1_fwq1t")
|
||||
|
||||
[node name="content" type="RichTextLabel" parent="."]
|
||||
layout_mode = 0
|
||||
@@ -26,7 +26,7 @@ theme_override_colors/selection_color = Color(0.72549, 0.270588, 0.133333, 1)
|
||||
threaded = true
|
||||
selection_enabled = true
|
||||
deselect_on_focus_loss_enabled = false
|
||||
script = ExtResource("2_l1pni")
|
||||
script = ExtResource("2_m6ebo")
|
||||
|
||||
[node name="btn_save" type="Button" parent="."]
|
||||
layout_mode = 0
|
||||
@@ -46,8 +46,8 @@ text = "Очистить"
|
||||
|
||||
[node name="dlg_file" type="FileDialog" parent="."]
|
||||
gui_embed_subwindows = true
|
||||
title = "Сохранить журнал работы в файл"
|
||||
initial_position = 2
|
||||
title = "Сохранить журнал работы в файл"
|
||||
size = Vector2i(900, 900)
|
||||
borderless = true
|
||||
ok_button_text = "Да"
|
||||
|
||||
@@ -1,19 +1,19 @@
|
||||
[gd_scene load_steps=11 format=3 uid="uid://b276iygic5itk"]
|
||||
|
||||
[ext_resource type="Script" path="res://scenes/работа.gd" id="1_vmjjl"]
|
||||
[ext_resource type="PackedScene" uid="uid://nl1vklubr5kr" path="res://scenes/bip.tscn" id="2_ew6j4"]
|
||||
[ext_resource type="Texture2D" uid="uid://cs6i1xwx0pmdk" path="res://data/рамка-панели.png" id="3_38cyn"]
|
||||
[ext_resource type="Script" path="res://scenes/scroll-threats.gd" id="4_6pit6"]
|
||||
[ext_resource type="Script" path="res://table/table.gd" id="5_0lwxu"]
|
||||
[ext_resource type="Script" path="res://scenes/scroll-params.gd" id="6_v4chn"]
|
||||
[ext_resource type="PackedScene" uid="uid://b5kjdyxuwsot5" path="res://scenes/canvas.tscn" id="7_pvt8f"]
|
||||
[ext_resource type="PackedScene" uid="uid://da7w3vkhadfwe" path="res://scenes/button-flat.tscn" id="8_r2k1p"]
|
||||
[ext_resource type="FontFile" uid="uid://befva8r034a4v" path="res://data/DSEG7Classic-Regular.ttf" id="9_lr4kl"]
|
||||
[ext_resource type="Texture2D" uid="uid://c1maea6yhd3k7" path="res://data/кнопка-масштаб.png" id="10_7gljt"]
|
||||
[ext_resource type="Script" path="res://scenes/работа.gd" id="1_1dx24"]
|
||||
[ext_resource type="PackedScene" uid="uid://nl1vklubr5kr" path="res://scenes/bip.tscn" id="2_cs8sl"]
|
||||
[ext_resource type="Texture2D" uid="uid://cs6i1xwx0pmdk" path="res://data/рамка-панели.png" id="3_wso2y"]
|
||||
[ext_resource type="Script" path="res://scenes/scroll-threats.gd" id="4_03jg1"]
|
||||
[ext_resource type="Script" path="res://table/table.gd" id="5_2ogsf"]
|
||||
[ext_resource type="Script" path="res://scenes/scroll-params.gd" id="6_j7igb"]
|
||||
[ext_resource type="PackedScene" uid="uid://da7w3vkhadfwe" path="res://scenes/button-flat.tscn" id="7_0ftx2"]
|
||||
[ext_resource type="PackedScene" uid="uid://b5kjdyxuwsot5" path="res://scenes/canvas.tscn" id="8_nqxqm"]
|
||||
[ext_resource type="FontFile" uid="uid://befva8r034a4v" path="res://data/DSEG7Classic-Regular.ttf" id="9_a8kps"]
|
||||
[ext_resource type="Texture2D" uid="uid://c1maea6yhd3k7" path="res://data/кнопка-масштаб.png" id="10_y3le3"]
|
||||
|
||||
[node name="Работа" type="Panel"]
|
||||
script = ExtResource("1_vmjjl")
|
||||
Bip = ExtResource("2_ew6j4")
|
||||
script = ExtResource("1_1dx24")
|
||||
Bip = ExtResource("2_cs8sl")
|
||||
col_grey = Color(0.34902, 0.643137, 0.772549, 0.168627)
|
||||
col_red = Color(1, 0.568627, 0.431373, 0.239216)
|
||||
drag_scale_band = 0.05
|
||||
@@ -41,7 +41,7 @@ offset_bottom = 1169.0
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
texture = ExtResource("3_38cyn")
|
||||
texture = ExtResource("3_wso2y")
|
||||
patch_margin_left = 15
|
||||
patch_margin_top = 30
|
||||
patch_margin_right = 15
|
||||
@@ -65,18 +65,18 @@ offset_left = 4.0
|
||||
offset_top = 51.0
|
||||
offset_right = 476.0
|
||||
offset_bottom = 282.0
|
||||
script = ExtResource("4_6pit6")
|
||||
script = ExtResource("4_03jg1")
|
||||
|
||||
[node name="table" type="GridContainer" parent="grd_side/frm_threats/scroll"]
|
||||
layout_mode = 2
|
||||
columns = 4
|
||||
script = ExtResource("5_0lwxu")
|
||||
script = ExtResource("5_2ogsf")
|
||||
|
||||
[node name="frm_params" type="NinePatchRect" parent="grd_side"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
texture = ExtResource("3_38cyn")
|
||||
texture = ExtResource("3_wso2y")
|
||||
patch_margin_left = 15
|
||||
patch_margin_top = 30
|
||||
patch_margin_right = 15
|
||||
@@ -100,17 +100,17 @@ offset_left = 4.0
|
||||
offset_top = 27.0
|
||||
offset_right = 476.0
|
||||
offset_bottom = 282.0
|
||||
script = ExtResource("6_v4chn")
|
||||
script = ExtResource("6_j7igb")
|
||||
|
||||
[node name="table" type="GridContainer" parent="grd_side/frm_params/scroll"]
|
||||
layout_mode = 2
|
||||
script = ExtResource("5_0lwxu")
|
||||
script = ExtResource("5_2ogsf")
|
||||
|
||||
[node name="frm_ecm_list" type="NinePatchRect" parent="grd_side"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
texture = ExtResource("3_38cyn")
|
||||
texture = ExtResource("3_wso2y")
|
||||
patch_margin_left = 15
|
||||
patch_margin_top = 30
|
||||
patch_margin_right = 15
|
||||
@@ -137,7 +137,7 @@ offset_bottom = 237.0
|
||||
|
||||
[node name="table" type="GridContainer" parent="grd_side/frm_ecm_list/scroll"]
|
||||
layout_mode = 2
|
||||
script = ExtResource("5_0lwxu")
|
||||
script = ExtResource("5_2ogsf")
|
||||
|
||||
[node name="grd_forced" type="GridContainer" parent="grd_side/frm_ecm_list"]
|
||||
layout_mode = 0
|
||||
@@ -147,7 +147,7 @@ offset_right = 472.0
|
||||
offset_bottom = 281.0
|
||||
columns = 4
|
||||
|
||||
[node name="btn_srn" parent="grd_side/frm_ecm_list/grd_forced" groups=["группа-принудительно"] instance=ExtResource("8_r2k1p")]
|
||||
[node name="btn_srn" parent="grd_side/frm_ecm_list/grd_forced" groups=["группа-принудительно"] instance=ExtResource("7_0ftx2")]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
@@ -155,7 +155,7 @@ tooltip_text = "Включает принудительную помеху"
|
||||
text = "СРН"
|
||||
metadata/rfi_name = "ozp1"
|
||||
|
||||
[node name="btn_jtids" parent="grd_side/frm_ecm_list/grd_forced" groups=["группа-принудительно"] instance=ExtResource("8_r2k1p")]
|
||||
[node name="btn_jtids" parent="grd_side/frm_ecm_list/grd_forced" groups=["группа-принудительно"] instance=ExtResource("7_0ftx2")]
|
||||
editor_description = "Кнопка для принудительного включения группы секторов в режим JTIDS"
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
@@ -163,7 +163,7 @@ size_flags_vertical = 3
|
||||
text = "JTIDS"
|
||||
metadata/rfi_name = "ozp1"
|
||||
|
||||
[node name="btn_kupd" parent="grd_side/frm_ecm_list/grd_forced" groups=["группа-принудительно"] instance=ExtResource("8_r2k1p")]
|
||||
[node name="btn_kupd" parent="grd_side/frm_ecm_list/grd_forced" groups=["группа-принудительно"] instance=ExtResource("7_0ftx2")]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
@@ -171,7 +171,7 @@ tooltip_text = "Кнопка для принудительного включе
|
||||
text = "КУПД"
|
||||
metadata/rfi_name = "ozp1"
|
||||
|
||||
[node name="btn_cancel" parent="grd_side/frm_ecm_list/grd_forced" groups=["прин-секторы-срн"] instance=ExtResource("8_r2k1p")]
|
||||
[node name="btn_cancel" parent="grd_side/frm_ecm_list/grd_forced" groups=["прин-секторы-срн"] instance=ExtResource("7_0ftx2")]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
@@ -183,7 +183,7 @@ metadata/rfi_name = "<off>"
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
texture = ExtResource("3_38cyn")
|
||||
texture = ExtResource("3_wso2y")
|
||||
patch_margin_left = 15
|
||||
patch_margin_top = 30
|
||||
patch_margin_right = 15
|
||||
@@ -210,9 +210,9 @@ offset_bottom = 282.0
|
||||
|
||||
[node name="table" type="GridContainer" parent="grd_side/frm_ecm_params/scroll"]
|
||||
layout_mode = 2
|
||||
script = ExtResource("5_0lwxu")
|
||||
script = ExtResource("5_2ogsf")
|
||||
|
||||
[node name="canvas" parent="." instance=ExtResource("7_pvt8f")]
|
||||
[node name="canvas" parent="." instance=ExtResource("8_nqxqm")]
|
||||
metadata/_edit_lock_ = true
|
||||
|
||||
[node name="grd_btns" type="GridContainer" parent="."]
|
||||
@@ -223,7 +223,7 @@ offset_right = 1104.0
|
||||
offset_bottom = 1170.0
|
||||
columns = 14
|
||||
|
||||
[node name="btn_off" parent="grd_btns" groups=["группа-режим-помехи"] instance=ExtResource("8_r2k1p")]
|
||||
[node name="btn_off" parent="grd_btns" groups=["группа-режим-помехи"] instance=ExtResource("7_0ftx2")]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
@@ -231,91 +231,91 @@ text = "Откл."
|
||||
pressed = true
|
||||
metadata/rfi_name = "<off>"
|
||||
|
||||
[node name="btn_auto_rfi" parent="grd_btns" groups=["группа-режим-помехи"] instance=ExtResource("8_r2k1p")]
|
||||
[node name="btn_auto_rfi" parent="grd_btns" groups=["группа-режим-помехи"] instance=ExtResource("7_0ftx2")]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
text = "Автомат"
|
||||
metadata/rfi_name = "<auto>"
|
||||
|
||||
[node name="btn_p12" parent="grd_btns" groups=["группа-режим-помехи"] instance=ExtResource("8_r2k1p")]
|
||||
[node name="btn_p12" parent="grd_btns" groups=["группа-режим-помехи"] instance=ExtResource("7_0ftx2")]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
text = "МЧМ-1"
|
||||
metadata/rfi_name = "mchm1"
|
||||
|
||||
[node name="btn_p16" parent="grd_btns" groups=["группа-режим-помехи"] instance=ExtResource("8_r2k1p")]
|
||||
[node name="btn_p16" parent="grd_btns" groups=["группа-режим-помехи"] instance=ExtResource("7_0ftx2")]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
text = "СРН-И1"
|
||||
metadata/rfi_name = "srni1"
|
||||
|
||||
[node name="btn_p15" parent="grd_btns" groups=["группа-режим-помехи"] instance=ExtResource("8_r2k1p")]
|
||||
[node name="btn_p15" parent="grd_btns" groups=["группа-режим-помехи"] instance=ExtResource("7_0ftx2")]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
text = "СРН-М2"
|
||||
metadata/rfi_name = "srnm2"
|
||||
|
||||
[node name="btn_p14" parent="grd_btns" groups=["группа-режим-помехи"] instance=ExtResource("8_r2k1p")]
|
||||
[node name="btn_p14" parent="grd_btns" groups=["группа-режим-помехи"] instance=ExtResource("7_0ftx2")]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
text = "ПД-М4"
|
||||
metadata/rfi_name = "pdm4"
|
||||
|
||||
[node name="btn_p13" parent="grd_btns" groups=["группа-режим-помехи"] instance=ExtResource("8_r2k1p")]
|
||||
[node name="btn_p13" parent="grd_btns" groups=["группа-режим-помехи"] instance=ExtResource("7_0ftx2")]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
text = "ПД-М2"
|
||||
metadata/rfi_name = "pdm2"
|
||||
|
||||
[node name="btn_p11" parent="grd_btns" groups=["группа-режим-помехи"] instance=ExtResource("8_r2k1p")]
|
||||
[node name="btn_p11" parent="grd_btns" groups=["группа-режим-помехи"] instance=ExtResource("7_0ftx2")]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
text = "ЛЧМ-1"
|
||||
metadata/rfi_name = "lchm1"
|
||||
|
||||
[node name="btn_p10" parent="grd_btns" groups=["группа-режим-помехи"] instance=ExtResource("8_r2k1p")]
|
||||
[node name="btn_p10" parent="grd_btns" groups=["группа-режим-помехи"] instance=ExtResource("7_0ftx2")]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
text = "ПД-М4С"
|
||||
metadata/rfi_name = "pdm4s"
|
||||
|
||||
[node name="btn_p9" parent="grd_btns" groups=["группа-режим-помехи"] instance=ExtResource("8_r2k1p")]
|
||||
[node name="btn_p9" parent="grd_btns" groups=["группа-режим-помехи"] instance=ExtResource("7_0ftx2")]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
text = "ПД-ЧМ"
|
||||
metadata/rfi_name = "pdchm"
|
||||
|
||||
[node name="btn_p8" parent="grd_btns" groups=["группа-режим-помехи"] instance=ExtResource("8_r2k1p")]
|
||||
[node name="btn_p8" parent="grd_btns" groups=["группа-режим-помехи"] instance=ExtResource("7_0ftx2")]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
text = "СВ-И1"
|
||||
metadata/rfi_name = "svi1"
|
||||
|
||||
[node name="btn_p7" parent="grd_btns" groups=["группа-режим-помехи"] instance=ExtResource("8_r2k1p")]
|
||||
[node name="btn_p7" parent="grd_btns" groups=["группа-режим-помехи"] instance=ExtResource("7_0ftx2")]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
text = "K1"
|
||||
metadata/rfi_name = "k1"
|
||||
|
||||
[node name="btn_p6" parent="grd_btns" groups=["группа-режим-помехи"] instance=ExtResource("8_r2k1p")]
|
||||
[node name="btn_p6" parent="grd_btns" groups=["группа-режим-помехи"] instance=ExtResource("7_0ftx2")]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
text = "СВ-М2"
|
||||
metadata/rfi_name = "svm2"
|
||||
|
||||
[node name="btn_p5" parent="grd_btns" groups=["группа-режим-помехи"] instance=ExtResource("8_r2k1p")]
|
||||
[node name="btn_p5" parent="grd_btns" groups=["группа-режим-помехи"] instance=ExtResource("7_0ftx2")]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
@@ -329,7 +329,7 @@ offset_left = 96.0
|
||||
offset_top = 109.0
|
||||
offset_right = 164.0
|
||||
offset_bottom = 142.0
|
||||
theme_override_fonts/font = ExtResource("9_lr4kl")
|
||||
theme_override_fonts/font = ExtResource("9_a8kps")
|
||||
theme_override_font_sizes/font_size = 20
|
||||
text = "88"
|
||||
vertical_alignment = 1
|
||||
@@ -338,7 +338,7 @@ vertical_alignment = 1
|
||||
layout_mode = 0
|
||||
offset_right = 68.0
|
||||
offset_bottom = 33.0
|
||||
theme_override_fonts/font = ExtResource("9_lr4kl")
|
||||
theme_override_fonts/font = ExtResource("9_a8kps")
|
||||
theme_override_font_sizes/font_size = 20
|
||||
text = "00"
|
||||
vertical_alignment = 1
|
||||
@@ -350,7 +350,7 @@ offset_left = 96.0
|
||||
offset_top = 29.0
|
||||
offset_right = 188.0
|
||||
offset_bottom = 88.0
|
||||
theme_override_fonts/font = ExtResource("9_lr4kl")
|
||||
theme_override_fonts/font = ExtResource("9_a8kps")
|
||||
theme_override_font_sizes/font_size = 56
|
||||
text = "88"
|
||||
|
||||
@@ -359,7 +359,7 @@ modulate = Color(0.8, 0.533333, 0.27451, 1)
|
||||
layout_mode = 0
|
||||
offset_right = 92.0
|
||||
offset_bottom = 59.0
|
||||
theme_override_fonts/font = ExtResource("9_lr4kl")
|
||||
theme_override_fonts/font = ExtResource("9_a8kps")
|
||||
theme_override_font_sizes/font_size = 56
|
||||
text = "00"
|
||||
|
||||
@@ -389,7 +389,7 @@ offset_right = 83.0
|
||||
offset_bottom = 72.0
|
||||
text = "Опасных:"
|
||||
|
||||
[node name="btn_auto_threat" parent="." instance=ExtResource("8_r2k1p")]
|
||||
[node name="btn_auto_threat" parent="." instance=ExtResource("7_0ftx2")]
|
||||
layout_mode = 0
|
||||
offset_left = 1022.0
|
||||
offset_top = 6.0
|
||||
@@ -399,7 +399,7 @@ size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
text = "Автомат"
|
||||
|
||||
[node name="btn_strob" parent="." instance=ExtResource("8_r2k1p")]
|
||||
[node name="btn_strob" parent="." instance=ExtResource("7_0ftx2")]
|
||||
layout_mode = 2
|
||||
offset_left = 1022.0
|
||||
offset_top = 66.0
|
||||
@@ -410,7 +410,7 @@ size_flags_vertical = 3
|
||||
tooltip_text = "Кнопка для выбора сектора при помощи клика мышкой"
|
||||
text = "Строб"
|
||||
|
||||
[node name="btn_view" parent="." instance=ExtResource("8_r2k1p")]
|
||||
[node name="btn_view" parent="." instance=ExtResource("7_0ftx2")]
|
||||
layout_mode = 2
|
||||
offset_left = 874.0
|
||||
offset_top = 1023.0
|
||||
@@ -429,7 +429,7 @@ offset_right = 1104.0
|
||||
offset_bottom = 1056.0
|
||||
tooltip_text = "Измененяет масштаб"
|
||||
action_mode = 0
|
||||
texture_normal = ExtResource("10_7gljt")
|
||||
texture_normal = ExtResource("10_y3le3")
|
||||
ignore_texture_size = true
|
||||
stretch_mode = 0
|
||||
metadata/i_scale = 0
|
||||
|
||||
@@ -51,50 +51,6 @@ func _ready() -> void:
|
||||
|
||||
for key in units: Log.info('%s %s:%d' % [units[key].name, key[0], key[1]])
|
||||
|
||||
var timer_interfer: = Timer.new()
|
||||
add_child(timer_interfer)
|
||||
timer_interfer.connect('timeout', Callable(self, 'on_timer_interfer'))
|
||||
timer_interfer.start(0.3)
|
||||
|
||||
|
||||
func on_timer_interfer():
|
||||
var interfer = {}
|
||||
var random = RandomNumberGenerator.new()
|
||||
random.randomize()
|
||||
interfer['ts'] = 6
|
||||
interfer['ss'] = 0
|
||||
interfer['ispp'] = random.randi_range(1, 10)
|
||||
interfer['krp'] = 'pdm2'
|
||||
interfer['powp'] = random.randi_range(0, 10)
|
||||
interfer['kni'] = random.randi_range(0, 360)
|
||||
interfer['params'] = {'freq':random.randi_range(400, 6000), 'width': 20}
|
||||
interfer['get'] = []
|
||||
var json = JSON.new().stringify(interfer)
|
||||
var pac = json.to_utf8_buffer()
|
||||
sock_capsrpb.set_dest_address(repsettings.UnitProfiles['уарэп-капсрпб-отп'][1], repsettings.UnitProfiles['уарэп-капсрпб-отп'][2])
|
||||
sock_capsrpb.put_packet(pac)
|
||||
|
||||
var msg_type8 = {}
|
||||
var time = Time.get_datetime_dict_from_system()
|
||||
msg_type8['ts'] = 8
|
||||
msg_type8['ss'] = 0
|
||||
msg_type8['roll'] = 0
|
||||
msg_type8['trim'] = 0
|
||||
msg_type8['year'] = time['year']
|
||||
msg_type8['month'] = time['month']
|
||||
msg_type8['day'] = time['day']
|
||||
msg_type8['hour'] = time['hour']
|
||||
msg_type8['minute'] = time['minute']
|
||||
msg_type8['second'] = time['second']
|
||||
msg_type8['long'] = 38.4324
|
||||
msg_type8['lat'] = 43.5353
|
||||
msg_type8['course'] = 264
|
||||
msg_type8['speed'] = 10
|
||||
json = JSON.new().stringify(msg_type8)
|
||||
pac = json.to_utf8_buffer()
|
||||
sock_capsrpb.set_dest_address(repsettings.UnitProfiles['уарэп-капсрпб-отп'][1], repsettings.UnitProfiles['уарэп-капсрпб-отп'][2])
|
||||
sock_capsrpb.put_packet(pac)
|
||||
|
||||
|
||||
func poll_receive(sock: Socket, tick: int) -> bool:
|
||||
while sock.get_available_packet_count() > 0:
|
||||
|
||||
Reference in New Issue
Block a user