mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2025-12-06 07:12:04 +01:00
changed var-names
This commit is contained in:
parent
96cb967bb7
commit
24899f3d08
|
|
@ -67,7 +67,7 @@ class InputBase(ABC):
|
|||
print(data)
|
||||
|
||||
def getDecoderInstance(self, decoderConfig, StdIn):
|
||||
mmProc = ProcessManager(str(decoderConfig.get("Path", default="multimon-ng")), textMode=True)
|
||||
mmProc = ProcessManager(str(decoderConfig.get("path", default="multimon-ng")), textMode=True)
|
||||
if decoderConfig.get("fms", default=0):
|
||||
mmProc.addArgument("-a FMSFSK")
|
||||
if decoderConfig.get("zvei", default=0):
|
||||
|
|
@ -78,8 +78,8 @@ class InputBase(ABC):
|
|||
mmProc.addArgument("-a POCSAG1200")
|
||||
if decoderConfig.get("poc2400", default=0):
|
||||
mmProc.addArgument("-a POCSAG2400")
|
||||
if decoderConfig.get("Char", default=0):
|
||||
mmProc.addArgument("-C " + str(decoderConfig.get("Char")))
|
||||
if decoderConfig.get("char", default=0):
|
||||
mmProc.addArgument("-C " + str(decoderConfig.get("char")))
|
||||
mmProc.addArgument("-f alpha")
|
||||
mmProc.addArgument("-t raw -")
|
||||
mmProc.setStdin(StdIn)
|
||||
|
|
|
|||
|
|
@ -38,4 +38,4 @@ decoder:
|
|||
poc1200: yes
|
||||
poc2400: yes
|
||||
Path: /opt/multimon/multimon-ng
|
||||
Char: DE
|
||||
char: DE
|
||||
|
|
|
|||
|
|
@ -140,8 +140,8 @@ inputSource:
|
|||
|poc512|POCSAG Decoder (Bitrate 512)|no|
|
||||
|poc1200|POCSAG Decoder (Bitrate 1200)|no|
|
||||
|poc2400|POCSAG Decoder (Bitrate 2400)|no|
|
||||
|Path|Pfad zur multimon-ng Binary|multimon-ng|
|
||||
|Char|multimon-ng Char-Set|not set|
|
||||
|path|Pfad zur multimon-ng Binary|multimon-ng|
|
||||
|char|multimon-ng char-Set|not set|
|
||||
|
||||
**Beispiel:**
|
||||
```yaml
|
||||
|
|
@ -151,8 +151,8 @@ decoder:
|
|||
poc512: no
|
||||
poc1200: no
|
||||
poc2400: yes
|
||||
Path: /opt/multimon/multimon-ng
|
||||
Char: DE
|
||||
path: /opt/multimon/multimon-ng
|
||||
char: DE
|
||||
```
|
||||
|
||||
---
|
||||
|
|
|
|||
Loading…
Reference in a new issue