mirror of
https://github.com/ShaYmez/HBmonitor.git
synced 2024-11-26 01:39:01 -05:00
Update monitor.py
This commit is contained in:
parent
a87be3e2ee
commit
4d2ae5db0b
10
monitor.py
10
monitor.py
@ -469,19 +469,9 @@ def rts_update(p):
|
|||||||
color = BLACK
|
color = BLACK
|
||||||
|
|
||||||
if action == 'START':
|
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]['TS'] = True
|
||||||
CTABLE['PEERS'][system][timeSlot]['COLOR'] = color
|
CTABLE['PEERS'][system][timeSlot]['COLOR'] = color
|
||||||
CTABLE['PEERS'][system][timeSlot]['BGCOLOR'] = bgcolor
|
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]['SRC'] = sourcePeer
|
||||||
CTABLE['PEERS'][system][timeSlot]['DEST'] = '{} ({})'.format(alias_tgid(destination,talkgroup_ids),destination)
|
CTABLE['PEERS'][system][timeSlot]['DEST'] = '{} ({})'.format(alias_tgid(destination,talkgroup_ids),destination)
|
||||||
|
Loading…
Reference in New Issue
Block a user