minor corrections
This commit is contained in:
parent
27c1da4f77
commit
e06bb91f08
@ -13,7 +13,7 @@ from tmtccmd.core.hook_base import TmTcHookBase
|
|||||||
from tmtccmd.utility.tmtc_printer import TmTcPrinter
|
from tmtccmd.utility.tmtc_printer import TmTcPrinter
|
||||||
|
|
||||||
|
|
||||||
class SourceHookBase(TmTcHookBase):
|
class EiveHookObject(TmTcHookBase):
|
||||||
|
|
||||||
def get_version(self) -> str:
|
def get_version(self) -> str:
|
||||||
from config.version import SW_NAME, VERSION_MAJOR, VERSION_MINOR, VERSION_SUBMINOR
|
from config.version import SW_NAME, VERSION_MAJOR, VERSION_MINOR, VERSION_SUBMINOR
|
||||||
|
@ -1,4 +1 @@
|
|||||||
crcmod>=1.7
|
tmtccmd>=1.0.0
|
||||||
PyQt5>=5.15.1
|
|
||||||
PyQt5-stubs>=5.14.2.2
|
|
||||||
pyserial>=3.4
|
|
||||||
|
@ -26,11 +26,14 @@ limitations under the License.
|
|||||||
|
|
||||||
@author R. Mueller
|
@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():
|
def main():
|
||||||
run_tmtc_client(False)
|
hook_obj = EiveHookObject()
|
||||||
|
initialize_tmtc_commander(hook_object=hook_obj)
|
||||||
|
run_tmtc_commander(False)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
@ -26,11 +26,14 @@ limitations under the License.
|
|||||||
|
|
||||||
@author R. Mueller
|
@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():
|
def main():
|
||||||
run_tmtc_client(True)
|
hook_obj = EiveHookObject()
|
||||||
|
initialize_tmtc_commander(hook_object=hook_obj)
|
||||||
|
run_tmtc_commander(True)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user