diff --git a/data/Окно частот0.png b/data/Окно частот0.png deleted file mode 100644 index 37c9874a..00000000 Binary files a/data/Окно частот0.png and /dev/null differ diff --git a/data/Окно.png b/data/Окно.png deleted file mode 100644 index 18d7d280..00000000 Binary files a/data/Окно.png and /dev/null differ diff --git a/data/Передатчик.png b/data/Передатчик.png index aa3c5411..59824db2 100644 Binary files a/data/Передатчик.png and b/data/Передатчик.png differ diff --git a/data/Скруглённый квадрат белый.png.import b/data/Скруглённый квадрат белый.png.import deleted file mode 100644 index d2064921..00000000 --- a/data/Скруглённый квадрат белый.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://djv8fkddcjucs" -path="res://.godot/imported/Скруглённый квадрат белый.png-4793c453fe49bfbe7c9affd223331345.ctex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://data/Скруглённый квадрат белый.png" -dest_files=["res://.godot/imported/Скруглённый квадрат белый.png-4793c453fe49bfbe7c9affd223331345.ctex"] - -[params] - -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -compress/hdr_compression=1 -compress/normal_map=0 -compress/channel_pack=0 -mipmaps/generate=false -mipmaps/limit=-1 -roughness/mode=0 -roughness/src_normal="" -process/fix_alpha_border=true -process/premult_alpha=false -process/normal_map_invert_y=false -process/hdr_as_srgb=false -process/hdr_clamp_exposure=false -process/size_limit=0 -detect_3d/compress_to=1 diff --git a/data/Скруглённый квадрат серый.png b/data/Скруглённый квадрат серый.png deleted file mode 100644 index d4779b41..00000000 Binary files a/data/Скруглённый квадрат серый.png and /dev/null differ diff --git a/data/Скруглённый квадрат серый.png.import b/data/Скруглённый квадрат серый.png.import deleted file mode 100644 index 9d16be2e..00000000 --- a/data/Скруглённый квадрат серый.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://fuhhvsa5um4m" -path="res://.godot/imported/Скруглённый квадрат серый.png-2111d7338e52a03a41f05d6ffbbc3eb6.ctex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://data/Скруглённый квадрат серый.png" -dest_files=["res://.godot/imported/Скруглённый квадрат серый.png-2111d7338e52a03a41f05d6ffbbc3eb6.ctex"] - -[params] - -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -compress/hdr_compression=1 -compress/normal_map=0 -compress/channel_pack=0 -mipmaps/generate=false -mipmaps/limit=-1 -roughness/mode=0 -roughness/src_normal="" -process/fix_alpha_border=true -process/premult_alpha=false -process/normal_map_invert_y=false -process/hdr_as_srgb=false -process/hdr_clamp_exposure=false -process/size_limit=0 -detect_3d/compress_to=1 diff --git a/data/Скруглённый прямоуг салатный.png b/data/Скруглённый прямоуг салатный.png deleted file mode 100644 index 38f308c3..00000000 Binary files a/data/Скруглённый прямоуг салатный.png and /dev/null differ diff --git a/data/Скруглённый прямоуг салатный.png.import b/data/Скруглённый прямоуг салатный.png.import deleted file mode 100644 index 582915bb..00000000 --- a/data/Скруглённый прямоуг салатный.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://busl8rb38lis" -path="res://.godot/imported/Скруглённый прямоуг салатный.png-e10b4e8820d45ab6e79c4fba522af854.ctex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://data/Скруглённый прямоуг салатный.png" -dest_files=["res://.godot/imported/Скруглённый прямоуг салатный.png-e10b4e8820d45ab6e79c4fba522af854.ctex"] - -[params] - -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -compress/hdr_compression=1 -compress/normal_map=0 -compress/channel_pack=0 -mipmaps/generate=false -mipmaps/limit=-1 -roughness/mode=0 -roughness/src_normal="" -process/fix_alpha_border=true -process/premult_alpha=false -process/normal_map_invert_y=false -process/hdr_as_srgb=false -process/hdr_clamp_exposure=false -process/size_limit=0 -detect_3d/compress_to=1 diff --git a/data/Скруглённый прямоугольник белый.png b/data/Скруглённый прямоугольник белый.png deleted file mode 100644 index c17d762d..00000000 Binary files a/data/Скруглённый прямоугольник белый.png and /dev/null differ diff --git a/data/Скруглённый прямоугольник белый.png.import b/data/Скруглённый прямоугольник белый.png.import deleted file mode 100644 index ff4ba64e..00000000 --- a/data/Скруглённый прямоугольник белый.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://3siondd3feev" -path="res://.godot/imported/Скруглённый прямоугольник белый.png-758adbfc4fc135ed0095e711422b8c0e.ctex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://data/Скруглённый прямоугольник белый.png" -dest_files=["res://.godot/imported/Скруглённый прямоугольник белый.png-758adbfc4fc135ed0095e711422b8c0e.ctex"] - -[params] - -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -compress/hdr_compression=1 -compress/normal_map=0 -compress/channel_pack=0 -mipmaps/generate=false -mipmaps/limit=-1 -roughness/mode=0 -roughness/src_normal="" -process/fix_alpha_border=true -process/premult_alpha=false -process/normal_map_invert_y=false -process/hdr_as_srgb=false -process/hdr_clamp_exposure=false -process/size_limit=0 -detect_3d/compress_to=1 diff --git a/data/Скруглённый прямоугольник серый.png b/data/Скруглённый прямоугольник серый.png deleted file mode 100644 index 6b6dfbe6..00000000 Binary files a/data/Скруглённый прямоугольник серый.png and /dev/null differ diff --git a/data/Скруглённый прямоугольник серый.png.import b/data/Скруглённый прямоугольник серый.png.import deleted file mode 100644 index 6c47408a..00000000 --- a/data/Скруглённый прямоугольник серый.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://7ody4v7qy36g" -path="res://.godot/imported/Скруглённый прямоугольник серый.png-318eedc8abeb0fd535304028648863b7.ctex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://data/Скруглённый прямоугольник серый.png" -dest_files=["res://.godot/imported/Скруглённый прямоугольник серый.png-318eedc8abeb0fd535304028648863b7.ctex"] - -[params] - -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -compress/hdr_compression=1 -compress/normal_map=0 -compress/channel_pack=0 -mipmaps/generate=false -mipmaps/limit=-1 -roughness/mode=0 -roughness/src_normal="" -process/fix_alpha_border=true -process/premult_alpha=false -process/normal_map_invert_y=false -process/hdr_as_srgb=false -process/hdr_clamp_exposure=false -process/size_limit=0 -detect_3d/compress_to=1 diff --git a/data/Угловой квадрат3.png b/data/Угловой квадрат3.png index d84d853e..0fd8215a 100644 Binary files a/data/Угловой квадрат3.png and b/data/Угловой квадрат3.png differ diff --git a/data/матрица-конфликт.png b/data/матрица-конфликт.png new file mode 100644 index 00000000..94496def Binary files /dev/null and b/data/матрица-конфликт.png differ diff --git a/data/Окно.png.import b/data/матрица-конфликт.png.import similarity index 63% rename from data/Окно.png.import rename to data/матрица-конфликт.png.import index 813193a2..1149b9e7 100644 --- a/data/Окно.png.import +++ b/data/матрица-конфликт.png.import @@ -2,16 +2,16 @@ importer="texture" type="CompressedTexture2D" -uid="uid://co5xj5uhjfk84" -path="res://.godot/imported/Окно.png-ff4b5eac96df23ad4cd8e06dc32f5bb8.ctex" +uid="uid://busl8rb38lis" +path="res://.godot/imported/матрица-конфликт.png-e109709def61ac1d626d23088b556664.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://data/Окно.png" -dest_files=["res://.godot/imported/Окно.png-ff4b5eac96df23ad4cd8e06dc32f5bb8.ctex"] +source_file="res://data/матрица-конфликт.png" +dest_files=["res://.godot/imported/матрица-конфликт.png-e109709def61ac1d626d23088b556664.ctex"] [params] diff --git a/data/Скруглённый квадрат белый.png b/data/матрица-чисто.png similarity index 100% rename from data/Скруглённый квадрат белый.png rename to data/матрица-чисто.png diff --git a/data/Окно частот0.png.import b/data/матрица-чисто.png.import similarity index 65% rename from data/Окно частот0.png.import rename to data/матрица-чисто.png.import index a345503a..ffcf23bb 100644 --- a/data/Окно частот0.png.import +++ b/data/матрица-чисто.png.import @@ -2,16 +2,16 @@ importer="texture" type="CompressedTexture2D" -uid="uid://csxruavk0s40l" -path="res://.godot/imported/Окно частот0.png-79ada2e7504614b9bdf58bce1aff61fb.ctex" +uid="uid://djv8fkddcjucs" +path="res://.godot/imported/матрица-чисто.png-43b162afe88b693461904505b377fae0.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://data/Окно частот0.png" -dest_files=["res://.godot/imported/Окно частот0.png-79ada2e7504614b9bdf58bce1aff61fb.ctex"] +source_file="res://data/матрица-чисто.png" +dest_files=["res://.godot/imported/матрица-чисто.png-43b162afe88b693461904505b377fae0.ctex"] [params] diff --git a/scenes/эмс2/эмс-тг.gd b/scenes/эмс2/эмс-тг.gd index 0a6354ea..f1a6ecea 100644 --- a/scenes/эмс2/эмс-тг.gd +++ b/scenes/эмс2/эмс-тг.gd @@ -1,10 +1,14 @@ extends Panel +@export var matrix_conf: Array[Texture] ## [0] - чисто, нет конфликта, [1] - есть наложение частот +@export var unit_names: Array[StringName] ## Имена устройств + + func _ready() -> void: var unit_trassa = network.get_unit_instance('уарэп-трасса') - unit_trassa.connect('line_changed', Callable(self, 'on_trassa_line_changed')) - signaller.connect('sector_klaster', Callable(self, 'on_sector_klaster').bind(unit_trassa)) + unit_trassa.connect('line_changed', Callable(self, 'on_trassa_line_changed')) + signaller.connect('sector_klaster', Callable(self, 'on_sector_klaster').bind(unit_trassa)) func on_trassa_line_changed(_unit_trassa): diff --git a/scenes/эмс2/эмс2.tscn b/scenes/эмс2/эмс2.tscn index a262c3be..8fbfdb2e 100644 --- a/scenes/эмс2/эмс2.tscn +++ b/scenes/эмс2/эмс2.tscn @@ -1,9 +1,10 @@ -[gd_scene load_steps=32 format=3 uid="uid://musb21x2u0xs"] +[gd_scene load_steps=33 format=3 uid="uid://musb21x2u0xs"] [ext_resource type="Texture2D" uid="uid://hkcvl2waf63s" path="res://data/вид сверху.png" id="1_b7vcf"] [ext_resource type="Script" uid="uid://bvlqgv7aapebl" path="res://scenes/эмс2/эмс-тг.gd" id="1_l3ueu"] [ext_resource type="Texture2D" uid="uid://0w6q4vfst0ry" path="res://data/OP-63.png" id="3_8gk36"] [ext_resource type="PackedScene" uid="uid://hr55mkcneaer" path="res://scenes/hranges/panel.tscn" id="3_b5v2s"] +[ext_resource type="Texture2D" uid="uid://busl8rb38lis" path="res://data/матрица-конфликт.png" id="3_l3ueu"] [ext_resource type="Texture2D" uid="uid://b85f1ne2wrwhg" path="res://data/Состояние РЭС 4.png" id="4_b5v2s"] [ext_resource type="Texture2D" uid="uid://073el51yholj" path="res://data/454.png" id="4_nqi0i"] [ext_resource type="Texture2D" uid="uid://cckk3jk5r32bh" path="res://data/ГО.png" id="5_e7tlv"] @@ -14,7 +15,7 @@ [ext_resource type="Texture2D" uid="uid://duu8q7sv0jwfh" path="res://data/ННВС.png" id="8_q16jd"] [ext_resource type="Texture2D" uid="uid://c1nld5t17kws3" path="res://data/Состояние ЭМС слабый сигнал.png" id="9_5u4bk"] [ext_resource type="Texture2D" uid="uid://docnrxrm2f022" path="res://data/Угловой квадрат3.png" id="13_5ifkb"] -[ext_resource type="Texture2D" uid="uid://djv8fkddcjucs" path="res://data/Скруглённый квадрат белый.png" id="15_2spgl"] +[ext_resource type="Texture2D" uid="uid://djv8fkddcjucs" path="res://data/матрица-чисто.png" id="15_2spgl"] [ext_resource type="Texture2D" uid="uid://d3qui21aom1ac" path="res://data/Квадрат марс 454.png" id="17_p41nv"] [ext_resource type="Texture2D" uid="uid://cxrggrvx6l22q" path="res://data/Квадрат марс ОР-63.png" id="18_5ifkb"] [ext_resource type="Texture2D" uid="uid://by6a12oahbg82" path="res://data/Квадрат марс РЛС1.png" id="19_vyjnq"] @@ -36,6 +37,7 @@ offset_top = 35.0 offset_bottom = 35.0 script = ExtResource("1_l3ueu") +matrix_conf = Array[Texture]([ExtResource("15_2spgl"), ExtResource("3_l3ueu")]) [node name="кораблик" type="TextureRect" parent="."] modulate = Color(1, 0.596078, 0.4, 1) @@ -62,7 +64,7 @@ columns = 2 layout_mode = 2 size_flags_vertical = 7 text = "ОР-63" -metadata/unit_name = &"ОР-63" +metadata/unit_name = &"ор-63" [node name="sub0" type="GridContainer" parent="приём"] layout_mode = 2 @@ -112,7 +114,7 @@ layout_mode = 2 size_flags_horizontal = 5 size_flags_vertical = 7 text = "ГО" -metadata/unit_name = &"ГО" +metadata/unit_name = &"го" [node name="sub2" type="GridContainer" parent="приём"] layout_mode = 2 @@ -138,7 +140,7 @@ layout_mode = 2 size_flags_horizontal = 5 size_flags_vertical = 7 text = "РЛС1" -metadata/unit_name = &"РЛС1" +metadata/unit_name = &"рлс1" [node name="sub3" type="GridContainer" parent="приём"] layout_mode = 2 @@ -162,7 +164,7 @@ layout_mode = 2 size_flags_horizontal = 5 size_flags_vertical = 7 text = "РЛС2" -metadata/unit_name = &"РЛС2" +metadata/unit_name = &"рлс2" [node name="sub4" type="GridContainer" parent="приём"] layout_mode = 2 @@ -188,7 +190,7 @@ layout_mode = 2 size_flags_horizontal = 5 size_flags_vertical = 7 text = "ННВС" -metadata/unit_name = &"ННВС" +metadata/unit_name = &"ннвс" [node name="sub5" type="GridContainer" parent="приём"] layout_mode = 2 @@ -212,7 +214,7 @@ layout_mode = 2 size_flags_horizontal = 5 size_flags_vertical = 7 text = "Изделие 7" -metadata/unit_name = &"Изделие 7" +metadata/unit_name = &"изделие7" [node name="sub6" type="GridContainer" parent="приём"] layout_mode = 2 @@ -238,7 +240,7 @@ layout_mode = 2 size_flags_horizontal = 5 size_flags_vertical = 7 text = "Изделие 8" -metadata/unit_name = &"Изделие 8" +metadata/unit_name = &"изделие8" [node name="sub7" type="GridContainer" parent="приём"] layout_mode = 2 @@ -265,208 +267,208 @@ offset_right = 1570.0 offset_bottom = 1145.0 columns = 7 -[node name="УгловойКвадрат2" type="TextureRect" parent="матрица"] +[node name="прм-прд" type="TextureRect" parent="матрица"] layout_mode = 2 texture = ExtResource("13_5ifkb") -[node name="КвадратМарс454" type="TextureRect" parent="матрица"] -layout_mode = 2 -texture = ExtResource("17_p41nv") - -[node name="КвадратМарсОр-63" type="TextureRect" parent="матрица"] +[node name="прд-0" type="TextureRect" parent="матрица"] layout_mode = 2 texture = ExtResource("18_5ifkb") -[node name="КвадратМарсРлс1" type="TextureRect" parent="матрица"] +[node name="прд-1" type="TextureRect" parent="матрица"] layout_mode = 2 -texture = ExtResource("19_vyjnq") +texture = ExtResource("17_p41nv") -[node name="КвадратМарсРлс2" type="TextureRect" parent="матрица"] -layout_mode = 2 -texture = ExtResource("20_68srw") - -[node name="КвадратМарсГо" type="TextureRect" parent="матрица"] +[node name="прд-2" type="TextureRect" parent="матрица"] layout_mode = 2 texture = ExtResource("21_v6otu") -[node name="КвадратМарсСТрубкой" type="TextureRect" parent="матрица"] +[node name="прд-3" type="TextureRect" parent="матрица"] +layout_mode = 2 +texture = ExtResource("19_vyjnq") + +[node name="прд-4" type="TextureRect" parent="матрица"] +layout_mode = 2 +texture = ExtResource("20_68srw") + +[node name="прд-5" type="TextureRect" parent="матрица"] layout_mode = 2 texture = ExtResource("22_ufy3d") -[node name="КвадратСалатный454" type="TextureRect" parent="матрица"] -layout_mode = 2 -texture = ExtResource("23_h11e0") - -[node name="СкруглённыйКвадратБелый" type="TextureRect" parent="матрица"] -layout_mode = 2 -texture = ExtResource("15_2spgl") - -[node name="СкруглённыйКвадратБелый2" type="TextureRect" parent="матрица"] -layout_mode = 2 -texture = ExtResource("15_2spgl") - -[node name="СкруглённыйКвадратБелый3" type="TextureRect" parent="матрица"] -layout_mode = 2 -texture = ExtResource("15_2spgl") - -[node name="СкруглённыйКвадратБелый4" type="TextureRect" parent="матрица"] -layout_mode = 2 -texture = ExtResource("15_2spgl") - -[node name="СкруглённыйКвадратБелый5" type="TextureRect" parent="матрица"] -layout_mode = 2 -texture = ExtResource("15_2spgl") - -[node name="СкруглённыйКвадратБелый6" type="TextureRect" parent="матрица"] -layout_mode = 2 -texture = ExtResource("15_2spgl") - -[node name="КвадратСалатныйГо" type="TextureRect" parent="матрица"] -layout_mode = 2 -texture = ExtResource("27_2ft3r") - -[node name="СкруглённыйКвадратБелый7" type="TextureRect" parent="матрица"] -layout_mode = 2 -texture = ExtResource("15_2spgl") - -[node name="СкруглённыйКвадратБелый8" type="TextureRect" parent="матрица"] -layout_mode = 2 -texture = ExtResource("15_2spgl") - -[node name="СкруглённыйКвадратБелый9" type="TextureRect" parent="матрица"] -layout_mode = 2 -texture = ExtResource("15_2spgl") - -[node name="СкруглённыйКвадратБелый10" type="TextureRect" parent="матрица"] -layout_mode = 2 -texture = ExtResource("15_2spgl") - -[node name="СкруглённыйКвадратБелый11" type="TextureRect" parent="матрица"] -layout_mode = 2 -texture = ExtResource("15_2spgl") - -[node name="СкруглённыйКвадратБелый12" type="TextureRect" parent="матрица"] -layout_mode = 2 -texture = ExtResource("15_2spgl") - -[node name="КвадратСалатныйРлс1" type="TextureRect" parent="матрица"] -layout_mode = 2 -texture = ExtResource("25_wmu4u") - -[node name="СкруглённыйКвадратБелый13" type="TextureRect" parent="матрица"] -layout_mode = 2 -texture = ExtResource("15_2spgl") - -[node name="СкруглённыйКвадратБелый14" type="TextureRect" parent="матрица"] -layout_mode = 2 -texture = ExtResource("15_2spgl") - -[node name="СкруглённыйКвадратБелый15" type="TextureRect" parent="матрица"] -layout_mode = 2 -texture = ExtResource("15_2spgl") - -[node name="СкруглённыйКвадратБелый16" type="TextureRect" parent="матрица"] -layout_mode = 2 -texture = ExtResource("15_2spgl") - -[node name="СкруглённыйКвадратБелый17" type="TextureRect" parent="матрица"] -layout_mode = 2 -texture = ExtResource("15_2spgl") - -[node name="СкруглённыйКвадратБелый18" type="TextureRect" parent="матрица"] -layout_mode = 2 -texture = ExtResource("15_2spgl") - -[node name="КвадратСалатныйРлс2" type="TextureRect" parent="матрица"] -layout_mode = 2 -texture = ExtResource("26_w5eif") - -[node name="СкруглённыйКвадратБелый19" type="TextureRect" parent="матрица"] -layout_mode = 2 -texture = ExtResource("15_2spgl") - -[node name="СкруглённыйКвадратБелый20" type="TextureRect" parent="матрица"] -layout_mode = 2 -texture = ExtResource("15_2spgl") - -[node name="СкруглённыйКвадратБелый21" type="TextureRect" parent="матрица"] -layout_mode = 2 -texture = ExtResource("15_2spgl") - -[node name="СкруглённыйКвадратБелый22" type="TextureRect" parent="матрица"] -layout_mode = 2 -texture = ExtResource("15_2spgl") - -[node name="СкруглённыйКвадратБелый23" type="TextureRect" parent="матрица"] -layout_mode = 2 -texture = ExtResource("15_2spgl") - -[node name="СкруглённыйКвадратБелый24" type="TextureRect" parent="матрица"] -layout_mode = 2 -texture = ExtResource("15_2spgl") - -[node name="КвадратСалатныйСТрубкой" type="TextureRect" parent="матрица"] -layout_mode = 2 -texture = ExtResource("28_rra4y") - -[node name="СкруглённыйКвадратБелый25" type="TextureRect" parent="матрица"] -layout_mode = 2 -texture = ExtResource("15_2spgl") - -[node name="СкруглённыйКвадратБелый26" type="TextureRect" parent="матрица"] -layout_mode = 2 -texture = ExtResource("15_2spgl") - -[node name="СкруглённыйКвадратБелый27" type="TextureRect" parent="матрица"] -layout_mode = 2 -texture = ExtResource("15_2spgl") - -[node name="СкруглённыйКвадратБелый28" type="TextureRect" parent="матрица"] -layout_mode = 2 -texture = ExtResource("15_2spgl") - -[node name="СкруглённыйКвадратБелый29" type="TextureRect" parent="матрица"] -layout_mode = 2 -texture = ExtResource("15_2spgl") - -[node name="СкруглённыйКвадратБелый30" type="TextureRect" parent="матрица"] -layout_mode = 2 -texture = ExtResource("15_2spgl") - -[node name="КвадратСалатныйОр-63" type="TextureRect" parent="матрица"] +[node name="прм-0" type="TextureRect" parent="матрица"] layout_mode = 2 texture = ExtResource("24_2pcsf") -[node name="СкруглённыйКвадратСерый2" type="TextureRect" parent="матрица"] +[node name="матрица-0-0" type="TextureRect" parent="матрица" groups=["матрица-к"]] layout_mode = 2 texture = ExtResource("15_2spgl") -[node name="СкруглённыйКвадратСерый3" type="TextureRect" parent="матрица"] +[node name="матрица-0-1" type="TextureRect" parent="матрица" groups=["матрица-к"]] layout_mode = 2 texture = ExtResource("15_2spgl") -[node name="СкруглённыйКвадратСерый4" type="TextureRect" parent="матрица"] +[node name="матрица-0-2" type="TextureRect" parent="матрица" groups=["матрица-к"]] layout_mode = 2 texture = ExtResource("15_2spgl") -[node name="СкруглённыйКвадратСерый5" type="TextureRect" parent="матрица"] +[node name="матрица-0-3" type="TextureRect" parent="матрица" groups=["матрица-к"]] layout_mode = 2 texture = ExtResource("15_2spgl") -[node name="СкруглённыйКвадратСерый6" type="TextureRect" parent="матрица"] +[node name="матрица-0-4" type="TextureRect" parent="матрица" groups=["матрица-к"]] layout_mode = 2 texture = ExtResource("15_2spgl") -[node name="СкруглённыйКвадрат" type="TextureRect" parent="матрица"] +[node name="матрица-0-5" type="TextureRect" parent="матрица" groups=["матрица-к"]] +layout_mode = 2 +texture = ExtResource("15_2spgl") + +[node name="прм-1" type="TextureRect" parent="матрица"] +layout_mode = 2 +texture = ExtResource("23_h11e0") + +[node name="матрица-1-0" type="TextureRect" parent="матрица" groups=["матрица-к"]] +layout_mode = 2 +texture = ExtResource("15_2spgl") + +[node name="матрица-1-1" type="TextureRect" parent="матрица" groups=["матрица-к"]] +layout_mode = 2 +texture = ExtResource("15_2spgl") + +[node name="матрица-1-2" type="TextureRect" parent="матрица" groups=["матрица-к"]] +layout_mode = 2 +texture = ExtResource("15_2spgl") + +[node name="матрица-1-3" type="TextureRect" parent="матрица" groups=["матрица-к"]] +layout_mode = 2 +texture = ExtResource("15_2spgl") + +[node name="матрица-1-4" type="TextureRect" parent="матрица" groups=["матрица-к"]] +layout_mode = 2 +texture = ExtResource("15_2spgl") + +[node name="матрица-1-5" type="TextureRect" parent="матрица" groups=["матрица-к"]] +layout_mode = 2 +texture = ExtResource("15_2spgl") + +[node name="прм-2" type="TextureRect" parent="матрица"] +layout_mode = 2 +texture = ExtResource("27_2ft3r") + +[node name="матрица-2-0" type="TextureRect" parent="матрица" groups=["матрица-к"]] +layout_mode = 2 +texture = ExtResource("15_2spgl") + +[node name="матрица-2-1" type="TextureRect" parent="матрица" groups=["матрица-к"]] +layout_mode = 2 +texture = ExtResource("15_2spgl") + +[node name="матрица-2-2" type="TextureRect" parent="матрица" groups=["матрица-к"]] +layout_mode = 2 +texture = ExtResource("15_2spgl") + +[node name="матрица-2-3" type="TextureRect" parent="матрица" groups=["матрица-к"]] +layout_mode = 2 +texture = ExtResource("15_2spgl") + +[node name="матрица-2-4" type="TextureRect" parent="матрица" groups=["матрица-к"]] +layout_mode = 2 +texture = ExtResource("15_2spgl") + +[node name="матрица-2-5" type="TextureRect" parent="матрица" groups=["матрица-к"]] +layout_mode = 2 +texture = ExtResource("15_2spgl") + +[node name="прм-3" type="TextureRect" parent="матрица"] +layout_mode = 2 +texture = ExtResource("25_wmu4u") + +[node name="матрица-3-0" type="TextureRect" parent="матрица" groups=["матрица-к"]] +layout_mode = 2 +texture = ExtResource("15_2spgl") + +[node name="матрица-3-1" type="TextureRect" parent="матрица" groups=["матрица-к"]] +layout_mode = 2 +texture = ExtResource("15_2spgl") + +[node name="матрица-3-2" type="TextureRect" parent="матрица" groups=["матрица-к"]] +layout_mode = 2 +texture = ExtResource("15_2spgl") + +[node name="матрица-3-3" type="TextureRect" parent="матрица" groups=["матрица-к"]] +layout_mode = 2 +texture = ExtResource("15_2spgl") + +[node name="матрица-3-4" type="TextureRect" parent="матрица" groups=["матрица-к"]] +layout_mode = 2 +texture = ExtResource("15_2spgl") + +[node name="матрица-3-5" type="TextureRect" parent="матрица" groups=["матрица-к"]] +layout_mode = 2 +texture = ExtResource("15_2spgl") + +[node name="прм-4" type="TextureRect" parent="матрица"] +layout_mode = 2 +texture = ExtResource("26_w5eif") + +[node name="матрица-4-0" type="TextureRect" parent="матрица" groups=["матрица-к"]] +layout_mode = 2 +texture = ExtResource("15_2spgl") + +[node name="матрица-4-1" type="TextureRect" parent="матрица" groups=["матрица-к"]] +layout_mode = 2 +texture = ExtResource("15_2spgl") + +[node name="матрица-4-2" type="TextureRect" parent="матрица" groups=["матрица-к"]] +layout_mode = 2 +texture = ExtResource("15_2spgl") + +[node name="матрица-4-3" type="TextureRect" parent="матрица" groups=["матрица-к"]] +layout_mode = 2 +texture = ExtResource("15_2spgl") + +[node name="матрица-4-4" type="TextureRect" parent="матрица" groups=["матрица-к"]] +layout_mode = 2 +texture = ExtResource("15_2spgl") + +[node name="матрица-4-5" type="TextureRect" parent="матрица" groups=["матрица-к"]] +layout_mode = 2 +texture = ExtResource("15_2spgl") + +[node name="прм-5" type="TextureRect" parent="матрица"] +layout_mode = 2 +texture = ExtResource("28_rra4y") + +[node name="матрица-5-0" type="TextureRect" parent="матрица" groups=["матрица-к"]] +layout_mode = 2 +texture = ExtResource("15_2spgl") + +[node name="матрица-5-1" type="TextureRect" parent="матрица" groups=["матрица-к"]] +layout_mode = 2 +texture = ExtResource("15_2spgl") + +[node name="матрица-5-2" type="TextureRect" parent="матрица" groups=["матрица-к"]] +layout_mode = 2 +texture = ExtResource("15_2spgl") + +[node name="матрица-5-3" type="TextureRect" parent="матрица" groups=["матрица-к"]] +layout_mode = 2 +texture = ExtResource("15_2spgl") + +[node name="матрица-5-5" type="TextureRect" parent="матрица" groups=["матрица-к"]] +layout_mode = 2 +texture = ExtResource("15_2spgl") + +[node name="матрица-5-6" type="TextureRect" parent="матрица"] layout_mode = 2 texture = ExtResource("15_2spgl") [node name="Op-63" type="TextureRect" parent="."] layout_mode = 0 offset_left = 125.0 -offset_top = 79.0 +offset_top = 66.0 offset_right = 338.0 -offset_bottom = 371.0 +offset_bottom = 358.0 scale = Vector2(0.312207, 0.312207) texture = ExtResource("3_8gk36") @@ -500,9 +502,9 @@ texture = ExtResource("6_m57px") [node name="454" type="TextureRect" parent="."] layout_mode = 0 offset_left = 277.0 -offset_top = 79.0 +offset_top = 66.0 offset_right = 490.0 -offset_bottom = 371.0 +offset_bottom = 358.0 scale = Vector2(0.312, 0.312) texture = ExtResource("4_nqi0i") @@ -535,45 +537,45 @@ texture = ExtResource("6_m57px") [node name="Го" type="TextureRect" parent="."] layout_mode = 0 offset_left = 460.0 -offset_top = 80.0 +offset_top = 67.0 offset_right = 673.0 -offset_bottom = 372.0 +offset_bottom = 359.0 scale = Vector2(0.312, 0.312) texture = ExtResource("5_e7tlv") [node name="СостояниеРэс40" type="TextureRect" parent="Го"] layout_mode = 0 offset_left = 233.974 -offset_top = 230.769 +offset_top = 217.949 offset_right = 286.974 -offset_bottom = 266.769 +offset_bottom = 253.949 scale = Vector2(1.78063, 1.78063) texture = ExtResource("4_b5v2s") [node name="СостояниеРэс20" type="TextureRect" parent="Го"] layout_mode = 0 offset_left = 233.974 -offset_top = 163.461 +offset_top = 150.641 offset_right = 286.974 -offset_bottom = 199.461 +offset_bottom = 186.641 scale = Vector2(1.78063, 1.78063) texture = ExtResource("5_p41nv") [node name="СостояниеЭмсСлабыйСигнал" type="TextureRect" parent="Го"] layout_mode = 0 offset_left = 233.974 -offset_top = 96.1539 +offset_top = 83.3334 offset_right = 261.974 -offset_bottom = 116.154 +offset_bottom = 103.334 scale = Vector2(3.37683, 3.20513) texture = ExtResource("9_5u4bk") [node name="Рлс1" type="TextureRect" parent="."] layout_mode = 0 offset_left = 639.0 -offset_top = 78.0 +offset_top = 65.0 offset_right = 852.0 -offset_bottom = 370.0 +offset_bottom = 357.0 scale = Vector2(0.312, 0.312) texture = ExtResource("6_y58bl") @@ -607,9 +609,9 @@ texture = ExtResource("9_5u4bk") [node name="Рлс2" type="TextureRect" parent="."] layout_mode = 0 offset_left = 831.0 -offset_top = 78.0 +offset_top = 65.0 offset_right = 1044.0 -offset_bottom = 370.0 +offset_bottom = 357.0 scale = Vector2(0.312, 0.312) texture = ExtResource("7_mxw8g") @@ -643,9 +645,9 @@ texture = ExtResource("9_5u4bk") [node name="Ннвс" type="TextureRect" parent="."] layout_mode = 0 offset_left = 1120.0 -offset_top = 82.0 +offset_top = 69.0 offset_right = 1333.0 -offset_bottom = 374.0 +offset_bottom = 361.0 scale = Vector2(0.312, 0.312) texture = ExtResource("8_q16jd") @@ -670,9 +672,9 @@ texture = ExtResource("5_p41nv") [node name="label8" type="Label" parent="."] layout_mode = 0 offset_left = 134.0 -offset_top = 55.0 +offset_top = 42.0 offset_right = 176.0 -offset_bottom = 74.0 +offset_bottom = 61.0 size_flags_horizontal = 4 size_flags_vertical = 6 text = "ОР-63" @@ -680,9 +682,9 @@ text = "ОР-63" [node name="label9" type="Label" parent="."] layout_mode = 2 offset_left = 482.0 -offset_top = 59.0 +offset_top = 46.0 offset_right = 499.0 -offset_bottom = 78.0 +offset_bottom = 65.0 size_flags_horizontal = 4 size_flags_vertical = 6 text = "ГО" @@ -690,9 +692,9 @@ text = "ГО" [node name="label10" type="Label" parent="."] layout_mode = 2 offset_left = 293.0 -offset_top = 55.0 +offset_top = 42.0 offset_right = 322.0 -offset_bottom = 74.0 +offset_bottom = 61.0 size_flags_horizontal = 4 size_flags_vertical = 6 text = "454" @@ -700,9 +702,9 @@ text = "454" [node name="label11" type="Label" parent="."] layout_mode = 2 offset_left = 851.0 -offset_top = 55.0 +offset_top = 42.0 offset_right = 887.0 -offset_bottom = 74.0 +offset_bottom = 61.0 size_flags_horizontal = 4 size_flags_vertical = 6 text = "РЛС2" @@ -710,9 +712,9 @@ text = "РЛС2" [node name="label12" type="Label" parent="."] layout_mode = 2 offset_left = 656.0 -offset_top = 55.0 +offset_top = 42.0 offset_right = 692.0 -offset_bottom = 74.0 +offset_bottom = 61.0 size_flags_horizontal = 4 size_flags_vertical = 6 text = "РЛС1" @@ -720,9 +722,9 @@ text = "РЛС1" [node name="label13" type="Label" parent="."] layout_mode = 2 offset_left = 1130.0 -offset_top = 59.0 +offset_top = 46.0 offset_right = 1170.0 -offset_bottom = 78.0 +offset_bottom = 65.0 size_flags_horizontal = 4 size_flags_vertical = 6 text = "ННВС" diff --git a/scripts/settings.gd b/scripts/settings.gd index 15d0ddc8..1072da31 100644 --- a/scripts/settings.gd +++ b/scripts/settings.gd @@ -6,7 +6,8 @@ class_name uarep_settings extends Node var settings_program: Dictionary var UnitProfiles: Dictionary[StringName, Array] = { \ - # < Название: Протокол, Адрес, <Порт>|[, Порт], Широковещательное, Привязывать, Комментарий > + # < Название: [Протокол, [Параметры], Комментарий] > + # < Название: Протокол, [Адрес, <Порт>|[, Порт], Широковещательное, Привязывать], Комментарий > 'уарэп-яу07-частный': ['yau07rx', ['10.1.1.2', 50002, false, true], 'IP-адрес для приёма частных сообщений от ЯУ-07'], 'уарэп-яу07-общий': ['yau07rx', ['*', 50000, true, true], 'IP-адрес для приёма широковещательных сообщений от ЯУ-07'], 'уарэп-капсрпб': ['capsrpb', ['127.0.0.1', '127.0.0.1', 42023, 42022, false, true], 'IP-адрес для обмена сообщениями со службой \"МП550\" (СТЦ)'], @@ -25,6 +26,14 @@ var UnitProfiles: Dictionary[StringName, Array] = { \ 'уарэп-яу07-3н': ['yau07tx', ['10.1.1.31', 50031, false, false], 'IP-адрес прибора ПРД-Н3'], 'уарэп-яу07-3к': ['yau07tx', ['10.1.1.33', 50033, false, false], 'IP-адрес прибора ПРД-К3'], 'навигация': ['navi', ['*', 60000, true, true ], 'IP-адрес на котором принимают сообщения от навигации'], + 'ор-63': ['iyems-rx', [ '192.168.10.1', 60001 ], 'IP-адрес для приёма докладов от информационному ЭМС устройств'], + '454': ['iyems-tx', ['192.168.10.2', 60002 ], 'IP-адрес для передачи команд информационному ЭМС устройству'], + 'го': ['iyems-tx', ['192.168.10.3', 60003 ], 'IP-адрес для передачи команд информационному ЭМС устройству'], + 'рлс1': ['iyems-tx', ['192.168.10.4', 60004 ], 'IP-адрес для передачи команд информационному ЭМС устройству'], + 'рлс2': ['iyems-tx', ['192.168.10.5', 60005 ], 'IP-адрес для передачи команд информационному ЭМС устройству'], + 'ннвс': ['iyems-tx', ['192.168.10.6', 60006 ], 'IP-адрес для передачи команд информационному ЭМС устройству'], + 'изделие7': ['iyems-tx', ['192.168.10.7', 60007 ], 'IP-адрес для передачи команд информационному ЭМС устройству'], + 'изделие8': ['iyems-tx', ['192.168.10.8', 60008 ], 'IP-адрес для передачи команд информационному ЭМС устройству'], # < Название: Протокол, < Адрес, Порт получения >, Комментарий > 'уарэп-5п28': ['5p28', ['127.0.0.1', 50000], 'IP-адрес комплекса 5П-28'],