Исправления. Состояние линии связи с приборами для передачи в 5П-28.
This commit is contained in:
@@ -224,7 +224,7 @@ class TCP5P28 extends unit.Unit:
|
|||||||
|
|
||||||
func pribor_line_changed(u, key):
|
func pribor_line_changed(u, key):
|
||||||
uarep_state = tools.set_bit(uarep_state, PR_STATE[key][0], u.online)
|
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)]])
|
func _to_string() -> String: return String('5П-28: "%s" %s ' % [self.name, ['отключен', 'на связи'][int(online)]])
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user