diff --git a/comIF/OBSW_ComInterface.py b/comIF/OBSW_ComInterface.py index 50112a2fd95fd944c3729268850c337731c0600c..718f4d7edd1e18aaeba9dd49b45a0ee04f797589 100644 --- a/comIF/OBSW_ComInterface.py +++ b/comIF/OBSW_ComInterface.py @@ -17,7 +17,6 @@ class CommunicationInterface: def __init__(self, tmtcPrinter): self.tmtcPrinter = tmtcPrinter - # Send Telecommand @abstractmethod def sendTelecommand(self, tcPacket, tcPacketInfo="") -> None: """ @@ -28,7 +27,6 @@ class CommunicationInterface: """ pass - # Receive telemetry and process it @abstractmethod def receiveTelemetry(self, parameters=0): """ @@ -49,9 +47,13 @@ class CommunicationInterface: """ pass - # Check whether data is available @abstractmethod def dataAvailable(self, parameters): + """ + Check whether data is available + :param parameters: + :return: + """ pass # Receive Telemetry and store it into a queue diff --git a/comIF/OBSW_DummyComIF.py b/comIF/OBSW_DummyComIF.py index 6ad9351df97654a09e29c5bd50b0ccc8aa779029..15e5ea437902489e2d33a60e32cf9701076ef70d 100644 --- a/comIF/OBSW_DummyComIF.py +++ b/comIF/OBSW_DummyComIF.py @@ -10,7 +10,7 @@ from typing import Tuple from comIF.OBSW_ComInterface import CommunicationInterface -class Dummy_ComIF(CommunicationInterface): +class DummyComIF(CommunicationInterface): def dataAvailable(self, parameters): pass