Files
NmeaClient/msg_montainer.py
T
jens c6c1f26f32 - added Msg frame work with Msg container , Msg sources, Msg sinks
- added filter by message type to nmea receiver
- show case new features in MultiClient.main()
2026-03-08 17:46:25 +01:00

14 lines
335 B
Python

class MsgContainer:
def __init__(self, name: str, timestamp: float = 0, data: bytes = b''):
self.name : str= name
self.timestamp : float = timestamp
self.data: bytes = data
def __str__(self):
return f"{self.name}: {self.timestamp}: {self.data}"
def __repr__(self):
return f"{self.name}: {self.timestamp}: {self.data}"