From 5eef1621e08ed18cbf195975a632fe3118edf300 Mon Sep 17 00:00:00 2001 From: "Robin.Mueller" <robin.mueller.m@gmail.com> Date: Tue, 10 Mar 2020 00:21:58 +0100 Subject: [PATCH] some tiny formatting changes --- comIF/OBSW_ComInterface.py | 8 +++++--- comIF/OBSW_DummyComIF.py | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/comIF/OBSW_ComInterface.py b/comIF/OBSW_ComInterface.py index 50112a2..718f4d7 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 6ad9351..15e5ea4 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 -- GitLab