diff --git a/scenes/pribor-uyep/block-input.tscn b/scenes/pribor-uyep/block-input.tscn index 0bd9223..49adf91 100644 --- a/scenes/pribor-uyep/block-input.tscn +++ b/scenes/pribor-uyep/block-input.tscn @@ -25,7 +25,7 @@ signal pressed(control: PanelContainer) set(v): state = v if v == 0: - $margin/vbox/title/lbl_using.text = 'неизвестно' + $margin/vbox/title/lbl_using.text = '<нет данных>' $margin/vbox/title/lbl_using.self_modulate = Color.CADET_BLUE elif v == 1: $margin/vbox/title/lbl_using.text = 'используется' @@ -139,8 +139,12 @@ vertical_alignment = 1 [node name="lbl_using" type="Label" parent="margin/vbox/title"] layout_mode = 2 -size_flags_horizontal = 6 -text = "неизвестно" +size_flags_horizontal = 3 +size_flags_vertical = 6 +tooltip_text = "Частота питающего напряжения" +mouse_filter = 0 +theme_override_font_sizes/font_size = 22 +text = "<нет данных>" horizontal_alignment = 1 vertical_alignment = 1 diff --git a/scenes/pribor-uyep/pribor-uyep.tscn b/scenes/pribor-uyep/pribor-uyep.tscn index ce935bc..fb829cc 100644 --- a/scenes/pribor-uyep/pribor-uyep.tscn +++ b/scenes/pribor-uyep/pribor-uyep.tscn @@ -11,18 +11,16 @@ [node name="pribor_uyep" type="Control"] layout_mode = 3 anchors_preset = 0 -offset_left = 5.0 -offset_top = -125.0 -offset_right = 5.0 -offset_bottom = -125.0 +offset_top = 5.0 +offset_bottom = 5.0 script = ExtResource("1_46rp6") [node name="ref_G1" type="NinePatchRect" parent="."] layout_mode = 0 -offset_left = 150.0 -offset_top = 184.0 -offset_right = 750.0 -offset_bottom = 955.0 +offset_left = 70.0 +offset_top = 303.0 +offset_right = 660.0 +offset_bottom = 1085.0 texture = ExtResource("1_6olof") patch_margin_left = 16 patch_margin_top = 16 @@ -31,10 +29,10 @@ patch_margin_bottom = 16 [node name="lbl_header" type="Label" parent="."] layout_mode = 0 -offset_left = 150.0 -offset_top = 156.0 -offset_right = 705.0 -offset_bottom = 182.0 +offset_left = 75.0 +offset_top = 275.0 +offset_right = 655.0 +offset_bottom = 301.0 theme_override_font_sizes/font_size = 22 text = "Контроль исправности прибора УЭП" horizontal_alignment = 1 @@ -43,20 +41,20 @@ vertical_alignment = 1 [node name="Label" type="Label" parent="."] self_modulate = Color(0.835294, 0.141176, 0.286275, 1) layout_mode = 0 -offset_left = 135.0 -offset_top = 1295.0 -offset_right = 665.0 -offset_bottom = 1314.0 +offset_left = 95.0 +offset_top = 1125.0 +offset_right = 625.0 +offset_bottom = 1144.0 text = "** Позиционные обозначения требуют уточнения **" horizontal_alignment = 1 vertical_alignment = 1 [node name="spt25_A1" parent="." instance=ExtResource("6_60xs3")] layout_mode = 0 -offset_left = 175.0 -offset_top = 210.0 -offset_right = 415.0 -offset_bottom = 620.0 +offset_left = 88.0 +offset_top = 319.0 +offset_right = 328.0 +offset_bottom = 749.0 script = ExtResource("4_v0lil") unit_name = "уарэп-спт25-1" fname = "СПТ-25-230-400" @@ -67,30 +65,30 @@ layout_mode = 0 offset_left = 15.0 offset_top = 35.0 offset_right = 225.0 -offset_bottom = 155.0 +offset_bottom = 161.0 fname = "Сеть 1" [node name="block_input2" parent="spt25_A1" instance=ExtResource("4_mrvir")] layout_mode = 0 offset_left = 15.0 -offset_top = 155.0 +offset_top = 166.0 offset_right = 225.0 -offset_bottom = 275.0 +offset_bottom = 292.0 fname = "Сеть 2" [node name="block_output" parent="spt25_A1" instance=ExtResource("5_x74mk")] layout_mode = 0 offset_left = 15.0 -offset_top = 275.0 +offset_top = 297.0 offset_right = 225.0 -offset_bottom = 367.0 +offset_bottom = 417.0 [node name="spt25_A2" parent="." instance=ExtResource("6_60xs3")] layout_mode = 0 -offset_left = 480.0 -offset_top = 210.0 -offset_right = 720.0 -offset_bottom = 620.0 +offset_left = 403.0 +offset_top = 319.0 +offset_right = 643.0 +offset_bottom = 749.0 script = ExtResource("4_v0lil") unit_name = "уарэп-спт25-2" fname = "СПТ-25-230-400" @@ -101,25 +99,29 @@ layout_mode = 0 offset_left = 15.0 offset_top = 35.0 offset_right = 225.0 -offset_bottom = 155.0 +offset_bottom = 161.0 fname = "Сеть 1" [node name="block_input2" parent="spt25_A2" instance=ExtResource("4_mrvir")] layout_mode = 0 offset_left = 15.0 -offset_top = 155.0 +offset_top = 166.0 offset_right = 225.0 -offset_bottom = 275.0 +offset_bottom = 292.0 fname = "Сеть 2" [node name="block_output" parent="spt25_A2" instance=ExtResource("5_x74mk")] layout_mode = 0 offset_left = 15.0 -offset_top = 275.0 +offset_top = 297.0 offset_right = 225.0 -offset_bottom = 367.0 +offset_bottom = 417.0 [node name="sch3" parent="." instance=ExtResource("7_qu7ja")] -offset_right = 720.0 -offset_bottom = 925.0 -fname = "Управление Щ3" +offset_left = 88.0 +offset_top = 774.0 +offset_right = 633.0 +offset_bottom = 1059.0 +unit_name = "уарэп-щ3" +fname = "Щ3 (контроль и управление питанием)" +rname = "A3" diff --git a/scenes/pribor-uyep/sch3.tscn b/scenes/pribor-uyep/sch3.tscn index da34fc0..2b29647 100644 --- a/scenes/pribor-uyep/sch3.tscn +++ b/scenes/pribor-uyep/sch3.tscn @@ -48,11 +48,9 @@ offset_left = 175.0 offset_top = 640.0 offset_right = 730.0 offset_bottom = 935.0 +tooltip_text = "Состояние и управление прибором Щ3" script = ExtResource("1_ln7ac") textures = [ExtResource("2_ln52a"), ExtResource("3_1yamu"), ExtResource("4_nijdy")] -unit_name = "уарэп-щ3" -fname = "Щ3" -rname = "A3" [node name="rect" type="NinePatchRect" parent="."] layout_mode = 2 @@ -90,24 +88,27 @@ columns = 3 [node name="state" type="TextureRect" parent="margin/vbox/grid"] custom_minimum_size = Vector2(24, 24) layout_mode = 2 +size_flags_horizontal = 4 +size_flags_vertical = 4 +tooltip_text = "Индикатор исправности Щ3" texture = ExtResource("2_ln52a") expand_mode = 1 [node name="fname" type="Label" parent="margin/vbox/grid"] self_modulate = Color(1, 1, 1, 0.627451) layout_mode = 2 -size_flags_horizontal = 3 -size_flags_vertical = 6 +size_flags_horizontal = 7 +size_flags_vertical = 7 theme_override_font_sizes/font_size = 17 -text = "Щ3 - управление питанием " vertical_alignment = 1 [node name="rname" type="Label" parent="margin/vbox/grid"] layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 6 +tooltip_text = "Позиционное обозначение" +mouse_filter = 0 theme_override_font_sizes/font_size = 22 -text = "A3" horizontal_alignment = 2 vertical_alignment = 1 @@ -116,21 +117,25 @@ layout_mode = 2 size_flags_vertical = 6 columns = 9 -[node name="name0" type="Label" parent="margin/vbox/table"] -self_modulate = Color(1, 1, 1, 0.627451) -layout_mode = 2 -theme_override_font_sizes/font_size = 17 -text = "УФ" - [node name="state0" type="TextureRect" parent="margin/vbox/table" groups=["bits_items_good"]] custom_minimum_size = Vector2(24, 24) layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 4 +tooltip_text = "Индикатор исполнения" texture = ExtResource("2_ln52a") expand_mode = 1 metadata/bits = [0, 0, 2, 0] +[node name="name0" type="Label" parent="margin/vbox/table"] +self_modulate = Color(1, 1, 1, 0.627451) +layout_mode = 2 +size_flags_horizontal = 7 +size_flags_vertical = 7 +theme_override_font_sizes/font_size = 17 +text = "УФ" +vertical_alignment = 1 + [node name="switch0" type="CheckButton" parent="margin/vbox/table" groups=["bits_items_switch"]] editor_description = "Питание УФ" material = SubResource("ShaderMaterial_c1mqk") @@ -138,23 +143,28 @@ layout_mode = 2 size_flags_horizontal = 2 tooltip_text = "Выключатель питания УФ" action_mode = 0 +script = ExtResource("7_l6esm") metadata/bits = [0, 0, 2, 0] -[node name="name1" type="Label" parent="margin/vbox/table"] -self_modulate = Color(1, 1, 1, 0.627451) -layout_mode = 2 -theme_override_font_sizes/font_size = 17 -text = "РТР" - [node name="state1" type="TextureRect" parent="margin/vbox/table" groups=["bits_items_good"]] custom_minimum_size = Vector2(24, 24) layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 4 +tooltip_text = "Индикатор исполнения" texture = ExtResource("2_ln52a") expand_mode = 1 metadata/bits = [0, 1, 2, 1] +[node name="name1" type="Label" parent="margin/vbox/table"] +self_modulate = Color(1, 1, 1, 0.627451) +layout_mode = 2 +size_flags_horizontal = 7 +size_flags_vertical = 7 +theme_override_font_sizes/font_size = 17 +text = "РТР" +vertical_alignment = 1 + [node name="switch1" type="CheckButton" parent="margin/vbox/table" groups=["bits_items_switch"]] editor_description = "РТР" material = SubResource("ShaderMaterial_c1mqk") @@ -162,21 +172,27 @@ layout_mode = 2 size_flags_horizontal = 0 tooltip_text = "Выключатель питания РТР" action_mode = 0 +script = ExtResource("7_l6esm") metadata/bits = [0, 1, 2, 1] -[node name="name2" type="Label" parent="margin/vbox/table"] -self_modulate = Color(1, 1, 1, 0.627451) -layout_mode = 2 -theme_override_font_sizes/font_size = 17 -text = "ПРД-Н.1" - [node name="state2" type="TextureRect" parent="margin/vbox/table" groups=["bits_items_good"]] custom_minimum_size = Vector2(24, 24) layout_mode = 2 +size_flags_horizontal = 4 +tooltip_text = "Индикатор исполнения" texture = ExtResource("2_ln52a") expand_mode = 1 metadata/bits = [0, 2, 2, 2] +[node name="name2" type="Label" parent="margin/vbox/table"] +self_modulate = Color(1, 1, 1, 0.627451) +layout_mode = 2 +size_flags_horizontal = 7 +size_flags_vertical = 7 +theme_override_font_sizes/font_size = 17 +text = "ПРД-Н.1" +vertical_alignment = 1 + [node name="switch2" type="CheckButton" parent="margin/vbox/table" groups=["bits_items_switch"]] editor_description = "ПРД-Н.1" material = SubResource("ShaderMaterial_c1mqk") @@ -184,23 +200,28 @@ layout_mode = 2 size_flags_horizontal = 2 tooltip_text = "Выключатель питания ПРД-Н.1" action_mode = 0 +script = ExtResource("7_l6esm") metadata/bits = [0, 2, 2, 2] -[node name="name3" type="Label" parent="margin/vbox/table"] -self_modulate = Color(1, 1, 1, 0.627451) -layout_mode = 2 -theme_override_font_sizes/font_size = 17 -text = "ПРД-Н.2" - [node name="state3" type="TextureRect" parent="margin/vbox/table" groups=["bits_items_good"]] custom_minimum_size = Vector2(24, 24) layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 4 +tooltip_text = "Индикатор исполнения" texture = ExtResource("2_ln52a") expand_mode = 1 metadata/bits = [0, 3, 2, 3] +[node name="name3" type="Label" parent="margin/vbox/table"] +self_modulate = Color(1, 1, 1, 0.627451) +layout_mode = 2 +size_flags_horizontal = 7 +size_flags_vertical = 7 +theme_override_font_sizes/font_size = 17 +text = "ПРД-Н.2" +vertical_alignment = 1 + [node name="switch3" type="CheckButton" parent="margin/vbox/table" groups=["bits_items_switch"]] editor_description = "Питание ПРД-Н.2" material = SubResource("ShaderMaterial_c1mqk") @@ -208,23 +229,28 @@ layout_mode = 2 size_flags_horizontal = 0 tooltip_text = "Выключатель питания ПРД-Н.2" action_mode = 0 +script = ExtResource("7_l6esm") metadata/bits = [0, 3, 2, 3] -[node name="name4" type="Label" parent="margin/vbox/table"] -self_modulate = Color(1, 1, 1, 0.627451) -layout_mode = 2 -theme_override_font_sizes/font_size = 17 -text = "ПРД-Н.3" - [node name="state4" type="TextureRect" parent="margin/vbox/table" groups=["bits_items_good"]] custom_minimum_size = Vector2(24, 24) layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 4 +tooltip_text = "Индикатор исполнения" texture = ExtResource("2_ln52a") expand_mode = 1 metadata/bits = [0, 4, 2, 4] +[node name="name4" type="Label" parent="margin/vbox/table"] +self_modulate = Color(1, 1, 1, 0.627451) +layout_mode = 2 +size_flags_horizontal = 7 +size_flags_vertical = 7 +theme_override_font_sizes/font_size = 17 +text = "ПРД-Н.3" +vertical_alignment = 1 + [node name="switch4" type="CheckButton" parent="margin/vbox/table" groups=["bits_items_switch"]] editor_description = "ПРД-Н.3" material = SubResource("ShaderMaterial_c1mqk") @@ -232,21 +258,28 @@ layout_mode = 2 size_flags_horizontal = 2 tooltip_text = "Выключатель питания ПРД-Н.3" action_mode = 0 +script = ExtResource("7_l6esm") metadata/bits = [0, 4, 2, 4] -[node name="name5" type="Label" parent="margin/vbox/table"] -self_modulate = Color(1, 1, 1, 0.627451) -layout_mode = 2 -theme_override_font_sizes/font_size = 17 -text = "ПРД-Н.4" - [node name="state5" type="TextureRect" parent="margin/vbox/table" groups=["bits_items_good"]] custom_minimum_size = Vector2(24, 24) layout_mode = 2 +size_flags_horizontal = 4 +size_flags_vertical = 4 +tooltip_text = "Индикатор исполнения" texture = ExtResource("2_ln52a") expand_mode = 1 metadata/bits = [0, 5, 2, 5] +[node name="name5" type="Label" parent="margin/vbox/table"] +self_modulate = Color(1, 1, 1, 0.627451) +layout_mode = 2 +size_flags_horizontal = 7 +size_flags_vertical = 7 +theme_override_font_sizes/font_size = 17 +text = "ПРД-Н.4" +vertical_alignment = 1 + [node name="switch5" type="CheckButton" parent="margin/vbox/table" groups=["bits_items_switch"]] editor_description = "ПРД-Н.4" material = SubResource("ShaderMaterial_c1mqk") @@ -254,23 +287,28 @@ layout_mode = 2 size_flags_horizontal = 0 tooltip_text = "Выключатель питания ПРД-Н.4" action_mode = 0 +script = ExtResource("7_l6esm") metadata/bits = [0, 5, 2, 5] -[node name="name6" type="Label" parent="margin/vbox/table"] -self_modulate = Color(1, 1, 1, 0.627451) -layout_mode = 2 -theme_override_font_sizes/font_size = 17 -text = "ПРД-В.1" - [node name="state6" type="TextureRect" parent="margin/vbox/table" groups=["bits_items_good"]] custom_minimum_size = Vector2(24, 24) layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 4 +tooltip_text = "Индикатор исполнения" texture = ExtResource("2_ln52a") expand_mode = 1 metadata/bits = [0, 6, 2, 6] +[node name="name6" type="Label" parent="margin/vbox/table"] +self_modulate = Color(1, 1, 1, 0.627451) +layout_mode = 2 +size_flags_horizontal = 7 +size_flags_vertical = 7 +theme_override_font_sizes/font_size = 17 +text = "ПРД-В.1" +vertical_alignment = 1 + [node name="switch6" type="CheckButton" parent="margin/vbox/table" groups=["bits_items_switch"]] editor_description = "Питание ПРД-В.1" material = SubResource("ShaderMaterial_vdwfd") @@ -278,23 +316,28 @@ layout_mode = 2 size_flags_horizontal = 2 tooltip_text = "Выключатель питания ПРД-В.1" action_mode = 0 +script = ExtResource("7_l6esm") metadata/bits = [0, 6, 2, 6] -[node name="name7" type="Label" parent="margin/vbox/table"] -self_modulate = Color(1, 1, 1, 0.627451) -layout_mode = 2 -theme_override_font_sizes/font_size = 17 -text = "ПРД-В.2" - [node name="state7" type="TextureRect" parent="margin/vbox/table" groups=["bits_items_good"]] custom_minimum_size = Vector2(24, 24) layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 4 +tooltip_text = "Индикатор исполнения" texture = ExtResource("2_ln52a") expand_mode = 1 metadata/bits = [0, 7, 2, 7] +[node name="name7" type="Label" parent="margin/vbox/table"] +self_modulate = Color(1, 1, 1, 0.627451) +layout_mode = 2 +size_flags_horizontal = 7 +size_flags_vertical = 7 +theme_override_font_sizes/font_size = 17 +text = "ПРД-В.2" +vertical_alignment = 1 + [node name="switch7" type="CheckButton" parent="margin/vbox/table" groups=["bits_items_switch"]] editor_description = "ПРД-В.2" material = SubResource("ShaderMaterial_c1mqk") @@ -302,21 +345,28 @@ layout_mode = 2 size_flags_horizontal = 0 tooltip_text = "Выключатель питания ПРД-В.2" action_mode = 0 +script = ExtResource("7_l6esm") metadata/bits = [0, 7, 2, 7] -[node name="name8" type="Label" parent="margin/vbox/table"] -self_modulate = Color(1, 1, 1, 0.627451) -layout_mode = 2 -theme_override_font_sizes/font_size = 17 -text = "ПРД-В.3" - [node name="state8" type="TextureRect" parent="margin/vbox/table" groups=["bits_items_good"]] custom_minimum_size = Vector2(24, 24) layout_mode = 2 +size_flags_horizontal = 4 +size_flags_vertical = 4 +tooltip_text = "Индикатор исполнения" texture = ExtResource("2_ln52a") expand_mode = 1 metadata/bits = [0, 8, 2, 8] +[node name="name8" type="Label" parent="margin/vbox/table"] +self_modulate = Color(1, 1, 1, 0.627451) +layout_mode = 2 +size_flags_horizontal = 7 +size_flags_vertical = 7 +theme_override_font_sizes/font_size = 17 +text = "ПРД-В.3" +vertical_alignment = 1 + [node name="switch8" type="CheckButton" parent="margin/vbox/table" groups=["bits_items_switch"]] editor_description = "ПРД-В.3" material = SubResource("ShaderMaterial_c1mqk") @@ -324,23 +374,28 @@ layout_mode = 2 size_flags_horizontal = 2 tooltip_text = "Выключатель питания ПРД-В.3" action_mode = 0 +script = ExtResource("7_l6esm") metadata/bits = [0, 8, 2, 8] -[node name="name9" type="Label" parent="margin/vbox/table"] -self_modulate = Color(1, 1, 1, 0.627451) -layout_mode = 2 -theme_override_font_sizes/font_size = 17 -text = "ПРД-В.4" - [node name="state9" type="TextureRect" parent="margin/vbox/table" groups=["bits_items_good"]] custom_minimum_size = Vector2(24, 24) layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 4 +tooltip_text = "Индикатор исполнения" texture = ExtResource("2_ln52a") expand_mode = 1 metadata/bits = [0, 9, 2, 9] +[node name="name9" type="Label" parent="margin/vbox/table"] +self_modulate = Color(1, 1, 1, 0.627451) +layout_mode = 2 +size_flags_horizontal = 7 +size_flags_vertical = 7 +theme_override_font_sizes/font_size = 17 +text = "ПРД-В.4" +vertical_alignment = 1 + [node name="switch9" type="CheckButton" parent="margin/vbox/table" groups=["bits_items_switch"]] editor_description = "Питание ПРД-В.4" material = SubResource("ShaderMaterial_c1mqk") @@ -348,23 +403,28 @@ layout_mode = 2 size_flags_horizontal = 0 tooltip_text = "Выключатель питания ПРД-В.4" action_mode = 0 +script = ExtResource("7_l6esm") metadata/bits = [0, 9, 2, 9] -[node name="name10" type="Label" parent="margin/vbox/table"] -self_modulate = Color(1, 1, 1, 0.627451) -layout_mode = 2 -theme_override_font_sizes/font_size = 17 -text = "ПРД-К.1" - [node name="state10" type="TextureRect" parent="margin/vbox/table" groups=["bits_items_good"]] custom_minimum_size = Vector2(24, 24) layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 4 +tooltip_text = "Индикатор исполнения" texture = ExtResource("2_ln52a") expand_mode = 1 metadata/bits = [0, 10, 2, 10] +[node name="name10" type="Label" parent="margin/vbox/table"] +self_modulate = Color(1, 1, 1, 0.627451) +layout_mode = 2 +size_flags_horizontal = 7 +size_flags_vertical = 7 +theme_override_font_sizes/font_size = 17 +text = "ПРД-К.1" +vertical_alignment = 1 + [node name="switch10" type="CheckButton" parent="margin/vbox/table" groups=["bits_items_switch"]] editor_description = "ПРД-К.1" material = SubResource("ShaderMaterial_c1mqk") @@ -372,21 +432,28 @@ layout_mode = 2 size_flags_horizontal = 2 tooltip_text = "Выключатель питания ПРД-К.1" action_mode = 0 +script = ExtResource("7_l6esm") metadata/bits = [0, 10, 2, 10] -[node name="name11" type="Label" parent="margin/vbox/table"] -self_modulate = Color(1, 1, 1, 0.627451) -layout_mode = 2 -theme_override_font_sizes/font_size = 17 -text = "ПРД-К.2" - [node name="state11" type="TextureRect" parent="margin/vbox/table" groups=["bits_items_good"]] custom_minimum_size = Vector2(24, 24) layout_mode = 2 +size_flags_horizontal = 4 +size_flags_vertical = 4 +tooltip_text = "Индикатор исполнения" texture = ExtResource("2_ln52a") expand_mode = 1 metadata/bits = [0, 11, 2, 11] +[node name="name11" type="Label" parent="margin/vbox/table"] +self_modulate = Color(1, 1, 1, 0.627451) +layout_mode = 2 +size_flags_horizontal = 7 +size_flags_vertical = 7 +theme_override_font_sizes/font_size = 17 +text = "ПРД-К.2" +vertical_alignment = 1 + [node name="switch11" type="CheckButton" parent="margin/vbox/table" groups=["bits_items_switch"]] editor_description = "ПРД-К.2" material = SubResource("ShaderMaterial_c1mqk") @@ -394,23 +461,28 @@ layout_mode = 2 size_flags_horizontal = 0 tooltip_text = "Выключатель питания ПРД-К.2" action_mode = 0 +script = ExtResource("7_l6esm") metadata/bits = [0, 11, 2, 11] -[node name="name12" type="Label" parent="margin/vbox/table"] -self_modulate = Color(1, 1, 1, 0.627451) -layout_mode = 2 -theme_override_font_sizes/font_size = 17 -text = "ПРД-К.3" - [node name="state12" type="TextureRect" parent="margin/vbox/table" groups=["bits_items_good"]] custom_minimum_size = Vector2(24, 24) layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 4 +tooltip_text = "Индикатор исполнения" texture = ExtResource("2_ln52a") expand_mode = 1 metadata/bits = [1, 0, 3, 0] +[node name="name12" type="Label" parent="margin/vbox/table"] +self_modulate = Color(1, 1, 1, 0.627451) +layout_mode = 2 +size_flags_horizontal = 7 +size_flags_vertical = 7 +theme_override_font_sizes/font_size = 17 +text = "ПРД-К.3" +vertical_alignment = 1 + [node name="switch12" type="CheckButton" parent="margin/vbox/table" groups=["bits_items_switch"]] editor_description = "Питание ПРД-К.3" material = SubResource("ShaderMaterial_c1mqk") @@ -418,21 +490,28 @@ layout_mode = 2 size_flags_horizontal = 2 tooltip_text = "Выключатель питания ПРД-К.3" action_mode = 0 +script = ExtResource("7_l6esm") metadata/bits = [1, 0, 3, 0] -[node name="name13" type="Label" parent="margin/vbox/table"] -self_modulate = Color(1, 1, 1, 0.627451) -layout_mode = 2 -theme_override_font_sizes/font_size = 17 -text = "ПРД-К.4" - [node name="state13" type="TextureRect" parent="margin/vbox/table" groups=["bits_items_good"]] custom_minimum_size = Vector2(24, 24) layout_mode = 2 +size_flags_horizontal = 4 +size_flags_vertical = 4 +tooltip_text = "Индикатор исполнения" texture = ExtResource("2_ln52a") expand_mode = 1 metadata/bits = [1, 1, 3, 1] +[node name="name13" type="Label" parent="margin/vbox/table"] +self_modulate = Color(1, 1, 1, 0.627451) +layout_mode = 2 +size_flags_horizontal = 7 +size_flags_vertical = 7 +theme_override_font_sizes/font_size = 17 +text = "ПРД-К.4" +vertical_alignment = 1 + [node name="switch13" type="CheckButton" parent="margin/vbox/table" groups=["bits_items_switch"]] editor_description = "ПРД-К.4" material = SubResource("ShaderMaterial_c1mqk") @@ -440,23 +519,28 @@ layout_mode = 2 size_flags_horizontal = 0 tooltip_text = "Выключатель питания ПРД-К.4" action_mode = 0 +script = ExtResource("7_l6esm") metadata/bits = [1, 1, 3, 1] -[node name="name14" type="Label" parent="margin/vbox/table"] -self_modulate = Color(1, 1, 1, 0.627451) -layout_mode = 2 -theme_override_font_sizes/font_size = 17 -text = "Бл. по вент." - [node name="state14" type="TextureRect" parent="margin/vbox/table" groups=["bits_items_good"]] custom_minimum_size = Vector2(24, 24) layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 4 +tooltip_text = "Индикатор исполнения" texture = ExtResource("2_ln52a") expand_mode = 1 metadata/bits = [1, 2, 3, 2] +[node name="name14" type="Label" parent="margin/vbox/table"] +self_modulate = Color(1, 1, 1, 0.627451) +layout_mode = 2 +size_flags_horizontal = 7 +size_flags_vertical = 7 +theme_override_font_sizes/font_size = 17 +text = "Бл. по вент." +vertical_alignment = 1 + [node name="switch14" type="CheckButton" parent="margin/vbox/table" groups=["bits_items_switch"]] editor_description = "Бл. по вент." material = SubResource("ShaderMaterial_c1mqk") @@ -464,23 +548,28 @@ layout_mode = 2 size_flags_horizontal = 2 tooltip_text = "Выключатель блокировки по вентиляции" action_mode = 0 +script = ExtResource("7_l6esm") metadata/bits = [1, 2, 3, 2] -[node name="name15" type="Label" parent="margin/vbox/table"] -self_modulate = Color(1, 1, 1, 0.627451) -layout_mode = 2 -theme_override_font_sizes/font_size = 17 -text = "ДУ" - [node name="state15" type="TextureRect" parent="margin/vbox/table" groups=["bits_items_good"]] custom_minimum_size = Vector2(24, 24) layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 4 +tooltip_text = "Индикатор исполнения" texture = ExtResource("2_ln52a") expand_mode = 1 metadata/bits = [1, 3, 3, 3] +[node name="name15" type="Label" parent="margin/vbox/table"] +self_modulate = Color(1, 1, 1, 0.627451) +layout_mode = 2 +size_flags_horizontal = 7 +size_flags_vertical = 7 +theme_override_font_sizes/font_size = 17 +text = "ДУ" +vertical_alignment = 1 + [node name="switch15" type="CheckButton" parent="margin/vbox/table"] editor_description = "ДУ" layout_mode = 2 @@ -489,19 +578,25 @@ disabled = true button_pressed = true action_mode = 0 -[node name="name16" type="Label" parent="margin/vbox/table"] -self_modulate = Color(1, 1, 1, 0.627451) -layout_mode = 2 -theme_override_font_sizes/font_size = 17 -text = "Вент. РТР" - [node name="state16" type="TextureRect" parent="margin/vbox/table" groups=["bits_items_good"]] custom_minimum_size = Vector2(24, 24) layout_mode = 2 +size_flags_horizontal = 4 +size_flags_vertical = 4 +tooltip_text = "Индикатор исполнения" texture = ExtResource("2_ln52a") expand_mode = 1 metadata/bits = [1, 7, 3, 7] +[node name="name16" type="Label" parent="margin/vbox/table"] +self_modulate = Color(1, 1, 1, 0.627451) +layout_mode = 2 +size_flags_horizontal = 7 +size_flags_vertical = 7 +theme_override_font_sizes/font_size = 17 +text = "Вент. РТР" +vertical_alignment = 1 + [node name="switch16" type="CheckButton" parent="margin/vbox/table"] editor_description = "Вент. РТР" layout_mode = 2 @@ -510,21 +605,25 @@ disabled = true button_pressed = true action_mode = 0 -[node name="name17" type="Label" parent="margin/vbox/table"] -self_modulate = Color(1, 1, 1, 0.627451) -layout_mode = 2 -theme_override_font_sizes/font_size = 17 -text = "Вент. ПРД.1" - [node name="state17" type="TextureRect" parent="margin/vbox/table" groups=["bits_items_good"]] custom_minimum_size = Vector2(24, 24) layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 4 +tooltip_text = "Индикатор исполнения" texture = ExtResource("2_ln52a") expand_mode = 1 metadata/bits = [1, 8, 3, 8] +[node name="name17" type="Label" parent="margin/vbox/table"] +self_modulate = Color(1, 1, 1, 0.627451) +layout_mode = 2 +size_flags_horizontal = 7 +size_flags_vertical = 7 +theme_override_font_sizes/font_size = 17 +text = "Вент. ПРД.1" +vertical_alignment = 1 + [node name="switch17" type="CheckButton" parent="margin/vbox/table"] editor_description = "Вент. ПРД.1" layout_mode = 2 @@ -533,19 +632,23 @@ disabled = true button_pressed = true action_mode = 0 -[node name="name18" type="Label" parent="margin/vbox/table"] -self_modulate = Color(1, 1, 1, 0.627451) -layout_mode = 2 -theme_override_font_sizes/font_size = 17 -text = "Вент. ПРД.2" - [node name="state18" type="TextureRect" parent="margin/vbox/table" groups=["bits_items_good"]] custom_minimum_size = Vector2(24, 24) layout_mode = 2 +tooltip_text = "Индикатор исполнения" texture = ExtResource("2_ln52a") expand_mode = 1 metadata/bits = [1, 9, 3, 9] +[node name="name18" type="Label" parent="margin/vbox/table"] +self_modulate = Color(1, 1, 1, 0.627451) +layout_mode = 2 +size_flags_horizontal = 7 +size_flags_vertical = 7 +theme_override_font_sizes/font_size = 17 +text = "Вент. ПРД.2" +vertical_alignment = 1 + [node name="switch18" type="CheckButton" parent="margin/vbox/table"] editor_description = "Вент. ПРД.2" layout_mode = 2 @@ -554,19 +657,23 @@ disabled = true button_pressed = true action_mode = 0 -[node name="name19" type="Label" parent="margin/vbox/table"] -self_modulate = Color(1, 1, 1, 0.627451) -layout_mode = 2 -theme_override_font_sizes/font_size = 17 -text = "Вент. ПРД.3" - [node name="state19" type="TextureRect" parent="margin/vbox/table" groups=["bits_items_good"]] custom_minimum_size = Vector2(24, 24) layout_mode = 2 +tooltip_text = "Индикатор исполнения" texture = ExtResource("2_ln52a") expand_mode = 1 metadata/bits = [1, 10, 3, 10] +[node name="name19" type="Label" parent="margin/vbox/table"] +self_modulate = Color(1, 1, 1, 0.627451) +layout_mode = 2 +size_flags_horizontal = 7 +size_flags_vertical = 7 +theme_override_font_sizes/font_size = 17 +text = "Вент. ПРД.3" +vertical_alignment = 1 + [node name="switch19" type="CheckButton" parent="margin/vbox/table"] editor_description = "Вент. ПРД.3" layout_mode = 2 @@ -575,19 +682,23 @@ disabled = true button_pressed = true action_mode = 0 -[node name="name20" type="Label" parent="margin/vbox/table"] -self_modulate = Color(1, 1, 1, 0.627451) -layout_mode = 2 -theme_override_font_sizes/font_size = 17 -text = "Вент. ПРД.4" - [node name="state20" type="TextureRect" parent="margin/vbox/table" groups=["bits_items_good"]] custom_minimum_size = Vector2(24, 24) layout_mode = 2 +tooltip_text = "Индикатор исполнения" texture = ExtResource("2_ln52a") expand_mode = 1 metadata/bits = [1, 11, 3, 11] +[node name="name20" type="Label" parent="margin/vbox/table"] +self_modulate = Color(1, 1, 1, 0.627451) +layout_mode = 2 +size_flags_horizontal = 7 +size_flags_vertical = 7 +theme_override_font_sizes/font_size = 17 +text = "Вент. ПРД.4" +vertical_alignment = 1 + [node name="switch20" type="CheckButton" parent="margin/vbox/table"] editor_description = "Вент. ПРД.4" layout_mode = 2 @@ -598,23 +709,37 @@ action_mode = 0 [node name="grid1" type="GridContainer" parent="margin/vbox"] layout_mode = 2 +size_flags_horizontal = 0 size_flags_vertical = 8 -columns = 2 +columns = 3 -[node name="lbl1" type="Label" parent="margin/vbox/grid1"] +[node name="state_freq" type="TextureRect" parent="margin/vbox/grid1"] +custom_minimum_size = Vector2(24, 24) +layout_mode = 2 +size_flags_horizontal = 2 +size_flags_vertical = 4 +tooltip_text = "Индикатор допуска входного напряжения" +texture = ExtResource("2_ln52a") +expand_mode = 1 +metadata/bits = [0, 0, 2, 0] + +[node name="lbl0" type="Label" parent="margin/vbox/grid1"] self_modulate = Color(1, 1, 1, 0.627451) layout_mode = 2 -size_flags_horizontal = 3 +size_flags_horizontal = 0 theme_override_font_sizes/font_size = 17 text = "Частота, Гц:" -horizontal_alignment = 2 +horizontal_alignment = 1 [node name="lbl_freq" type="Label" parent="margin/vbox/grid1"] layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 6 +tooltip_text = "Частота питающего напряжения" +mouse_filter = 0 theme_override_font_sizes/font_size = 22 text = "<нет данных>" +horizontal_alignment = 1 vertical_alignment = 1 [connection signal="resized" from="." to="." method="_on_resized"] diff --git a/scenes/контроль/элемент-я.tscn b/scenes/контроль/элемент-я.tscn index f7d45d4..8303e5a 100644 --- a/scenes/контроль/элемент-я.tscn +++ b/scenes/контроль/элемент-я.tscn @@ -88,6 +88,8 @@ columns = 3 [node name="state" type="TextureRect" parent="margin/vbox/grid"] custom_minimum_size = Vector2(24, 24) layout_mode = 2 +size_flags_horizontal = 4 +size_flags_vertical = 4 texture = ExtResource("3_dktys") expand_mode = 1