minor corrections

This commit is contained in:
Robin Müller 2021-03-19 17:42:36 +01:00
parent 27c1da4f77
commit e06bb91f08
4 changed files with 12 additions and 9 deletions

View File

@ -13,7 +13,7 @@ from tmtccmd.core.hook_base import TmTcHookBase
from tmtccmd.utility.tmtc_printer import TmTcPrinter
class SourceHookBase(TmTcHookBase):
class EiveHookObject(TmTcHookBase):
def get_version(self) -> str:
from config.version import SW_NAME, VERSION_MAJOR, VERSION_MINOR, VERSION_SUBMINOR

View File

@ -1,4 +1 @@
crcmod>=1.7
PyQt5>=5.15.1
PyQt5-stubs>=5.14.2.2
pyserial>=3.4
tmtccmd>=1.0.0

View File

@ -26,11 +26,14 @@ limitations under the License.
@author R. Mueller
"""
from tmtccmd.tmtcc_runner import run_tmtc_client
from tmtccmd.runner import initialize_tmtc_commander, run_tmtc_commander
from config.hook_implementations import EiveHookObject
def main():
run_tmtc_client(False)
hook_obj = EiveHookObject()
initialize_tmtc_commander(hook_object=hook_obj)
run_tmtc_commander(False)
if __name__ == "__main__":

View File

@ -26,11 +26,14 @@ limitations under the License.
@author R. Mueller
"""
from tmtccmd.tmtcc_runner import run_tmtc_client
from config.hook_implementations import EiveHookObject
from tmtccmd.runner import initialize_tmtc_commander, run_tmtc_commander
def main():
run_tmtc_client(True)
hook_obj = EiveHookObject()
initialize_tmtc_commander(hook_object=hook_obj)
run_tmtc_commander(True)
if __name__ == "__main__":