mirror of
https://github.com/ShaYmez/HBmonitor.git
synced 2024-11-22 07:54:53 -05:00
Update monitor.py
This commit is contained in:
parent
a87be3e2ee
commit
4d2ae5db0b
12
monitor.py
12
monitor.py
@ -469,20 +469,10 @@ def rts_update(p):
|
||||
color = BLACK
|
||||
|
||||
if action == 'START':
|
||||
if destination == 9 and sourcePeer == 2602122:
|
||||
CTABLE['PEERS'][system][timeSlot]['TS'] = False
|
||||
CTABLE['PEERS'][system][timeSlot]['COLOR'] = BLACK
|
||||
CTABLE['PEERS'][system][timeSlot]['BGCOLOR'] = WHITE2
|
||||
CTABLE['PEERS'][system][timeSlot]['TYPE'] = ''
|
||||
CTABLE['PEERS'][system][timeSlot]['SUB'] = ''
|
||||
CTABLE['PEERS'][system][timeSlot]['SRC'] = ''
|
||||
CTABLE['PEERS'][system][timeSlot]['DEST'] = ''
|
||||
else:
|
||||
CTABLE['PEERS'][system][timeSlot]['TS'] = True
|
||||
CTABLE['PEERS'][system][timeSlot]['COLOR'] = color
|
||||
CTABLE['PEERS'][system][timeSlot]['BGCOLOR'] = bgcolor
|
||||
# CTABLE['PEERS'][system][timeSlot]['TYPE'] = callType[6:]
|
||||
CTABLE['PEERS'][system][timeSlot]['SUB'] = '{} ({})'.format(alias_short(sourceSub, subscriber_ids), sourceSub)
|
||||
CTABLE['PEERS'][system][timeSlot]['SUB'] = '{} ({})'.format(alias_short(sourceSub,subscriber_ids),sourceSub)
|
||||
CTABLE['PEERS'][system][timeSlot]['SRC'] = sourcePeer
|
||||
CTABLE['PEERS'][system][timeSlot]['DEST'] = '{} ({})'.format(alias_tgid(destination,talkgroup_ids),destination)
|
||||
if action == 'END':
|
||||
|
Loading…
Reference in New Issue
Block a user