Регрессия

This commit is contained in:
sasha80
2025-08-20 08:15:48 +03:00
parent cb367a0777
commit 74f0e63352
3 changed files with 5 additions and 4 deletions

View File

@@ -1,3 +1,4 @@
@tool
class_name pribor_afsp extends 'res://scenes/контроль/прибор.gd'
@export var prefix_path: String = 'DeviceDescripton[DeviceName]'

View File

@@ -123,7 +123,7 @@ func on_state_mashine() -> void:
var new_state = fs_results[fs_meta]
f.state = new_state
fs_results[fs_meta] = new_state
var dkm: Dictionary = control_prd_k.block_dkm_config
if control_prd_k.current_fs == 1 and fs_results.fs_1:
$kasseta_fs_kd/ref_A2.state = STATE_VAL.GOOD if dkm.dkm_1 else STATE_VAL.ERROR
@@ -136,7 +136,7 @@ func on_state_mashine() -> void:
#return
if 1 == 1:
return
var node_arr_power: Array = get_tree().get_nodes_in_group('power_amplifier')
for i_pow in node_arr_power.size():
if i_pow < 1:

View File

@@ -106,7 +106,7 @@ func on_state_mashine() -> void:
var new_state = fs_results[fs_meta]
f.state = new_state
fs_results[fs_meta] = new_state
var dkm: Dictionary = control_prd_v.block_dkm_config
if control_prd_v.current_fs == 4 and fs_results.fs_4:
$kasseta_FS_VD/ref_A2.state = STATE_VAL.GOOD if dkm.dkm_4 else STATE_VAL.ERROR
@@ -117,7 +117,7 @@ func on_state_mashine() -> void:
#return
if 1 == 1:
return
var node_arr_power: Array = get_tree().get_nodes_in_group('power_amplifier')
for i_pow in node_arr_power.size():
if i_pow < 6: