From 190f06b72cbaf8b1392f161d32213b05ce65eedd Mon Sep 17 00:00:00 2001 From: sasha80 Date: Wed, 18 Mar 2026 09:40:12 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D1=80=D0=B0=D0=B1=D0=BE=D1=82?= =?UTF-8?q?=D0=BA=D0=B0.=20WIP=20=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D1=8D=D0=BB=D0=B5=D0=BC=D0=B5=D0=BD?= =?UTF-8?q?=D1=82=D0=BE=D0=B2=20=D0=B4=D0=BB=D1=8F=20=D0=AD=D0=9C=D0=A1-?= =?UTF-8?q?=D0=A2=D0=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data/матрица-конфликт.png | Bin 683 -> 707 bytes project.godot | 3 +- scenes/button-six-state/six-state.tscn | 8 + scenes/tabs-switch/tab-switch.tscn | 2 +- scenes/{эмс2 => эмс-тг}/эмс-тг.gd | 8 + scenes/{эмс2 => эмс-тг}/эмс-тг.gd.uid | 0 scenes/{эмс2/эмс2.tscn => эмс-тг/эмс-тг.tscn} | 1293 +++++++++-------- scripts/network.gd | 1 + scripts/settings.gd | 4 +- scripts/yems-info.gd | 25 + scripts/yems-info.gd.uid | 1 + table/header-image.tscn | 14 +- table/lable.tscn | 9 - table/table.gd | 1 + 14 files changed, 726 insertions(+), 643 deletions(-) rename scenes/{эмс2 => эмс-тг}/эмс-тг.gd (64%) rename scenes/{эмс2 => эмс-тг}/эмс-тг.gd.uid (100%) rename scenes/{эмс2/эмс2.tscn => эмс-тг/эмс-тг.tscn} (58%) create mode 100644 scripts/yems-info.gd create mode 100644 scripts/yems-info.gd.uid diff --git a/data/матрица-конфликт.png b/data/матрица-конфликт.png index 94496defb627fde595ecf671db7da87b8168da4a..a0d45a45267b9056bca88bc18ba4d3aeceabd1e6 100644 GIT binary patch delta 683 zcmV;c0#yC01;Yi9B!7xYL_t(&-tC$(Yui8+fIrKLS}3eUiA%q|d z!)H;LoM4mNilWzfhdoL!e*oln=rFE! RcI*HE002ovPDHLkV1n=+KD+<` delta 659 zcmV;E0&M-m1*-*+B!6;AL_t(&-tC${Xc|!*$G@KT@{b^SLsAmBru2rmwCA8`7o|(r zj&2?fT^!O(js!E_*?EHv$OI-Pht{&BM4o?P`@F8As0YRe1MDU#RgZOgL!PS^FjdcA&Y znn0mY_{{VC`vq@%noK5>jYi`K0C4x)hUa;nfw`3xMNy0k4gf--(9;F$`I#bwkVGQ! zW(*LCM53&iH-AzHhr_P{zykoHD2i4+`LI^Q;qkF)?dJ3pw?{{o{EjG!FUAQFLUybI z7AUunwfyx%>cj*lS}{%<}m|KB`{dE(7aoS^#s^xA&y(#7FrFl zBMCgvLZjVXj9e~85?EWCzQ4C;%X>9v$3uq)2h#~`Z-27`Fxr`ZJ0EUsF_eJGY7aLz z83NeYn7(H+7b^hU0M^$T2Qb@4Z8~zY2f)Pa$R+?=j@GYZF(4L$6XL+QRsi#s#T}0H6$br@fGVZ*?7n$m#-BY>sZ=Z&3 void: txr_states.clear() for fn in image_states: txr_states.append(load(fn)) $done.texture = txr_states[state] + $check.button_pressed = pressed func connect_check(signal_name: StringName, callable: Callable): diff --git a/scenes/tabs-switch/tab-switch.tscn b/scenes/tabs-switch/tab-switch.tscn index 1f9ac378..6f797b06 100644 --- a/scenes/tabs-switch/tab-switch.tscn +++ b/scenes/tabs-switch/tab-switch.tscn @@ -5,7 +5,7 @@ [ext_resource type="PackedScene" uid="uid://lwmw4egynmd1" path="res://scenes/контроль/контроль.tscn" id="3_txp0s"] [ext_resource type="PackedScene" uid="uid://trt0q8th3bn2" path="res://scenes/журнал/журнал.tscn" id="4_cu5k8"] [ext_resource type="PackedScene" uid="uid://dab6loryocc73" path="res://scenes/эмс/эмс.tscn" id="5_u71bh"] -[ext_resource type="PackedScene" uid="uid://musb21x2u0xs" path="res://scenes/эмс2/эмс2.tscn" id="6_41d34"] +[ext_resource type="PackedScene" uid="uid://musb21x2u0xs" path="res://scenes/эмс-тг/эмс-тг.tscn" id="6_41d34"] [ext_resource type="PackedScene" uid="uid://bnptm4rlp60dq" path="res://scenes/настройки/настройки.tscn" id="6_i8iv3"] [ext_resource type="Script" uid="uid://b5ykwyk5vpi6" path="res://scenes/tabs-switch/lbl-ready.gd" id="8_tidwt"] [ext_resource type="Script" uid="uid://roajn6c6wvc1" path="res://scenes/tabs-switch/тренаж-режим.gd" id="9_41d34"] diff --git a/scenes/эмс2/эмс-тг.gd b/scenes/эмс-тг/эмс-тг.gd similarity index 64% rename from scenes/эмс2/эмс-тг.gd rename to scenes/эмс-тг/эмс-тг.gd index f1a6ecea..3609c2a2 100644 --- a/scenes/эмс2/эмс-тг.gd +++ b/scenes/эмс-тг/эмс-тг.gd @@ -1,14 +1,22 @@ +@tool extends Panel @export var matrix_conf: Array[Texture] ## [0] - чисто, нет конфликта, [1] - есть наложение частот @export var unit_names: Array[StringName] ## Имена устройств +@export_file('*.tscn') var table_headers: Array[String] +@export_file('*.tscn') var table_cells: Array[String] 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)) + var header_rows = [] + for cell_scn in table_headers: + header_rows.append(load(cell_scn)) + $'таблица/сетка'.set_header(header_rows) + $'таблица/сетка'.pin_header($'таблица', self) func on_trassa_line_changed(_unit_trassa): diff --git a/scenes/эмс2/эмс-тг.gd.uid b/scenes/эмс-тг/эмс-тг.gd.uid similarity index 100% rename from scenes/эмс2/эмс-тг.gd.uid rename to scenes/эмс-тг/эмс-тг.gd.uid diff --git a/scenes/эмс2/эмс2.tscn b/scenes/эмс-тг/эмс-тг.tscn similarity index 58% rename from scenes/эмс2/эмс2.tscn rename to scenes/эмс-тг/эмс-тг.tscn index 8fbfdb2e..6d8151e3 100644 --- a/scenes/эмс2/эмс2.tscn +++ b/scenes/эмс-тг/эмс-тг.tscn @@ -1,43 +1,521 @@ -[gd_scene load_steps=33 format=3 uid="uid://musb21x2u0xs"] +[gd_scene load_steps=35 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"] -[ext_resource type="Texture2D" uid="uid://6ar7sux3vcv1" path="res://data/Состояние РЭС 2.png" id="5_p41nv"] -[ext_resource type="Texture2D" uid="uid://di30dfvbbdnms" path="res://data/Состояние РЭС 1.png" id="6_m57px"] -[ext_resource type="Texture2D" uid="uid://kyrnn1mqpc08" path="res://data/РЛС1.png" id="6_y58bl"] -[ext_resource type="Texture2D" uid="uid://cx0f3wcx76u1k" path="res://data/РЛС2.png" id="7_mxw8g"] -[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://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"] -[ext_resource type="Texture2D" uid="uid://dwgqofj6yae1v" path="res://data/Квадрат марс РЛС2.png" id="20_68srw"] -[ext_resource type="Texture2D" uid="uid://36xjgea2n22q" path="res://data/Квадрат марс ГО.png" id="21_v6otu"] -[ext_resource type="Texture2D" uid="uid://dsuiytxdnole7" path="res://data/Квадрат марс с трубкой.png" id="22_ufy3d"] -[ext_resource type="Texture2D" uid="uid://b1kuhj03yigih" path="res://data/Квадрат салатный 454.png" id="23_h11e0"] -[ext_resource type="Texture2D" uid="uid://d3v1r4r62na8" path="res://data/Квадрат салатный ОР-63.png" id="24_2pcsf"] -[ext_resource type="Texture2D" uid="uid://ddm55bo28sxcs" path="res://data/Квадрат салатный РЛС1.png" id="25_wmu4u"] -[ext_resource type="Texture2D" uid="uid://dneqjcul4ipub" path="res://data/Квадрат салатный РЛС2.png" id="26_w5eif"] -[ext_resource type="Texture2D" uid="uid://cyb60nh23ys6k" path="res://data/Квадрат салатный ГО.png" id="27_2ft3r"] -[ext_resource type="Texture2D" uid="uid://cw8sd7v5f31ww" path="res://data/Квадрат салатный с трубкой.png" id="28_rra4y"] -[ext_resource type="PackedScene" uid="uid://ch14g46swx74h" path="res://table/header.tscn" id="35_p41nv"] -[ext_resource type="PackedScene" uid="uid://cymcld4mjmlhj" path="res://table/header-image.tscn" id="36_68srw"] -[ext_resource type="PackedScene" uid="uid://dwphmxstaxn4v" path="res://table/lable.tscn" id="36_vyjnq"] -[ext_resource type="PackedScene" uid="uid://cixwl6xi22buo" path="res://scenes/button-six-state/six-state.tscn" id="37_68srw"] +[ext_resource type="Script" uid="uid://bvlqgv7aapebl" path="res://scenes/эмс-тг/эмс-тг.gd" id="1_b7tfl"] +[ext_resource type="Texture2D" uid="uid://djv8fkddcjucs" path="res://data/матрица-чисто.png" id="2_s28jr"] +[ext_resource type="Texture2D" uid="uid://busl8rb38lis" path="res://data/матрица-конфликт.png" id="3_its7t"] +[ext_resource type="Texture2D" uid="uid://hkcvl2waf63s" path="res://data/вид сверху.png" id="4_2hpfp"] +[ext_resource type="Script" uid="uid://c5pq0hbrij34d" path="res://table/table.gd" id="4_bhff3"] +[ext_resource type="PackedScene" uid="uid://hr55mkcneaer" path="res://scenes/hranges/panel.tscn" id="5_6hay3"] +[ext_resource type="Texture2D" uid="uid://docnrxrm2f022" path="res://data/Угловой квадрат3.png" id="6_a0vpj"] +[ext_resource type="Texture2D" uid="uid://cxrggrvx6l22q" path="res://data/Квадрат марс ОР-63.png" id="7_xr3ub"] +[ext_resource type="Texture2D" uid="uid://d3qui21aom1ac" path="res://data/Квадрат марс 454.png" id="8_saoyo"] +[ext_resource type="Texture2D" uid="uid://36xjgea2n22q" path="res://data/Квадрат марс ГО.png" id="9_bqil1"] +[ext_resource type="Texture2D" uid="uid://by6a12oahbg82" path="res://data/Квадрат марс РЛС1.png" id="10_ggqgc"] +[ext_resource type="Texture2D" uid="uid://dwgqofj6yae1v" path="res://data/Квадрат марс РЛС2.png" id="11_xothm"] +[ext_resource type="Texture2D" uid="uid://dsuiytxdnole7" path="res://data/Квадрат марс с трубкой.png" id="12_4rjt3"] +[ext_resource type="Texture2D" uid="uid://d3v1r4r62na8" path="res://data/Квадрат салатный ОР-63.png" id="13_g0j2q"] +[ext_resource type="Texture2D" uid="uid://b1kuhj03yigih" path="res://data/Квадрат салатный 454.png" id="14_crrpm"] +[ext_resource type="Texture2D" uid="uid://cyb60nh23ys6k" path="res://data/Квадрат салатный ГО.png" id="15_0dspi"] +[ext_resource type="Texture2D" uid="uid://ddm55bo28sxcs" path="res://data/Квадрат салатный РЛС1.png" id="16_6042y"] +[ext_resource type="Texture2D" uid="uid://dneqjcul4ipub" path="res://data/Квадрат салатный РЛС2.png" id="17_gvsi1"] +[ext_resource type="Texture2D" uid="uid://cw8sd7v5f31ww" path="res://data/Квадрат салатный с трубкой.png" id="18_p3gp1"] +[ext_resource type="Texture2D" uid="uid://0w6q4vfst0ry" path="res://data/OP-63.png" id="19_o84s0"] +[ext_resource type="Texture2D" uid="uid://b85f1ne2wrwhg" path="res://data/Состояние РЭС 4.png" id="20_nwrva"] +[ext_resource type="Texture2D" uid="uid://6ar7sux3vcv1" path="res://data/Состояние РЭС 2.png" id="21_kcvtj"] +[ext_resource type="Texture2D" uid="uid://di30dfvbbdnms" path="res://data/Состояние РЭС 1.png" id="22_vx0p2"] +[ext_resource type="Texture2D" uid="uid://073el51yholj" path="res://data/454.png" id="23_txey4"] +[ext_resource type="Texture2D" uid="uid://cckk3jk5r32bh" path="res://data/ГО.png" id="24_8mkn8"] +[ext_resource type="Texture2D" uid="uid://c1nld5t17kws3" path="res://data/Состояние ЭМС слабый сигнал.png" id="25_ehxfq"] +[ext_resource type="Texture2D" uid="uid://kyrnn1mqpc08" path="res://data/РЛС1.png" id="26_3yebi"] +[ext_resource type="Texture2D" uid="uid://cx0f3wcx76u1k" path="res://data/РЛС2.png" id="27_3x2eg"] +[ext_resource type="Texture2D" uid="uid://duu8q7sv0jwfh" path="res://data/ННВС.png" id="28_wh3ue"] +[ext_resource type="PackedScene" uid="uid://ch14g46swx74h" path="res://table/header.tscn" id="29_qeixd"] +[ext_resource type="PackedScene" uid="uid://cymcld4mjmlhj" path="res://table/header-image.tscn" id="30_b16f7"] +[ext_resource type="PackedScene" uid="uid://dwphmxstaxn4v" path="res://table/lable.tscn" id="31_2v53x"] +[ext_resource type="PackedScene" uid="uid://cixwl6xi22buo" path="res://scenes/button-six-state/six-state.tscn" id="32_op45j"] -[node name="Panel" type="Panel"] +[sub_resource type="ButtonGroup" id="ButtonGroup_vwsbs"] +allow_unpress = true + +[node name="эмс-тг" type="Panel"] offset_top = 35.0 offset_bottom = 35.0 -script = ExtResource("1_l3ueu") -matrix_conf = Array[Texture]([ExtResource("15_2spgl"), ExtResource("3_l3ueu")]) +script = ExtResource("1_b7tfl") +matrix_conf = Array[Texture]([ExtResource("2_s28jr"), ExtResource("3_its7t")]) +table_headers = Array[String](["uid://ch14g46swx74h", "uid://ch14g46swx74h", "uid://ch14g46swx74h", "uid://ch14g46swx74h", "uid://ch14g46swx74h", "uid://ch14g46swx74h", "uid://cymcld4mjmlhj", "uid://cymcld4mjmlhj"]) +table_cells = Array[String](["uid://dwphmxstaxn4v", "uid://dwphmxstaxn4v", "uid://dwphmxstaxn4v", "uid://dwphmxstaxn4v", "uid://dwphmxstaxn4v", "uid://dwphmxstaxn4v", "uid://cixwl6xi22buo", "uid://cixwl6xi22buo"]) + +[node name="таблица" type="ScrollContainer" parent="."] +layout_mode = 0 +offset_left = 20.0 +offset_top = 780.0 +offset_right = 1180.0 +offset_bottom = 1150.0 +draw_focus_border = true +vertical_scroll_mode = 2 + +[node name="сетка" type="GridContainer" parent="таблица"] +layout_mode = 2 +size_flags_horizontal = 3 +size_flags_vertical = 3 +columns = 8 +script = ExtResource("4_bhff3") + +[node name="header0" parent="таблица/сетка" instance=ExtResource("29_qeixd")] +layout_mode = 2 +size_flags_horizontal = 3 +size_flags_vertical = 7 +text = "Кластер" + +[node name="header7" parent="таблица/сетка" instance=ExtResource("29_qeixd")] +layout_mode = 2 +size_flags_horizontal = 3 +size_flags_vertical = 7 +text = "Состояние" + +[node name="header1" parent="таблица/сетка" instance=ExtResource("29_qeixd")] +layout_mode = 2 +size_flags_horizontal = 3 +size_flags_vertical = 7 +text = "Время" + +[node name="header2" parent="таблица/сетка" instance=ExtResource("29_qeixd")] +layout_mode = 2 +size_flags_horizontal = 3 +size_flags_vertical = 7 +text = "Азимут" + +[node name="header3" parent="таблица/сетка" instance=ExtResource("29_qeixd")] +layout_mode = 2 +size_flags_horizontal = 3 +size_flags_vertical = 7 +text = "Угол места" + +[node name="header4" parent="таблица/сетка" instance=ExtResource("29_qeixd")] +layout_mode = 2 +size_flags_horizontal = 3 +size_flags_vertical = 7 +text = "Диапазон" + +[node name="header5" parent="таблица/сетка" instance=ExtResource("30_b16f7")] +layout_mode = 2 +size_flags_vertical = 7 +header_text = "Передача" +image_file = "uid://c73tjrn8gr00o" + +[node name="header6" parent="таблица/сетка" instance=ExtResource("30_b16f7")] +layout_mode = 2 +size_flags_vertical = 7 +header_text = "Приём" +image_file = "uid://c6etralq2tvxg" + +[node name="cell_0_1" parent="таблица/сетка" instance=ExtResource("31_2v53x")] +layout_mode = 2 +size_flags_vertical = 7 +text = "1" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="cell_1_1" parent="таблица/сетка" instance=ExtResource("31_2v53x")] +layout_mode = 2 +size_flags_vertical = 7 +text = "Активен" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="cell_2_1" parent="таблица/сетка" instance=ExtResource("31_2v53x")] +layout_mode = 2 +size_flags_vertical = 7 +text = "00:02" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="cell_3_1" parent="таблица/сетка" instance=ExtResource("31_2v53x")] +layout_mode = 2 +size_flags_vertical = 7 +text = "0-360" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="cell_4_1" parent="таблица/сетка" instance=ExtResource("31_2v53x")] +layout_mode = 2 +size_flags_vertical = 7 +text = "19" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="cell_5_1" parent="таблица/сетка" instance=ExtResource("31_2v53x")] +layout_mode = 2 +size_flags_vertical = 7 +text = "2300-2705" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="cell_6_1" parent="таблица/сетка" instance=ExtResource("32_op45j")] +layout_mode = 2 +size_flags_vertical = 7 +state = 1 + +[node name="cell_7_1" parent="таблица/сетка" instance=ExtResource("32_op45j")] +layout_mode = 2 +size_flags_vertical = 7 +state = 1 + +[node name="cell_0_2" parent="таблица/сетка" instance=ExtResource("31_2v53x")] +layout_mode = 2 +size_flags_vertical = 7 +text = "2" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="cell_1_2" parent="таблица/сетка" instance=ExtResource("31_2v53x")] +layout_mode = 2 +size_flags_vertical = 7 +text = "Активен" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="cell_2_2" parent="таблица/сетка" instance=ExtResource("31_2v53x")] +layout_mode = 2 +size_flags_vertical = 7 +text = "00:02" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="cell_3_2" parent="таблица/сетка" instance=ExtResource("31_2v53x")] +layout_mode = 2 +size_flags_vertical = 7 +text = "0-360" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="cell_4_2" parent="таблица/сетка" instance=ExtResource("31_2v53x")] +layout_mode = 2 +size_flags_vertical = 7 +text = "19" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="cell_5_2" parent="таблица/сетка" instance=ExtResource("31_2v53x")] +layout_mode = 2 +size_flags_vertical = 7 +text = "2300-2705" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="cell_6_2" parent="таблица/сетка" instance=ExtResource("32_op45j")] +layout_mode = 2 +size_flags_vertical = 7 +state = 2 + +[node name="cell_7_2" parent="таблица/сетка" instance=ExtResource("32_op45j")] +layout_mode = 2 +size_flags_vertical = 7 +state = 1 + +[node name="cell_0_3" parent="таблица/сетка" instance=ExtResource("31_2v53x")] +layout_mode = 2 +size_flags_vertical = 7 +text = "3" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="cell_1_3" parent="таблица/сетка" instance=ExtResource("31_2v53x")] +layout_mode = 2 +size_flags_vertical = 7 +text = "Удалён" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="cell_2_3" parent="таблица/сетка" instance=ExtResource("31_2v53x")] +layout_mode = 2 +size_flags_vertical = 7 +text = "00:02" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="cell_3_3" parent="таблица/сетка" instance=ExtResource("31_2v53x")] +layout_mode = 2 +size_flags_vertical = 7 +text = "0-360" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="cell_4_3" parent="таблица/сетка" instance=ExtResource("31_2v53x")] +layout_mode = 2 +size_flags_vertical = 7 +text = "19" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="cell_5_3" parent="таблица/сетка" instance=ExtResource("31_2v53x")] +layout_mode = 2 +size_flags_vertical = 7 +text = "2300-2705" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="cell_6_3" parent="таблица/сетка" instance=ExtResource("32_op45j")] +layout_mode = 2 +size_flags_vertical = 7 + +[node name="cell_7_3" parent="таблица/сетка" instance=ExtResource("32_op45j")] +layout_mode = 2 +size_flags_vertical = 7 + +[node name="cell_0_4" parent="таблица/сетка" instance=ExtResource("31_2v53x")] +layout_mode = 2 +size_flags_vertical = 7 +text = "4" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="cell_1_4" parent="таблица/сетка" instance=ExtResource("31_2v53x")] +layout_mode = 2 +size_flags_vertical = 7 +text = "Удалён" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="cell_2_4" parent="таблица/сетка" instance=ExtResource("31_2v53x")] +layout_mode = 2 +size_flags_vertical = 7 +text = "00:02" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="cell_3_4" parent="таблица/сетка" instance=ExtResource("31_2v53x")] +layout_mode = 2 +size_flags_vertical = 7 +text = "20-60" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="cell_4_4" parent="таблица/сетка" instance=ExtResource("31_2v53x")] +layout_mode = 2 +size_flags_vertical = 7 +text = "19" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="cell_5_4" parent="таблица/сетка" instance=ExtResource("31_2v53x")] +layout_mode = 2 +size_flags_vertical = 7 +text = "2300-2705" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="cell_6_4" parent="таблица/сетка" instance=ExtResource("32_op45j")] +layout_mode = 2 +size_flags_vertical = 7 + +[node name="cell_7_4" parent="таблица/сетка" instance=ExtResource("32_op45j")] +layout_mode = 2 +size_flags_vertical = 7 + +[node name="cell_0_5" parent="таблица/сетка" instance=ExtResource("31_2v53x")] +layout_mode = 2 +size_flags_vertical = 7 +text = "5" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="cell_1_5" parent="таблица/сетка" instance=ExtResource("31_2v53x")] +layout_mode = 2 +size_flags_vertical = 7 +text = "Удалён" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="cell_2_5" parent="таблица/сетка" instance=ExtResource("31_2v53x")] +layout_mode = 2 +size_flags_vertical = 7 +text = "00:02" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="cell_3_5" parent="таблица/сетка" instance=ExtResource("31_2v53x")] +layout_mode = 2 +size_flags_vertical = 7 +text = "0-360" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="cell_4_5" parent="таблица/сетка" instance=ExtResource("31_2v53x")] +layout_mode = 2 +size_flags_vertical = 7 +text = "19" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="cell_5_5" parent="таблица/сетка" instance=ExtResource("31_2v53x")] +layout_mode = 2 +size_flags_vertical = 7 +text = "2300-2705" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="cell_6_5" parent="таблица/сетка" instance=ExtResource("32_op45j")] +layout_mode = 2 +size_flags_vertical = 7 + +[node name="cell_7_5" parent="таблица/сетка" instance=ExtResource("32_op45j")] +layout_mode = 2 +size_flags_vertical = 7 + +[node name="cell_0_6" parent="таблица/сетка" instance=ExtResource("31_2v53x")] +layout_mode = 2 +size_flags_vertical = 7 +text = "6" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="cell_1_6" parent="таблица/сетка" instance=ExtResource("31_2v53x")] +layout_mode = 2 +size_flags_vertical = 7 +text = "Активен" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="cell_2_6" parent="таблица/сетка" instance=ExtResource("31_2v53x")] +layout_mode = 2 +size_flags_vertical = 7 +text = "00:02" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="cell_3_6" parent="таблица/сетка" instance=ExtResource("31_2v53x")] +layout_mode = 2 +size_flags_vertical = 7 +text = "0-360" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="cell_4_6" parent="таблица/сетка" instance=ExtResource("31_2v53x")] +layout_mode = 2 +size_flags_vertical = 7 +text = "19" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="cell_5_6" parent="таблица/сетка" instance=ExtResource("31_2v53x")] +layout_mode = 2 +size_flags_vertical = 7 +text = "2300-2705" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="cell_6_6" parent="таблица/сетка" instance=ExtResource("32_op45j")] +layout_mode = 2 +size_flags_vertical = 7 +state = 1 + +[node name="cell_7_6" parent="таблица/сетка" instance=ExtResource("32_op45j")] +layout_mode = 2 +size_flags_vertical = 7 +state = 2 + +[node name="cell_0_7" parent="таблица/сетка" instance=ExtResource("31_2v53x")] +layout_mode = 2 +size_flags_vertical = 7 +text = "7" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="cell_1_7" parent="таблица/сетка" instance=ExtResource("31_2v53x")] +layout_mode = 2 +size_flags_vertical = 7 +text = "Активен" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="cell_2_7" parent="таблица/сетка" instance=ExtResource("31_2v53x")] +layout_mode = 2 +size_flags_vertical = 7 +text = "00:02" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="cell_3_7" parent="таблица/сетка" instance=ExtResource("31_2v53x")] +layout_mode = 2 +size_flags_vertical = 7 +text = "0-360" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="cell_4_7" parent="таблица/сетка" instance=ExtResource("31_2v53x")] +layout_mode = 2 +size_flags_vertical = 7 +text = "19" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="cell_5_7" parent="таблица/сетка" instance=ExtResource("31_2v53x")] +layout_mode = 2 +size_flags_vertical = 7 +text = "2300-2705" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="cell_6_7" parent="таблица/сетка" instance=ExtResource("32_op45j")] +layout_mode = 2 +size_flags_vertical = 7 +state = 1 + +[node name="cell_7_7" parent="таблица/сетка" instance=ExtResource("32_op45j")] +layout_mode = 2 +size_flags_vertical = 7 +state = 1 + +[node name="cell_0_8" parent="таблица/сетка" instance=ExtResource("31_2v53x")] +layout_mode = 2 +size_flags_vertical = 7 +text = "8" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="cell_1_8" parent="таблица/сетка" instance=ExtResource("31_2v53x")] +layout_mode = 2 +size_flags_vertical = 7 +text = "Удалён" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="cell_2_8" parent="таблица/сетка" instance=ExtResource("31_2v53x")] +layout_mode = 2 +size_flags_vertical = 7 +text = "00:02" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="cell_3_8" parent="таблица/сетка" instance=ExtResource("31_2v53x")] +layout_mode = 2 +size_flags_vertical = 7 +text = "0-360" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="cell_4_8" parent="таблица/сетка" instance=ExtResource("31_2v53x")] +layout_mode = 2 +size_flags_vertical = 7 +text = "19" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="cell_5_8" parent="таблица/сетка" instance=ExtResource("31_2v53x")] +layout_mode = 2 +size_flags_vertical = 7 +text = "2300-2705" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="cell_6_8" parent="таблица/сетка" instance=ExtResource("32_op45j")] +layout_mode = 2 +size_flags_vertical = 7 + +[node name="cell_7_8" parent="таблица/сетка" instance=ExtResource("32_op45j")] +layout_mode = 2 +size_flags_vertical = 7 [node name="кораблик" type="TextureRect" parent="."] modulate = Color(1, 0.596078, 0.4, 1) @@ -48,456 +526,477 @@ offset_right = 2169.0 offset_bottom = 4282.0 rotation = 1.5708 scale = Vector2(0.325, 0.325) -texture = ExtResource("1_b7vcf") +texture = ExtResource("4_2hpfp") expand_mode = 1 -[node name="приём" type="GridContainer" parent="."] +[node name="шкала" type="GridContainer" parent="."] layout_mode = 0 -offset_left = 32.0 +offset_left = 20.0 offset_top = 262.0 -offset_right = 1647.0 +offset_right = 1668.0 offset_bottom = 770.0 scale = Vector2(0.95, 0.95) columns = 2 -[node name="label0" type="Button" parent="приём"] +[node name="label0" type="Button" parent="шкала"] layout_mode = 2 size_flags_vertical = 7 +toggle_mode = true +button_group = SubResource("ButtonGroup_vwsbs") text = "ОР-63" metadata/unit_name = &"ор-63" -[node name="sub0" type="GridContainer" parent="приём"] +[node name="sub0" type="GridContainer" parent="шкала"] layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 -[node name="panel_rx" parent="приём/sub0" instance=ExtResource("3_b5v2s")] +[node name="panel_rx" parent="шкала/sub0" instance=ExtResource("5_6hay3")] self_modulate = Color(0.830335, 0.830335, 0.830335, 1) layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 image_file = "uid://c73tjrn8gr00o" -[node name="panel_tx" parent="приём/sub0" instance=ExtResource("3_b5v2s")] +[node name="panel_tx" parent="шкала/sub0" instance=ExtResource("5_6hay3")] self_modulate = Color(0.830335, 0.830335, 0.830335, 1) layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 image_file = "uid://c6etralq2tvxg" -[node name="label1" type="Button" parent="приём"] +[node name="label1" type="Button" parent="шкала"] layout_mode = 2 size_flags_horizontal = 5 size_flags_vertical = 7 +toggle_mode = true +button_group = SubResource("ButtonGroup_vwsbs") text = "454" metadata/unit_name = &"454" -[node name="sub1" type="GridContainer" parent="приём"] +[node name="sub1" type="GridContainer" parent="шкала"] layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 -[node name="panel_rx" parent="приём/sub1" instance=ExtResource("3_b5v2s")] +[node name="panel_rx" parent="шкала/sub1" instance=ExtResource("5_6hay3")] layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 image_file = "uid://c73tjrn8gr00o" -[node name="panel_tx" parent="приём/sub1" instance=ExtResource("3_b5v2s")] +[node name="panel_tx" parent="шкала/sub1" instance=ExtResource("5_6hay3")] layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 image_file = "uid://c6etralq2tvxg" -[node name="label2" type="Button" parent="приём"] +[node name="label2" type="Button" parent="шкала"] layout_mode = 2 size_flags_horizontal = 5 size_flags_vertical = 7 +toggle_mode = true +button_group = SubResource("ButtonGroup_vwsbs") text = "ГО" metadata/unit_name = &"го" -[node name="sub2" type="GridContainer" parent="приём"] +[node name="sub2" type="GridContainer" parent="шкала"] layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 -[node name="panel_rx" parent="приём/sub2" instance=ExtResource("3_b5v2s")] +[node name="panel_rx" parent="шкала/sub2" instance=ExtResource("5_6hay3")] self_modulate = Color(0.830335, 0.830335, 0.830335, 1) layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 image_file = "uid://c73tjrn8gr00o" -[node name="panel_tx" parent="приём/sub2" instance=ExtResource("3_b5v2s")] +[node name="panel_tx" parent="шкала/sub2" instance=ExtResource("5_6hay3")] self_modulate = Color(0.830335, 0.830335, 0.830335, 1) layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 image_file = "uid://c6etralq2tvxg" -[node name="label3" type="Button" parent="приём"] +[node name="label3" type="Button" parent="шкала"] layout_mode = 2 size_flags_horizontal = 5 size_flags_vertical = 7 +toggle_mode = true +button_group = SubResource("ButtonGroup_vwsbs") text = "РЛС1" metadata/unit_name = &"рлс1" -[node name="sub3" type="GridContainer" parent="приём"] +[node name="sub3" type="GridContainer" parent="шкала"] layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 -[node name="panel_rx" parent="приём/sub3" instance=ExtResource("3_b5v2s")] +[node name="panel_rx" parent="шкала/sub3" instance=ExtResource("5_6hay3")] layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 image_file = "uid://c73tjrn8gr00o" -[node name="panel_tx" parent="приём/sub3" instance=ExtResource("3_b5v2s")] +[node name="panel_tx" parent="шкала/sub3" instance=ExtResource("5_6hay3")] layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 image_file = "uid://c6etralq2tvxg" -[node name="label4" type="Button" parent="приём"] +[node name="label4" type="Button" parent="шкала"] layout_mode = 2 size_flags_horizontal = 5 size_flags_vertical = 7 +toggle_mode = true +button_group = SubResource("ButtonGroup_vwsbs") text = "РЛС2" metadata/unit_name = &"рлс2" -[node name="sub4" type="GridContainer" parent="приём"] +[node name="sub4" type="GridContainer" parent="шкала"] layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 -[node name="panel_rx" parent="приём/sub4" instance=ExtResource("3_b5v2s")] +[node name="panel_rx" parent="шкала/sub4" instance=ExtResource("5_6hay3")] self_modulate = Color(0.830335, 0.830335, 0.830335, 1) layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 image_file = "uid://c73tjrn8gr00o" -[node name="panel_tx" parent="приём/sub4" instance=ExtResource("3_b5v2s")] +[node name="panel_tx" parent="шкала/sub4" instance=ExtResource("5_6hay3")] self_modulate = Color(0.830335, 0.830335, 0.830335, 1) layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 image_file = "uid://c6etralq2tvxg" -[node name="label5" type="Button" parent="приём"] +[node name="label5" type="Button" parent="шкала"] layout_mode = 2 size_flags_horizontal = 5 size_flags_vertical = 7 +toggle_mode = true +button_group = SubResource("ButtonGroup_vwsbs") text = "ННВС" metadata/unit_name = &"ннвс" -[node name="sub5" type="GridContainer" parent="приём"] +[node name="sub5" type="GridContainer" parent="шкала"] layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 -[node name="panel_rx" parent="приём/sub5" instance=ExtResource("3_b5v2s")] +[node name="panel_rx" parent="шкала/sub5" instance=ExtResource("5_6hay3")] layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 image_file = "uid://c73tjrn8gr00o" -[node name="panel_tx" parent="приём/sub5" instance=ExtResource("3_b5v2s")] +[node name="panel_tx" parent="шкала/sub5" instance=ExtResource("5_6hay3")] layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 image_file = "uid://c6etralq2tvxg" -[node name="label6" type="Button" parent="приём"] +[node name="label6" type="Button" parent="шкала"] layout_mode = 2 size_flags_horizontal = 5 size_flags_vertical = 7 +toggle_mode = true +button_group = SubResource("ButtonGroup_vwsbs") text = "Изделие 7" metadata/unit_name = &"изделие7" -[node name="sub6" type="GridContainer" parent="приём"] +[node name="sub6" type="GridContainer" parent="шкала"] layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 -[node name="panel_rx" parent="приём/sub6" instance=ExtResource("3_b5v2s")] +[node name="panel_rx" parent="шкала/sub6" instance=ExtResource("5_6hay3")] self_modulate = Color(0.830335, 0.830335, 0.830335, 1) layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 image_file = "uid://c73tjrn8gr00o" -[node name="panel_tx" parent="приём/sub6" instance=ExtResource("3_b5v2s")] +[node name="panel_tx" parent="шкала/sub6" instance=ExtResource("5_6hay3")] self_modulate = Color(0.830335, 0.830335, 0.830335, 1) layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 image_file = "uid://c6etralq2tvxg" -[node name="label7" type="Button" parent="приём"] +[node name="label7" type="Button" parent="шкала"] layout_mode = 2 size_flags_horizontal = 5 size_flags_vertical = 7 +toggle_mode = true +button_group = SubResource("ButtonGroup_vwsbs") text = "Изделие 8" metadata/unit_name = &"изделие8" -[node name="sub7" type="GridContainer" parent="приём"] +[node name="sub7" type="GridContainer" parent="шкала"] layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 -[node name="panel_rx" parent="приём/sub7" instance=ExtResource("3_b5v2s")] +[node name="panel_rx" parent="шкала/sub7" instance=ExtResource("5_6hay3")] layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 image_file = "uid://c73tjrn8gr00o" -[node name="panel_tx" parent="приём/sub7" instance=ExtResource("3_b5v2s")] +[node name="panel_tx" parent="шкала/sub7" instance=ExtResource("5_6hay3")] layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 image_file = "uid://c6etralq2tvxg" +[node name="фон-матрицы" type="Polygon2D" parent="."] +self_modulate = Color(0.498039, 0.498039, 0.498039, 0.498039) +position = Vector2(400, 0) +polygon = PackedVector2Array(800, 765, 1200, 765, 1200, 1165, 800, 1165) + [node name="матрица" type="GridContainer" parent="."] layout_mode = 0 -offset_left = 1210.0 +offset_left = 1225.0 offset_top = 785.0 -offset_right = 1570.0 +offset_right = 1585.0 offset_bottom = 1145.0 columns = 7 [node name="прм-прд" type="TextureRect" parent="матрица"] layout_mode = 2 -texture = ExtResource("13_5ifkb") +texture = ExtResource("6_a0vpj") [node name="прд-0" type="TextureRect" parent="матрица"] layout_mode = 2 -texture = ExtResource("18_5ifkb") +texture = ExtResource("7_xr3ub") [node name="прд-1" type="TextureRect" parent="матрица"] layout_mode = 2 -texture = ExtResource("17_p41nv") +texture = ExtResource("8_saoyo") [node name="прд-2" type="TextureRect" parent="матрица"] layout_mode = 2 -texture = ExtResource("21_v6otu") +texture = ExtResource("9_bqil1") [node name="прд-3" type="TextureRect" parent="матрица"] layout_mode = 2 -texture = ExtResource("19_vyjnq") +texture = ExtResource("10_ggqgc") [node name="прд-4" type="TextureRect" parent="матрица"] layout_mode = 2 -texture = ExtResource("20_68srw") +texture = ExtResource("11_xothm") [node name="прд-5" type="TextureRect" parent="матрица"] layout_mode = 2 -texture = ExtResource("22_ufy3d") +texture = ExtResource("12_4rjt3") [node name="прм-0" type="TextureRect" parent="матрица"] layout_mode = 2 -texture = ExtResource("24_2pcsf") +texture = ExtResource("13_g0j2q") [node name="матрица-0-0" type="TextureRect" parent="матрица" groups=["матрица-к"]] layout_mode = 2 -texture = ExtResource("15_2spgl") +texture = ExtResource("2_s28jr") [node name="матрица-0-1" type="TextureRect" parent="матрица" groups=["матрица-к"]] layout_mode = 2 -texture = ExtResource("15_2spgl") +texture = ExtResource("2_s28jr") [node name="матрица-0-2" type="TextureRect" parent="матрица" groups=["матрица-к"]] layout_mode = 2 -texture = ExtResource("15_2spgl") +texture = ExtResource("3_its7t") [node name="матрица-0-3" type="TextureRect" parent="матрица" groups=["матрица-к"]] layout_mode = 2 -texture = ExtResource("15_2spgl") +texture = ExtResource("2_s28jr") [node name="матрица-0-4" type="TextureRect" parent="матрица" groups=["матрица-к"]] layout_mode = 2 -texture = ExtResource("15_2spgl") +texture = ExtResource("2_s28jr") [node name="матрица-0-5" type="TextureRect" parent="матрица" groups=["матрица-к"]] layout_mode = 2 -texture = ExtResource("15_2spgl") +texture = ExtResource("2_s28jr") [node name="прм-1" type="TextureRect" parent="матрица"] layout_mode = 2 -texture = ExtResource("23_h11e0") +texture = ExtResource("14_crrpm") [node name="матрица-1-0" type="TextureRect" parent="матрица" groups=["матрица-к"]] layout_mode = 2 -texture = ExtResource("15_2spgl") +texture = ExtResource("2_s28jr") [node name="матрица-1-1" type="TextureRect" parent="матрица" groups=["матрица-к"]] layout_mode = 2 -texture = ExtResource("15_2spgl") +texture = ExtResource("2_s28jr") [node name="матрица-1-2" type="TextureRect" parent="матрица" groups=["матрица-к"]] layout_mode = 2 -texture = ExtResource("15_2spgl") +texture = ExtResource("2_s28jr") [node name="матрица-1-3" type="TextureRect" parent="матрица" groups=["матрица-к"]] layout_mode = 2 -texture = ExtResource("15_2spgl") +texture = ExtResource("2_s28jr") [node name="матрица-1-4" type="TextureRect" parent="матрица" groups=["матрица-к"]] layout_mode = 2 -texture = ExtResource("15_2spgl") +texture = ExtResource("2_s28jr") [node name="матрица-1-5" type="TextureRect" parent="матрица" groups=["матрица-к"]] layout_mode = 2 -texture = ExtResource("15_2spgl") +texture = ExtResource("2_s28jr") [node name="прм-2" type="TextureRect" parent="матрица"] layout_mode = 2 -texture = ExtResource("27_2ft3r") +texture = ExtResource("15_0dspi") [node name="матрица-2-0" type="TextureRect" parent="матрица" groups=["матрица-к"]] layout_mode = 2 -texture = ExtResource("15_2spgl") +texture = ExtResource("2_s28jr") [node name="матрица-2-1" type="TextureRect" parent="матрица" groups=["матрица-к"]] layout_mode = 2 -texture = ExtResource("15_2spgl") +texture = ExtResource("2_s28jr") [node name="матрица-2-2" type="TextureRect" parent="матрица" groups=["матрица-к"]] layout_mode = 2 -texture = ExtResource("15_2spgl") +texture = ExtResource("2_s28jr") [node name="матрица-2-3" type="TextureRect" parent="матрица" groups=["матрица-к"]] layout_mode = 2 -texture = ExtResource("15_2spgl") +texture = ExtResource("2_s28jr") [node name="матрица-2-4" type="TextureRect" parent="матрица" groups=["матрица-к"]] layout_mode = 2 -texture = ExtResource("15_2spgl") +texture = ExtResource("2_s28jr") [node name="матрица-2-5" type="TextureRect" parent="матрица" groups=["матрица-к"]] layout_mode = 2 -texture = ExtResource("15_2spgl") +texture = ExtResource("2_s28jr") [node name="прм-3" type="TextureRect" parent="матрица"] layout_mode = 2 -texture = ExtResource("25_wmu4u") +texture = ExtResource("16_6042y") [node name="матрица-3-0" type="TextureRect" parent="матрица" groups=["матрица-к"]] layout_mode = 2 -texture = ExtResource("15_2spgl") +texture = ExtResource("2_s28jr") [node name="матрица-3-1" type="TextureRect" parent="матрица" groups=["матрица-к"]] layout_mode = 2 -texture = ExtResource("15_2spgl") +texture = ExtResource("2_s28jr") [node name="матрица-3-2" type="TextureRect" parent="матрица" groups=["матрица-к"]] layout_mode = 2 -texture = ExtResource("15_2spgl") +texture = ExtResource("2_s28jr") [node name="матрица-3-3" type="TextureRect" parent="матрица" groups=["матрица-к"]] layout_mode = 2 -texture = ExtResource("15_2spgl") +texture = ExtResource("2_s28jr") [node name="матрица-3-4" type="TextureRect" parent="матрица" groups=["матрица-к"]] layout_mode = 2 -texture = ExtResource("15_2spgl") +texture = ExtResource("2_s28jr") [node name="матрица-3-5" type="TextureRect" parent="матрица" groups=["матрица-к"]] layout_mode = 2 -texture = ExtResource("15_2spgl") +texture = ExtResource("2_s28jr") [node name="прм-4" type="TextureRect" parent="матрица"] layout_mode = 2 -texture = ExtResource("26_w5eif") +texture = ExtResource("17_gvsi1") [node name="матрица-4-0" type="TextureRect" parent="матрица" groups=["матрица-к"]] layout_mode = 2 -texture = ExtResource("15_2spgl") +texture = ExtResource("2_s28jr") [node name="матрица-4-1" type="TextureRect" parent="матрица" groups=["матрица-к"]] layout_mode = 2 -texture = ExtResource("15_2spgl") +texture = ExtResource("2_s28jr") [node name="матрица-4-2" type="TextureRect" parent="матрица" groups=["матрица-к"]] layout_mode = 2 -texture = ExtResource("15_2spgl") +texture = ExtResource("2_s28jr") [node name="матрица-4-3" type="TextureRect" parent="матрица" groups=["матрица-к"]] layout_mode = 2 -texture = ExtResource("15_2spgl") +texture = ExtResource("2_s28jr") [node name="матрица-4-4" type="TextureRect" parent="матрица" groups=["матрица-к"]] layout_mode = 2 -texture = ExtResource("15_2spgl") +texture = ExtResource("2_s28jr") [node name="матрица-4-5" type="TextureRect" parent="матрица" groups=["матрица-к"]] layout_mode = 2 -texture = ExtResource("15_2spgl") +texture = ExtResource("2_s28jr") [node name="прм-5" type="TextureRect" parent="матрица"] layout_mode = 2 -texture = ExtResource("28_rra4y") +texture = ExtResource("18_p3gp1") [node name="матрица-5-0" type="TextureRect" parent="матрица" groups=["матрица-к"]] layout_mode = 2 -texture = ExtResource("15_2spgl") +texture = ExtResource("2_s28jr") [node name="матрица-5-1" type="TextureRect" parent="матрица" groups=["матрица-к"]] layout_mode = 2 -texture = ExtResource("15_2spgl") +texture = ExtResource("2_s28jr") [node name="матрица-5-2" type="TextureRect" parent="матрица" groups=["матрица-к"]] layout_mode = 2 -texture = ExtResource("15_2spgl") +texture = ExtResource("2_s28jr") [node name="матрица-5-3" type="TextureRect" parent="матрица" groups=["матрица-к"]] layout_mode = 2 -texture = ExtResource("15_2spgl") +texture = ExtResource("2_s28jr") [node name="матрица-5-5" type="TextureRect" parent="матрица" groups=["матрица-к"]] layout_mode = 2 -texture = ExtResource("15_2spgl") +texture = ExtResource("2_s28jr") [node name="матрица-5-6" type="TextureRect" parent="матрица"] layout_mode = 2 -texture = ExtResource("15_2spgl") +texture = ExtResource("2_s28jr") -[node name="Op-63" type="TextureRect" parent="."] +[node name="ор-63" type="TextureRect" parent="."] layout_mode = 0 offset_left = 125.0 offset_top = 66.0 offset_right = 338.0 offset_bottom = 358.0 scale = Vector2(0.312207, 0.312207) -texture = ExtResource("3_8gk36") +texture = ExtResource("19_o84s0") -[node name="СостояниеРэс44" type="TextureRect" parent="Op-63"] +[node name="приём" type="TextureRect" parent="ор-63"] layout_mode = 0 offset_left = 237.022 offset_top = 227.414 offset_right = 290.022 offset_bottom = 263.414 scale = Vector2(1.77945, 1.77945) -texture = ExtResource("4_b5v2s") +texture = ExtResource("20_nwrva") -[node name="СостояниеРэс24" type="TextureRect" parent="Op-63"] +[node name="передача" type="TextureRect" parent="ор-63"] layout_mode = 0 offset_left = 241.114 offset_top = 147.338 offset_right = 294.114 offset_bottom = 183.338 scale = Vector2(1.77945, 1.77945) -texture = ExtResource("5_p41nv") +texture = ExtResource("21_kcvtj") -[node name="СостояниеРэс2" type="TextureRect" parent="Op-63"] +[node name="насвязи" type="TextureRect" parent="ор-63"] layout_mode = 0 offset_left = 241.115 offset_top = 3.203 offset_right = 269.115 offset_bottom = 23.203 scale = Vector2(3.20301, 3.20301) -texture = ExtResource("6_m57px") +texture = ExtResource("22_vx0p2") [node name="454" type="TextureRect" parent="."] layout_mode = 0 @@ -506,33 +1005,33 @@ offset_top = 66.0 offset_right = 490.0 offset_bottom = 358.0 scale = Vector2(0.312, 0.312) -texture = ExtResource("4_nqi0i") +texture = ExtResource("23_txey4") -[node name="СостояниеРэс45" type="TextureRect" parent="454"] +[node name="приём" type="TextureRect" parent="454"] layout_mode = 0 offset_left = 233.084 offset_top = 208.333 offset_right = 286.084 offset_bottom = 244.333 scale = Vector2(1.78063, 1.78063) -texture = ExtResource("4_b5v2s") +texture = ExtResource("20_nwrva") -[node name="СостояниеРэс25" type="TextureRect" parent="454"] +[node name="передача" type="TextureRect" parent="454"] layout_mode = 0 offset_left = 230.769 offset_top = 128.205 offset_right = 283.769 offset_bottom = 164.205 scale = Vector2(1.78063, 1.78063) -texture = ExtResource("5_p41nv") +texture = ExtResource("21_kcvtj") -[node name="СостояниеРэс3" type="TextureRect" parent="454"] +[node name="насвязи" type="TextureRect" parent="454"] layout_mode = 0 offset_left = 230.769 offset_right = 258.769 offset_bottom = 20.0 scale = Vector2(3.20513, 3.20513) -texture = ExtResource("6_m57px") +texture = ExtResource("22_vx0p2") [node name="Го" type="TextureRect" parent="."] layout_mode = 0 @@ -541,70 +1040,70 @@ offset_top = 67.0 offset_right = 673.0 offset_bottom = 359.0 scale = Vector2(0.312, 0.312) -texture = ExtResource("5_e7tlv") +texture = ExtResource("24_8mkn8") -[node name="СостояниеРэс40" type="TextureRect" parent="Го"] +[node name="приём" type="TextureRect" parent="Го"] layout_mode = 0 offset_left = 233.974 offset_top = 217.949 offset_right = 286.974 offset_bottom = 253.949 scale = Vector2(1.78063, 1.78063) -texture = ExtResource("4_b5v2s") +texture = ExtResource("20_nwrva") -[node name="СостояниеРэс20" type="TextureRect" parent="Го"] +[node name="передача" type="TextureRect" parent="Го"] layout_mode = 0 offset_left = 233.974 offset_top = 150.641 offset_right = 286.974 offset_bottom = 186.641 scale = Vector2(1.78063, 1.78063) -texture = ExtResource("5_p41nv") +texture = ExtResource("21_kcvtj") -[node name="СостояниеЭмсСлабыйСигнал" type="TextureRect" parent="Го"] +[node name="сигнал" type="TextureRect" parent="Го"] layout_mode = 0 offset_left = 233.974 offset_top = 83.3334 offset_right = 261.974 offset_bottom = 103.334 scale = Vector2(3.37683, 3.20513) -texture = ExtResource("9_5u4bk") +texture = ExtResource("25_ehxfq") -[node name="Рлс1" type="TextureRect" parent="."] +[node name="лс1" type="TextureRect" parent="."] layout_mode = 0 offset_left = 639.0 offset_top = 65.0 offset_right = 852.0 offset_bottom = 357.0 scale = Vector2(0.312, 0.312) -texture = ExtResource("6_y58bl") +texture = ExtResource("26_3yebi") -[node name="СостояниеРэс41" type="TextureRect" parent="Рлс1"] +[node name="приём" type="TextureRect" parent="лс1"] layout_mode = 0 offset_left = 233.974 offset_top = 217.948 offset_right = 286.974 offset_bottom = 253.948 scale = Vector2(1.78063, 1.78063) -texture = ExtResource("4_b5v2s") +texture = ExtResource("20_nwrva") -[node name="СостояниеРэс21" type="TextureRect" parent="Рлс1"] +[node name="передача" type="TextureRect" parent="лс1"] layout_mode = 0 offset_left = 233.974 offset_top = 150.641 offset_right = 286.974 offset_bottom = 186.641 scale = Vector2(1.78063, 1.78063) -texture = ExtResource("5_p41nv") +texture = ExtResource("21_kcvtj") -[node name="СостояниеЭмсСлабыйСигнал2" type="TextureRect" parent="Рлс1"] +[node name="сигнал" type="TextureRect" parent="лс1"] layout_mode = 0 offset_left = 233.974 offset_top = 83.3333 offset_right = 261.974 offset_bottom = 103.333 scale = Vector2(3.37683, 3.20513) -texture = ExtResource("9_5u4bk") +texture = ExtResource("25_ehxfq") [node name="Рлс2" type="TextureRect" parent="."] layout_mode = 0 @@ -613,34 +1112,34 @@ offset_top = 65.0 offset_right = 1044.0 offset_bottom = 357.0 scale = Vector2(0.312, 0.312) -texture = ExtResource("7_mxw8g") +texture = ExtResource("27_3x2eg") -[node name="СостояниеРэс42" type="TextureRect" parent="Рлс2"] +[node name="приём" type="TextureRect" parent="Рлс2"] layout_mode = 0 offset_left = 227.564 offset_top = 217.948 offset_right = 280.564 offset_bottom = 253.948 scale = Vector2(1.78063, 1.78063) -texture = ExtResource("4_b5v2s") +texture = ExtResource("20_nwrva") -[node name="СостояниеРэс22" type="TextureRect" parent="Рлс2"] +[node name="передача" type="TextureRect" parent="Рлс2"] layout_mode = 0 offset_left = 227.564 offset_top = 150.641 offset_right = 280.564 offset_bottom = 186.641 scale = Vector2(1.78063, 1.78063) -texture = ExtResource("5_p41nv") +texture = ExtResource("21_kcvtj") -[node name="СостояниеЭмсСлабыйСигнал3" type="TextureRect" parent="Рлс2"] +[node name="сигнал" type="TextureRect" parent="Рлс2"] layout_mode = 0 offset_left = 227.564 offset_top = 83.3333 offset_right = 255.564 offset_bottom = 103.333 scale = Vector2(3.37683, 3.20513) -texture = ExtResource("9_5u4bk") +texture = ExtResource("25_ehxfq") [node name="Ннвс" type="TextureRect" parent="."] layout_mode = 0 @@ -649,25 +1148,25 @@ offset_top = 69.0 offset_right = 1333.0 offset_bottom = 361.0 scale = Vector2(0.312, 0.312) -texture = ExtResource("8_q16jd") +texture = ExtResource("28_wh3ue") -[node name="СостояниеРэс43" type="TextureRect" parent="Ннвс"] +[node name="приём" type="TextureRect" parent="Ннвс"] layout_mode = 0 offset_left = 243.59 offset_top = 214.744 offset_right = 296.59 offset_bottom = 250.744 scale = Vector2(1.78063, 1.78063) -texture = ExtResource("4_b5v2s") +texture = ExtResource("20_nwrva") -[node name="СостояниеРэс23" type="TextureRect" parent="Ннвс"] +[node name="передача" type="TextureRect" parent="Ннвс"] layout_mode = 0 offset_left = 243.59 offset_top = 147.436 offset_right = 296.59 offset_bottom = 183.436 scale = Vector2(1.78063, 1.78063) -texture = ExtResource("5_p41nv") +texture = ExtResource("21_kcvtj") [node name="label8" type="Label" parent="."] layout_mode = 0 @@ -728,467 +1227,3 @@ offset_bottom = 65.0 size_flags_horizontal = 4 size_flags_vertical = 6 text = "ННВС" - -[node name="таблица" type="GridContainer" parent="."] -layout_mode = 0 -offset_left = 35.0 -offset_top = 785.0 -offset_right = 1199.0 -offset_bottom = 1145.0 -columns = 8 - -[node name="header0" parent="таблица" instance=ExtResource("35_p41nv")] -layout_mode = 2 -size_flags_horizontal = 3 -size_flags_vertical = 7 -text = "Кластер" - -[node name="header7" parent="таблица" instance=ExtResource("35_p41nv")] -layout_mode = 2 -size_flags_horizontal = 3 -size_flags_vertical = 7 -text = "Состояние" - -[node name="header1" parent="таблица" instance=ExtResource("35_p41nv")] -layout_mode = 2 -size_flags_horizontal = 3 -size_flags_vertical = 7 -text = "Время" - -[node name="header2" parent="таблица" instance=ExtResource("35_p41nv")] -layout_mode = 2 -size_flags_horizontal = 3 -size_flags_vertical = 7 -text = "Азимут" - -[node name="header3" parent="таблица" instance=ExtResource("35_p41nv")] -layout_mode = 2 -size_flags_horizontal = 3 -size_flags_vertical = 7 -text = "Угол места" - -[node name="header4" parent="таблица" instance=ExtResource("35_p41nv")] -layout_mode = 2 -size_flags_horizontal = 3 -size_flags_vertical = 7 -text = "Диапазон" - -[node name="header5" parent="таблица" instance=ExtResource("36_68srw")] -layout_mode = 2 -size_flags_vertical = 7 -header_text = "Передача" -image_file = "uid://c73tjrn8gr00o" - -[node name="header6" parent="таблица" instance=ExtResource("36_68srw")] -layout_mode = 2 -size_flags_vertical = 7 -header_text = "Приём" -image_file = "uid://c6etralq2tvxg" - -[node name="cell_0_1" parent="таблица" instance=ExtResource("36_vyjnq")] -layout_mode = 2 -size_flags_vertical = 7 -text = "1" -horizontal_alignment = 1 -vertical_alignment = 1 -metadata/unit_name = &"ОР-63" - -[node name="cell_1_1" parent="таблица" instance=ExtResource("36_vyjnq")] -layout_mode = 2 -size_flags_vertical = 7 -text = "Активен" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="cell_2_1" parent="таблица" instance=ExtResource("36_vyjnq")] -layout_mode = 2 -size_flags_vertical = 7 -text = "00:02" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="cell_3_1" parent="таблица" instance=ExtResource("36_vyjnq")] -layout_mode = 2 -size_flags_vertical = 7 -text = "0-360" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="cell_4_1" parent="таблица" instance=ExtResource("36_vyjnq")] -layout_mode = 2 -size_flags_vertical = 7 -text = "19" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="cell_5_1" parent="таблица" instance=ExtResource("36_vyjnq")] -layout_mode = 2 -size_flags_vertical = 7 -text = "2300-2705" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="cell_6_1" parent="таблица" instance=ExtResource("37_68srw")] -layout_mode = 2 -size_flags_vertical = 7 - -[node name="cell_7_1" parent="таблица" instance=ExtResource("37_68srw")] -layout_mode = 2 -size_flags_vertical = 7 - -[node name="cell_0_2" parent="таблица" instance=ExtResource("36_vyjnq")] -layout_mode = 2 -size_flags_vertical = 7 -text = "2" -horizontal_alignment = 1 -vertical_alignment = 1 -metadata/unit_name = &"484" - -[node name="cell_1_2" parent="таблица" instance=ExtResource("36_vyjnq")] -layout_mode = 2 -size_flags_vertical = 7 -text = "Активен" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="cell_2_2" parent="таблица" instance=ExtResource("36_vyjnq")] -layout_mode = 2 -size_flags_vertical = 7 -text = "00:02" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="cell_3_2" parent="таблица" instance=ExtResource("36_vyjnq")] -layout_mode = 2 -size_flags_vertical = 7 -text = "0-360" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="cell_4_2" parent="таблица" instance=ExtResource("36_vyjnq")] -layout_mode = 2 -size_flags_vertical = 7 -text = "19" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="cell_5_2" parent="таблица" instance=ExtResource("36_vyjnq")] -layout_mode = 2 -size_flags_vertical = 7 -text = "2300-2705" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="cell_6_2" parent="таблица" instance=ExtResource("37_68srw")] -layout_mode = 2 -size_flags_vertical = 7 - -[node name="cell_7_2" parent="таблица" instance=ExtResource("37_68srw")] -layout_mode = 2 -size_flags_vertical = 7 - -[node name="cell_0_3" parent="таблица" instance=ExtResource("36_vyjnq")] -layout_mode = 2 -size_flags_vertical = 7 -text = "3" -horizontal_alignment = 1 -vertical_alignment = 1 -metadata/unit_name = &"ГО" - -[node name="cell_1_3" parent="таблица" instance=ExtResource("36_vyjnq")] -layout_mode = 2 -size_flags_vertical = 7 -text = "Удалён" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="cell_2_3" parent="таблица" instance=ExtResource("36_vyjnq")] -layout_mode = 2 -size_flags_vertical = 7 -text = "00:02" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="cell_3_3" parent="таблица" instance=ExtResource("36_vyjnq")] -layout_mode = 2 -size_flags_vertical = 7 -text = "0-360" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="cell_4_3" parent="таблица" instance=ExtResource("36_vyjnq")] -layout_mode = 2 -size_flags_vertical = 7 -text = "19" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="cell_5_3" parent="таблица" instance=ExtResource("36_vyjnq")] -layout_mode = 2 -size_flags_vertical = 7 -text = "2300-2705" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="cell_6_3" parent="таблица" instance=ExtResource("37_68srw")] -layout_mode = 2 -size_flags_vertical = 7 - -[node name="cell_7_3" parent="таблица" instance=ExtResource("37_68srw")] -layout_mode = 2 -size_flags_vertical = 7 - -[node name="cell_0_4" parent="таблица" instance=ExtResource("36_vyjnq")] -layout_mode = 2 -size_flags_vertical = 7 -text = "4" -horizontal_alignment = 1 -vertical_alignment = 1 -metadata/unit_name = &"РЛС1" - -[node name="cell_1_4" parent="таблица" instance=ExtResource("36_vyjnq")] -layout_mode = 2 -size_flags_vertical = 7 -text = "Удалён" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="cell_2_4" parent="таблица" instance=ExtResource("36_vyjnq")] -layout_mode = 2 -size_flags_vertical = 7 -text = "00:02" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="cell_3_4" parent="таблица" instance=ExtResource("36_vyjnq")] -layout_mode = 2 -size_flags_vertical = 7 -text = "20-60" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="cell_4_4" parent="таблица" instance=ExtResource("36_vyjnq")] -layout_mode = 2 -size_flags_vertical = 7 -text = "19" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="cell_5_4" parent="таблица" instance=ExtResource("36_vyjnq")] -layout_mode = 2 -size_flags_vertical = 7 -text = "2300-2705" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="cell_6_4" parent="таблица" instance=ExtResource("37_68srw")] -layout_mode = 2 -size_flags_vertical = 7 - -[node name="cell_7_4" parent="таблица" instance=ExtResource("37_68srw")] -layout_mode = 2 -size_flags_vertical = 7 - -[node name="cell_0_5" parent="таблица" instance=ExtResource("36_vyjnq")] -layout_mode = 2 -size_flags_vertical = 7 -text = "5" -horizontal_alignment = 1 -vertical_alignment = 1 -metadata/unit_name = &"РЛС2" - -[node name="cell_1_5" parent="таблица" instance=ExtResource("36_vyjnq")] -layout_mode = 2 -size_flags_vertical = 7 -text = "Удалён" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="cell_2_5" parent="таблица" instance=ExtResource("36_vyjnq")] -layout_mode = 2 -size_flags_vertical = 7 -text = "00:02" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="cell_3_5" parent="таблица" instance=ExtResource("36_vyjnq")] -layout_mode = 2 -size_flags_vertical = 7 -text = "0-360" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="cell_4_5" parent="таблица" instance=ExtResource("36_vyjnq")] -layout_mode = 2 -size_flags_vertical = 7 -text = "19" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="cell_5_5" parent="таблица" instance=ExtResource("36_vyjnq")] -layout_mode = 2 -size_flags_vertical = 7 -text = "2300-2705" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="cell_6_5" parent="таблица" instance=ExtResource("37_68srw")] -layout_mode = 2 -size_flags_vertical = 7 - -[node name="cell_7_5" parent="таблица" instance=ExtResource("37_68srw")] -layout_mode = 2 -size_flags_vertical = 7 - -[node name="cell_0_6" parent="таблица" instance=ExtResource("36_vyjnq")] -layout_mode = 2 -size_flags_vertical = 7 -text = "6" -horizontal_alignment = 1 -vertical_alignment = 1 -metadata/unit_name = &"ННВС" - -[node name="cell_1_6" parent="таблица" instance=ExtResource("36_vyjnq")] -layout_mode = 2 -size_flags_vertical = 7 -text = "Активен" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="cell_2_6" parent="таблица" instance=ExtResource("36_vyjnq")] -layout_mode = 2 -size_flags_vertical = 7 -text = "00:02" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="cell_3_6" parent="таблица" instance=ExtResource("36_vyjnq")] -layout_mode = 2 -size_flags_vertical = 7 -text = "0-360" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="cell_4_6" parent="таблица" instance=ExtResource("36_vyjnq")] -layout_mode = 2 -size_flags_vertical = 7 -text = "19" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="cell_5_6" parent="таблица" instance=ExtResource("36_vyjnq")] -layout_mode = 2 -size_flags_vertical = 7 -text = "2300-2705" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="cell_6_6" parent="таблица" instance=ExtResource("37_68srw")] -layout_mode = 2 -size_flags_vertical = 7 - -[node name="cell_7_6" parent="таблица" instance=ExtResource("37_68srw")] -layout_mode = 2 -size_flags_vertical = 7 - -[node name="cell_0_7" parent="таблица" instance=ExtResource("36_vyjnq")] -layout_mode = 2 -size_flags_vertical = 7 -text = "7" -horizontal_alignment = 1 -vertical_alignment = 1 -metadata/unit_name = &"Изделие 7" - -[node name="cell_1_7" parent="таблица" instance=ExtResource("36_vyjnq")] -layout_mode = 2 -size_flags_vertical = 7 -text = "Активен" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="cell_2_7" parent="таблица" instance=ExtResource("36_vyjnq")] -layout_mode = 2 -size_flags_vertical = 7 -text = "00:02" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="cell_3_7" parent="таблица" instance=ExtResource("36_vyjnq")] -layout_mode = 2 -size_flags_vertical = 7 -text = "0-360" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="cell_4_7" parent="таблица" instance=ExtResource("36_vyjnq")] -layout_mode = 2 -size_flags_vertical = 7 -text = "19" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="cell_5_7" parent="таблица" instance=ExtResource("36_vyjnq")] -layout_mode = 2 -size_flags_vertical = 7 -text = "2300-2705" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="cell_6_7" parent="таблица" instance=ExtResource("37_68srw")] -layout_mode = 2 -size_flags_vertical = 7 - -[node name="cell_7_7" parent="таблица" instance=ExtResource("37_68srw")] -layout_mode = 2 -size_flags_vertical = 7 - -[node name="cell_0_8" parent="таблица" instance=ExtResource("36_vyjnq")] -layout_mode = 2 -size_flags_vertical = 7 -text = "8" -horizontal_alignment = 1 -vertical_alignment = 1 -metadata/unit_name = &"Изделие 8" - -[node name="cell_1_8" parent="таблица" instance=ExtResource("36_vyjnq")] -layout_mode = 2 -size_flags_vertical = 7 -text = "Удалён" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="cell_2_8" parent="таблица" instance=ExtResource("36_vyjnq")] -layout_mode = 2 -size_flags_vertical = 7 -text = "00:02" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="cell_3_8" parent="таблица" instance=ExtResource("36_vyjnq")] -layout_mode = 2 -size_flags_vertical = 7 -text = "0-360" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="cell_4_8" parent="таблица" instance=ExtResource("36_vyjnq")] -layout_mode = 2 -size_flags_vertical = 7 -text = "19" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="cell_5_8" parent="таблица" instance=ExtResource("36_vyjnq")] -layout_mode = 2 -size_flags_vertical = 7 -text = "2300-2705" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="cell_6_8" parent="таблица" instance=ExtResource("37_68srw")] -layout_mode = 2 -size_flags_vertical = 7 - -[node name="cell_7_8" parent="таблица" instance=ExtResource("37_68srw")] -layout_mode = 2 -size_flags_vertical = 7 diff --git a/scripts/network.gd b/scripts/network.gd index 7ea36cc9..2cbcf401 100644 --- a/scripts/network.gd +++ b/scripts/network.gd @@ -2,6 +2,7 @@ class_name Network extends Node const YAU07_PROTO: = {'yau07tx': yau07.YaU07} +const IYEMS_PROTO: = {'iyems-tx': yems_info.YeMSInfo} const UDP_PROTO: = {'capsrpb': capsrpb.CapsRpb, 'trassa': trassa.Trassa} const TCP_PROTO: = {'5p28': tcp5p28.TCP5P28} const SERIAL_PROTO: = {'spt25': spt25.SPT25} diff --git a/scripts/settings.gd b/scripts/settings.gd index 1072da31..0aa2cacd 100644 --- a/scripts/settings.gd +++ b/scripts/settings.gd @@ -26,7 +26,9 @@ 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-адрес для приёма докладов от информационному ЭМС устройств'], + + # <Название: > + 'ор-63': ['iyems-tx', [ '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-адрес для передачи команд информационному ЭМС устройству'], diff --git a/scripts/yems-info.gd b/scripts/yems-info.gd new file mode 100644 index 00000000..040ca23c --- /dev/null +++ b/scripts/yems-info.gd @@ -0,0 +1,25 @@ +extends Node + + +class YeMSInfo extends unit.Unit: + static var json_conv: = JSON.new() + var online_timeout: float = 5000 ## Должен быть равен наибольшему времени дотоверности из всех кластеров + var info: = Dictionary() + func parse(data: PackedByteArray, now_tick: int): + self.rx_tick = now_tick + if not online: + online = true + emit_signal('line_changed', self) + var utf8_data: = data.get_string_from_utf8() + if Error.OK == json_conv.parse(utf8_data): + info.merge(json_conv.get_data(), true) + emit_signal('data_received', self) + else: + var msg = json_conv.get_error_message() + emit_signal('parse_error', self, msg) + + func process(now_tick: int): + if online and ((now_tick - rx_tick) > online_timeout): + online = false + emit_signal('line_changed', self) + return Error.ERR_BUSY diff --git a/scripts/yems-info.gd.uid b/scripts/yems-info.gd.uid new file mode 100644 index 00000000..ee7b1505 --- /dev/null +++ b/scripts/yems-info.gd.uid @@ -0,0 +1 @@ +uid://bst5wk3otwwai diff --git a/table/header-image.tscn b/table/header-image.tscn index f7e5d33f..7bfbaabb 100644 --- a/table/header-image.tscn +++ b/table/header-image.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=3 format=3 uid="uid://cymcld4mjmlhj"] +[gd_scene load_steps=4 format=3 uid="uid://cymcld4mjmlhj"] [ext_resource type="Texture2D" uid="uid://c73tjrn8gr00o" path="res://data/Передатчик.png" id="1_nbmfn"] @@ -28,9 +28,16 @@ func _enter_tree() -> void: $label.text = header_text " +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_nbmfn"] +bg_color = Color(0.741395, 0.468103, 0.328942, 1) +corner_radius_top_left = 4 +corner_radius_top_right = 4 +corner_radius_bottom_right = 4 +corner_radius_bottom_left = 4 + [node name="header-image" type="GridContainer"] offset_right = 91.0 -offset_bottom = 19.0 +offset_bottom = 25.0 columns = 2 script = SubResource("GDScript_63652") @@ -43,5 +50,8 @@ expand_mode = 3 [node name="label" type="Label" parent="."] layout_mode = 2 size_flags_horizontal = 3 +size_flags_vertical = 3 +theme_override_colors/font_color = Color(0, 0, 0, 1) +theme_override_styles/normal = SubResource("StyleBoxFlat_nbmfn") horizontal_alignment = 1 vertical_alignment = 1 diff --git a/table/lable.tscn b/table/lable.tscn index 17064cc1..43d2ec80 100644 --- a/table/lable.tscn +++ b/table/lable.tscn @@ -25,15 +25,6 @@ func _init() -> void: var style_dark: = style_light.duplicate(true) style_dark.bg_color = Color(0.12, 0.12, 0.12) styles[0] = style_dark - ProjectSettings.connect('settings_changed', apply_colors) - apply_colors() - - -func apply_colors(): - if ProjectSettings.get_setting('application/config/%s' % 'Цвет темы программы', false): - add_theme_stylebox_override('normal', styles[1]) - else: - add_theme_stylebox_override('normal', styles[0]) " [node name="Lable" type="Label"] diff --git a/table/table.gd b/table/table.gd index de9c3aca..66f782a5 100644 --- a/table/table.gd +++ b/table/table.gd @@ -414,6 +414,7 @@ func _on_focus_entered(node): ## func set_header(header_types: Array): + _assert(header_types.size() > 0, 'количество колонок в заголовке: %d' % [header_types.size()]) _assert(header_types.size() < MAX_INDEX, 'количество колонок в заголовке: %d больше допустимого: %d' % [header_types.size(), MAX_INDEX + 1]) if columns == 1: set_columns(header_types.size())