Доработка. Отображение приборов в режиме Контроль

This commit is contained in:
sasha80
2024-05-02 11:29:28 +03:00
parent b6e1fc9f05
commit 7fdeee9903
3 changed files with 44 additions and 43 deletions

View File

@@ -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

View File

@@ -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 = "Контроль исправности прибора УФ
"

View File

@@ -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