mirror of
https://github.com/ShaYmez/HBmonitor.git
synced 2024-12-22 17:45:37 -05:00
Update web_tables.py
This commit is contained in:
parent
604f9ec1e6
commit
1486d7cda4
@ -422,12 +422,14 @@ def rts_update(p):
|
||||
CTABLE['MASTERS'][system]['PEERS'][peer][timeSlot]['DEST'] = ''
|
||||
|
||||
if system in CTABLE['OPENBRIDGES']:
|
||||
|
||||
if not CTABLE['OPENBRIDGES'][system]['STREAMS']:
|
||||
CTABLE['OPENBRIDGES'][system]['BGCOLOR'] = WHITE
|
||||
CTABLE['OPENBRIDGES'][system]['COLOR'] = BLACK
|
||||
else:
|
||||
CTABLE['OPENBRIDGES'][system]['BGCOLOR'] = YELLOW
|
||||
CTABLE['OPENBRIDGES'][system]['COLOR'] = BLACK
|
||||
if action == 'START':
|
||||
CTABLE['OPENBRIDGES'][system]['STREAMS'][streamId] = (trx, alias_call(sourceSub, subscriber_ids),'{}'.format(alias_tgid(destination,talkgroup_ids)))
|
||||
CTABLE['OPENBRIDGES'][system]['STREAMS'][streamId] = (trx, alias_call(sourceSub, subscriber_ids),'TG{}'.format(destination))
|
||||
CTABLE['OPENBRIDGES'][system]['BGCOLOR'] = YELLOW
|
||||
CTABLE['OPENBRIDGES'][system]['COLOR'] = BLACK
|
||||
if action == 'END':
|
||||
|
Loading…
Reference in New Issue
Block a user