From 7fdeee9903b12c2a8accef797157222dbd1424a7 Mon Sep 17 00:00:00 2001 From: sasha80 Date: Thu, 2 May 2024 11:29:28 +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.=20=D0=9E=D1=82=D0=BE=D0=B1=D1=80=D0=B0=D0=B6?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BF=D1=80=D0=B8=D0=B1=D0=BE=D1=80?= =?UTF-8?q?=D0=BE=D0=B2=20=D0=B2=20=D1=80=D0=B5=D0=B6=D0=B8=D0=BC=D0=B5=20?= =?UTF-8?q?=D0=9A=D0=BE=D0=BD=D1=82=D1=80=D0=BE=D0=BB=D1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scenes/pribor-rtr/pribor-rtr.tscn | 63 +++++++++++++---------------- scenes/pribor-uf/pribor-uf.tscn | 16 +++++--- scenes/pribor-uyep/pribor-uyep.tscn | 8 +++- 3 files changed, 44 insertions(+), 43 deletions(-) diff --git a/scenes/pribor-rtr/pribor-rtr.tscn b/scenes/pribor-rtr/pribor-rtr.tscn index e231dbe..d28121f 100644 --- a/scenes/pribor-rtr/pribor-rtr.tscn +++ b/scenes/pribor-rtr/pribor-rtr.tscn @@ -1,34 +1,17 @@ -[gd_scene load_steps=3 format=3 uid="uid://5uv1idl3lqet"] +[gd_scene load_steps=4 format=3 uid="uid://5uv1idl3lqet"] +[ext_resource type="Script" path="res://scenes/контроль/прибор.gd" id="1_ab82m"] [ext_resource type="PackedScene" uid="uid://d3iqb5e4g81m5" path="res://scenes/контроль/элемент-г.tscn" id="2_e75yj"] [ext_resource type="Texture2D" uid="uid://c4mdrmk7h638f" path="res://data/nine-patch-round.png" id="3_a2683"] -[node name="pribor_UF" type="Node2D"] - -[node name="ref_G1" type="NinePatchRect" parent="."] -offset_left = 394.0 -offset_top = 157.0 -offset_right = 786.0 -offset_bottom = 367.0 -texture = ExtResource("3_a2683") -patch_margin_left = 16 -patch_margin_top = 16 -patch_margin_right = 16 -patch_margin_bottom = 16 - -[node name="ref_A23" parent="ref_G1" instance=ExtResource("2_e75yj")] -layout_mode = 0 -offset_left = 105.0 -offset_top = 28.0 -offset_right = 265.0 -offset_bottom = 183.0 -fname = "MAA2000" -rname = "A23" -state = 1 +[node name="pribor_rtr" type="Control"] +layout_mode = 3 +anchors_preset = 0 +script = ExtResource("1_ab82m") [node name="ref_A1" type="NinePatchRect" parent="."] offset_left = 123.0 -offset_top = 434.0 +offset_top = 164.0 offset_right = 783.0 offset_bottom = 728.0 texture = ExtResource("3_a2683") @@ -39,24 +22,34 @@ patch_margin_bottom = 16 [node name="ref_A24" parent="ref_A1" instance=ExtResource("2_e75yj")] layout_mode = 0 -offset_left = 334.0 -offset_top = 74.0 -offset_right = 644.0 -offset_bottom = 232.0 +offset_left = 311.0 +offset_top = 346.0 +offset_right = 621.0 +offset_bottom = 504.0 fname = "Модуль процессорный O31S.B" rname = "A24" state = 1 [node name="ref_A25" parent="ref_A1" instance=ExtResource("2_e75yj")] layout_mode = 0 -offset_left = 70.0 -offset_top = 115.0 -offset_right = 275.0 -offset_bottom = 231.0 +offset_left = 47.0 +offset_top = 387.0 +offset_right = 252.0 +offset_bottom = 503.0 fname = "Плата" rname = "A25" state = 1 +[node name="ref_A23" parent="ref_A1" instance=ExtResource("2_e75yj")] +layout_mode = 0 +offset_left = 451.0 +offset_top = 76.0 +offset_right = 611.0 +offset_bottom = 231.0 +fname = "MAA2000" +rname = "A23" +state = 1 + [node name="ref_A2" type="NinePatchRect" parent="."] offset_left = 124.0 offset_top = 803.0 @@ -89,11 +82,11 @@ rname = "A27" state = 1 [node name="lbl_header" type="Label" parent="."] -offset_left = 10.0 +offset_left = 129.0 offset_top = 131.0 -offset_right = 865.0 +offset_right = 776.0 offset_bottom = 157.0 theme_override_font_sizes/font_size = 22 -text = "Контроль исправности прибора РТР" +text = "Контроль исправности прибора" horizontal_alignment = 1 vertical_alignment = 1 diff --git a/scenes/pribor-uf/pribor-uf.tscn b/scenes/pribor-uf/pribor-uf.tscn index 8702b3c..dc88675 100644 --- a/scenes/pribor-uf/pribor-uf.tscn +++ b/scenes/pribor-uf/pribor-uf.tscn @@ -1,9 +1,13 @@ -[gd_scene load_steps=3 format=3 uid="uid://dwxn2puh462nl"] +[gd_scene load_steps=4 format=3 uid="uid://dwxn2puh462nl"] +[ext_resource type="Script" path="res://scenes/контроль/прибор.gd" id="1_2qyst"] [ext_resource type="Texture2D" uid="uid://c4mdrmk7h638f" path="res://data/nine-patch-round.png" id="2_ho0da"] [ext_resource type="PackedScene" uid="uid://p2suppildvq0" path="res://scenes/контроль/элемент-в.tscn" id="3_dp78y"] -[node name="pribor_UF" type="Node2D"] +[node name="pribor_uf" type="Control"] +layout_mode = 3 +anchors_preset = 0 +script = ExtResource("1_2qyst") [node name="ref_uf" type="NinePatchRect" parent="."] offset_left = 98.0 @@ -172,10 +176,10 @@ offset_bottom = 35.0 text = "Кассета В-13" [node name="lbl_header" type="Label" parent="."] -offset_left = 9.0 -offset_top = 215.0 -offset_right = 864.0 -offset_bottom = 241.0 +offset_left = 105.0 +offset_top = 225.0 +offset_right = 704.0 +offset_bottom = 251.0 theme_override_font_sizes/font_size = 22 text = "Контроль исправности прибора УФ " diff --git a/scenes/pribor-uyep/pribor-uyep.tscn b/scenes/pribor-uyep/pribor-uyep.tscn index 259344d..b80bea7 100644 --- a/scenes/pribor-uyep/pribor-uyep.tscn +++ b/scenes/pribor-uyep/pribor-uyep.tscn @@ -1,9 +1,13 @@ -[gd_scene load_steps=3 format=3 uid="uid://bs7h65e7bodp3"] +[gd_scene load_steps=4 format=3 uid="uid://bs7h65e7bodp3"] [ext_resource type="Texture2D" uid="uid://c4mdrmk7h638f" path="res://data/nine-patch-round.png" id="1_6olof"] +[ext_resource type="Script" path="res://scenes/контроль/прибор.gd" id="1_b7gyx"] [ext_resource type="PackedScene" uid="uid://p2suppildvq0" path="res://scenes/контроль/элемент-в.tscn" id="2_cf6tc"] -[node name="pribor_UF" type="Node2D"] +[node name="pribor_uyep" type="Control"] +layout_mode = 3 +anchors_preset = 0 +script = ExtResource("1_b7gyx") [node name="ref_G1" type="NinePatchRect" parent="."] offset_left = 98.0