настройка мимикрии

This commit is contained in:
2025-02-21 10:22:09 +03:00
parent 8ccee569b3
commit 7a084d04e4
3 changed files with 60 additions and 43 deletions

View File

@@ -160,7 +160,6 @@ func _on_yau_received(status_yau):
func _status_prd():
var status: int = 0
for i in range(10):
print([node_cell_ind[i].state, i])
status += 1 if (node_cell_ind[i].state == Constants.STATE_VAL.GOOD) else 0
for i in range(12, count_cell-2):
status += 1 if (node_cell_ind[i].state == Constants.STATE_VAL.GOOD) else 0
@@ -173,7 +172,6 @@ func _status_prd():
status += 1 if (node_cell_ind[18].state == Constants.STATE_VAL.GOOD) else 0
if (status == count_cell-7):
print(status)
#$lbl_control.text = 'Прибор исправен'
#$lbl_control.modulate = Color.AQUAMARINE
emit_signal('signal_on_start_timer_03')