mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-04-13 02:13:36 +00:00
interface with array
This commit is contained in:
parent
bd6ae68ea3
commit
5cddcf69d7
4 changed files with 22 additions and 25 deletions
|
|
@ -1,23 +1,19 @@
|
|||
Übergabe an Plugin:
|
||||
|
||||
Typ = FMS, ZVEI oder POC
|
||||
Frequenz = Frequenz in Hz
|
||||
daten[] als Python List
|
||||
|
||||
ZVEI:
|
||||
=====
|
||||
typ = zvei
|
||||
frequenz= empfangsfrequenz
|
||||
data1 = zvei code
|
||||
data2 =
|
||||
data3 =
|
||||
- ZVEI code
|
||||
|
||||
FMS:
|
||||
====
|
||||
typ = fms
|
||||
frequenz= empfangsfrequenz
|
||||
data1 = fms kennung
|
||||
data2 = status
|
||||
data3 = richtung
|
||||
- FMS Kennung
|
||||
- Status
|
||||
- Richtung
|
||||
- TKI
|
||||
|
||||
POCSAG 1200:
|
||||
============
|
||||
typ = poc1200
|
||||
frequenz= empfangsfrequenz
|
||||
data1 = ric
|
||||
data2 = sub_ric
|
||||
data3 = text
|
||||
POCSAG:
|
||||
- RIC
|
||||
- Sub RIC
|
||||
- Text
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
import logging
|
||||
|
||||
def run(typ,frequenz,data1,data2,data3):
|
||||
def run(typ,frequenz,daten):
|
||||
logging.debug("Throw Template Plugin")
|
||||
try:
|
||||
logging.info("ZVEI: %s wurde empfangen!", daten[0])
|
||||
logging.debug("try 5/0")
|
||||
test = 5/0
|
||||
except:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue