Рефактор цвета результата контроля

This commit is contained in:
Maxim
2025-08-26 09:39:15 +03:00
parent a1bf7d1081
commit 9cc9b834d8
8 changed files with 55 additions and 15 deletions

View File

@@ -166,8 +166,8 @@ func on_mode_changed(in_tree: bool) -> void:
func power_fill(pow_dic: Dictionary) -> void:
if not control_prd_k.block_kasseta_y5_config.yau07 or not control_prd_k.block_kasseta_y5_config.ukp1 or not control_prd_k.block_kasseta_y5_config.ukp2:
return
#if not control_prd_k.block_kasseta_y5_config.yau07 or not control_prd_k.block_kasseta_y5_config.ukp1 or not control_prd_k.block_kasseta_y5_config.ukp2:
#return
var power_amplifier: Array = get_tree().get_nodes_in_group('power_amplifier')
for i_powapm in power_amplifier:
var powamp_meta: String = i_powapm.get_meta('um')

View File

@@ -94,6 +94,7 @@ offset_left = 485.0
offset_top = 242.0
offset_right = 652.0
offset_bottom = 337.0
animation_duration = null
value0 = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
fname = "УМ1535Б"
rname = "A10"
@@ -107,6 +108,7 @@ offset_left = 485.0
offset_top = 337.0
offset_right = 652.0
offset_bottom = 432.0
animation_duration = null
fname = "УМ1535Б"
rname = "A11"
value0_info = "Мощность, Вт"
@@ -119,6 +121,7 @@ offset_left = 485.0
offset_top = 432.0
offset_right = 652.0
offset_bottom = 527.0
animation_duration = null
fname = "УМ1535Б"
rname = "A12"
value0_info = "Мощность, Вт"
@@ -131,6 +134,7 @@ offset_left = 485.0
offset_top = 527.0
offset_right = 652.0
offset_bottom = 622.0
animation_duration = null
fname = "УМ1535Б"
rname = "A13"
value0_info = "Мощность, Вт"
@@ -143,6 +147,7 @@ offset_left = 485.0
offset_top = 622.0
offset_right = 652.0
offset_bottom = 717.0
animation_duration = null
fname = "УМ1535Б"
rname = "A14"
value0_info = "Мощность, Вт"
@@ -155,6 +160,7 @@ offset_left = 485.0
offset_top = 717.0
offset_right = 652.0
offset_bottom = 812.0
animation_duration = null
fname = "УМ1535Б"
rname = "A15"
value0_info = "Мощность, Вт"
@@ -167,6 +173,7 @@ offset_left = 485.0
offset_top = 812.0
offset_right = 652.0
offset_bottom = 907.0
animation_duration = null
fname = "УТМ80"
rname = "A9"
value0_info = "Мощность, Вт"
@@ -179,6 +186,7 @@ offset_left = 8.0
offset_top = 242.0
offset_right = 175.0
offset_bottom = 337.0
animation_duration = null
fname = "УМ1535Б"
rname = "A16"
value0_info = "Мощность, Вт"
@@ -191,6 +199,7 @@ offset_left = 8.0
offset_top = 337.0
offset_right = 173.0
offset_bottom = 432.0
animation_duration = null
fname = "УМ1535Б"
rname = "A17"
value0_info = "Мощность, Вт"
@@ -203,6 +212,7 @@ offset_left = 8.0
offset_top = 432.0
offset_right = 175.0
offset_bottom = 527.0
animation_duration = null
fname = "УМ1535Б"
rname = "A18"
value0_info = "Мощность, Вт"
@@ -215,6 +225,7 @@ offset_left = 8.0
offset_top = 527.0
offset_right = 175.0
offset_bottom = 622.0
animation_duration = null
fname = "УМ1535Б"
rname = "A19"
value0_info = "Мощность, Вт"
@@ -227,6 +238,7 @@ offset_left = 8.0
offset_top = 622.0
offset_right = 175.0
offset_bottom = 717.0
animation_duration = null
fname = "УМ1535Б"
rname = "A20"
value0_info = "Мощность, Вт"
@@ -239,6 +251,7 @@ offset_left = 8.0
offset_top = 717.0
offset_right = 175.0
offset_bottom = 812.0
animation_duration = null
fname = "УМ1535Б"
rname = "A21"
value0_info = "Мощность, Вт"
@@ -319,8 +332,6 @@ offset_left = 9.0
offset_top = 960.0
offset_right = 649.0
offset_bottom = 1003.0
theme_override_colors/font_color = Color(0.862745, 0.0784314, 0.235294, 1)
theme_override_font_sizes/font_size = 28
text = "Прибор ПРД- неисправен"
horizontal_alignment = 1
metadata/_edit_lock_ = true