настройка мимикрии
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user