Skip to content
Snippets Groups Projects
Commit 16023d33 authored by Mattia Mancini's avatar Mattia Mancini
Browse files

OSB-34: fix polarization rcu association

parent 28e43c63
No related branches found
No related tags found
2 merge requests!89Monitoring maintenance Epic branch merge,!1Resolve OSB-13 "Monitoringmaintenance "
......@@ -924,13 +924,13 @@ class ControllerStationComponentElementErrors(ValidableReadOnlyView):
if type == 'LBH':
rcu_id = antenna_id * 2
rcu_id += 1 if polarization == 'X' else 0
rcu_id += 0 if polarization == 'X' else 1
elif type == 'LBL':
rcu_id = (antenna_id - 48) * 2
rcu_id += 0 if polarization == 'X' else 1
rcu_id += 1 if polarization == 'X' else 0
elif type == 'HBA':
rcu_id = antenna_id
rcu_id += 1 if polarization == 'X' else 0
rcu_id += 0 if polarization == 'X' else 1
else:
rcu_id = -1
return rcu_id
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment