changes for updated tmtccmd
This commit is contained in:
@@ -8,6 +8,8 @@ from tmtccmd.config.definitions import (
|
||||
)
|
||||
from tmtccmd.tm.service_3_base import Service3Base
|
||||
from tmtccmd.tc.definitions import TcQueueT
|
||||
from tmtccmd.utility.retval import RetvalDictT
|
||||
from tmtccmd.pus.obj_id import ObjectIdDictT
|
||||
from tmtccmd.com_if.com_interface_base import CommunicationInterface
|
||||
from tmtccmd.core.backend import TmTcHandler
|
||||
from tmtccmd.config.hook import TmTcHookBase
|
||||
@@ -15,6 +17,7 @@ from tmtccmd.utility.tmtc_printer import TmTcPrinter
|
||||
from tmtccmd.config.globals import OpCodeDictKeys
|
||||
|
||||
from config.definitions import CustomServiceList
|
||||
from config.retvals import get_retval_dict
|
||||
|
||||
|
||||
class EiveHookObject(TmTcHookBase):
|
||||
@@ -70,9 +73,8 @@ class EiveHookObject(TmTcHookBase):
|
||||
service=service, op_code=op_code, service_queue=service_queue
|
||||
)
|
||||
|
||||
def get_object_ids(self) -> Dict[bytes, list]:
|
||||
def get_object_ids(self) -> ObjectIdDictT:
|
||||
from config.object_ids import get_object_ids
|
||||
|
||||
return get_object_ids()
|
||||
|
||||
@staticmethod
|
||||
@@ -108,6 +110,9 @@ class EiveHookObject(TmTcHookBase):
|
||||
object_id=object_id, event_id=event_id, param_1=param_1, param_2=param_2
|
||||
)
|
||||
|
||||
def get_retval_dict(self) -> RetvalDictT:
|
||||
return get_retval_dict()
|
||||
|
||||
|
||||
def get_eive_service_op_code_dict(service_op_code_dict: ServiceOpCodeDictT):
|
||||
from pus_tc.cmd_definitions import (
|
||||
|
||||
Reference in New Issue
Block a user