From da4972a6243e792075c8a22d157caaa6731528f0 Mon Sep 17 00:00:00 2001
From: "Robin.Mueller" <robin.mueller.m@gmail.com>
Date: Thu, 9 Apr 2020 16:04:01 +0200
Subject: [PATCH] added todo list with possible improvement

---
 obsw_tmtc_client.py | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/obsw_tmtc_client.py b/obsw_tmtc_client.py
index 5c314b7..ac39fc0 100644
--- a/obsw_tmtc_client.py
+++ b/obsw_tmtc_client.py
@@ -82,7 +82,13 @@ from gui.OBSW_BackendTest import TmTcBackend
 
 def main():
     """
-    Runs the TMTC client, depending on input arguments
+    Runs the TMTC client, depending on input arguments.
+    TODO: The whole code below could ba packed into a class too.
+          If a backend/frontend architecture is to be implemented, this will make things easier
+          We propably instantiate all sender/receiver objects (or maybe instantiate them once
+          we need them) on object construction. The main could spawn a process for the frontend
+          (e.g. GUI or web interface) and a process for the backend (the sender/receiver classes,
+          passing values to a SQL database, loading the MIB database...)
     :return:
     """
     args = parse_input_arguments()
-- 
GitLab