api update done
This commit is contained in:
@ -4,7 +4,7 @@ import json
|
||||
import base64
|
||||
|
||||
from tmtccmd.logging import get_console_logger
|
||||
from tmtccmd.utility.obj_id import ObjectId
|
||||
from tmtccmd.utility.obj_id import ObjectIdU32
|
||||
from dle_encoder import DleEncoder
|
||||
|
||||
LOGGER = get_console_logger()
|
||||
@ -64,7 +64,7 @@ class TmTcpServer:
|
||||
self.client_connection.close()
|
||||
self.client_connection = None
|
||||
|
||||
def report_raw_hk_data(self, object_id: ObjectId, set_id: int, hk_data: bytes):
|
||||
def report_raw_hk_data(self, object_id: ObjectIdU32, set_id: int, hk_data: bytes):
|
||||
|
||||
data_dict = {
|
||||
"type": "TM",
|
||||
@ -76,7 +76,9 @@ class TmTcpServer:
|
||||
|
||||
self._send_dictionary_over_socket(data_dict)
|
||||
|
||||
def report_parsed_hk_data(self, object_id: ObjectId, set_id: int, data_dictionary):
|
||||
def report_parsed_hk_data(
|
||||
self, object_id: ObjectIdU32, set_id: int, data_dictionary
|
||||
):
|
||||
data_dict = {
|
||||
"type": "TM",
|
||||
"tmType": "Parsed HK",
|
||||
|
Reference in New Issue
Block a user