js8 slow mode (attempt?)
This commit is contained in:
16
owrx/js8.py
16
owrx/js8.py
@ -6,16 +6,14 @@ from js8py.frames import Js8FrameHeartbeat, Js8FrameCompound
|
||||
from owrx.map import Map, LocatorLocation
|
||||
from owrx.pskreporter import PskReporter
|
||||
from owrx.metrics import Metrics, CounterMetric
|
||||
from abc import ABCMeta
|
||||
|
||||
import logging
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class Js8NormalProfile(AudioChopperProfile):
|
||||
def getInterval(self):
|
||||
return 15
|
||||
|
||||
class Js8Profile(AudioChopperProfile, metaclass=ABCMeta):
|
||||
def getFileTimestampFormat(self):
|
||||
return "%y%m%d_%H%M%S"
|
||||
|
||||
@ -23,6 +21,16 @@ class Js8NormalProfile(AudioChopperProfile):
|
||||
return ["js8", "--js8", "-d", str(self.decoding_depth("js8")), file]
|
||||
|
||||
|
||||
class Js8NormalProfile(Js8Profile):
|
||||
def getInterval(self):
|
||||
return 15
|
||||
|
||||
|
||||
class Js8SlowProfile(Js8Profile):
|
||||
def getInterval(self):
|
||||
return 30
|
||||
|
||||
|
||||
class Js8Parser(Parser):
|
||||
decoderRegex = re.compile(" ?<Decode(Started|Debug|Finished)>")
|
||||
|
||||
|
Reference in New Issue
Block a user