Исправления. Состояние линии связи с приборами для передачи в 5П-28.

This commit is contained in:
MaD_CaT
2026-02-10 11:12:54 +03:00
parent 996aee4a17
commit 1a08b5ae50

View File

@@ -224,7 +224,7 @@ class TCP5P28 extends unit.Unit:
func pribor_line_changed(u, key):
uarep_state = tools.set_bit(uarep_state, PR_STATE[key][0], u.online)
uarep_line = tools.set_bit(uarep_state, PR_STATE[key][1], u.online)
uarep_line = tools.set_bit(uarep_line, PR_STATE[key][1], u.online)
func _to_string() -> String: return String('5П-28: "%s" %s ' % [self.name, ['отключен', 'на связи'][int(online)]])