mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-01-29 11:24:23 +01:00
edit Interface.txt
This commit is contained in:
parent
f02d306082
commit
3b66a1d952
|
|
@ -82,6 +82,31 @@ Global Functions for plugins:
|
|||
-----------------------------
|
||||
from includes import helper #Global helper functions
|
||||
|
||||
#for format see https://docs.python.org/2/library/time.html#time.strftime
|
||||
#without format string the function returns with: %d.%m.%Y %H:%M:%S
|
||||
|
||||
# for format see https://docs.python.org/2/library/time.html#time.strftime
|
||||
# without format string the function returns with: %d.%m.%Y %H:%M:%S
|
||||
#
|
||||
helper.curtime("FORMAT")
|
||||
|
||||
|
||||
# replace all the standard wildcards in the given text
|
||||
# the function needs the data[] var
|
||||
# %TIME% = Time (by script)
|
||||
# %DATE% = Date (by script)
|
||||
#
|
||||
# %FMS% = FMS Code
|
||||
# %STATUS% = FMS Status
|
||||
# %DIR% = Direction of the telegram (0/1)
|
||||
# %DIRT% = Direction of the telegram (Text-String)
|
||||
# %TSI% = Tactical Short Information (I-IV)
|
||||
#
|
||||
# %ZVEI% = ZVEI 5-tone Code
|
||||
#
|
||||
# %RIC% = Pocsag RIC
|
||||
# %FUNC% = Pocsac function/Subric (1-4)
|
||||
# %FUNCCHAR% = Pocsac function/Subric als character (a-d)
|
||||
# %MSG% = Message of the Pocsag telegram
|
||||
# %BITRATE% = Bitrate of the Pocsag telegram
|
||||
# %DESCR% = Description from csv-file
|
||||
#
|
||||
helper.replaceWildcards("TEXT",data[])
|
||||
|
|
|
|||
Loading…
Reference in a new issue