openwebrx-clone/csdr/module.py
2021-09-01 15:08:28 +02:00

15 lines
354 B
Python

import pycsdr.modules
class Module(pycsdr.modules.Module):
def __init__(self):
self.reader = None
self.writer = None
super().__init__()
def setReader(self, reader: pycsdr.modules.Reader) -> None:
self.reader = reader
def setWriter(self, writer: pycsdr.modules.Writer) -> None:
self.writer = writer