FreeDATA/modem/global_instances.py

20 lines
552 B
Python
Raw Normal View History

# global_instances.py
from static import Daemon, ARQ, AudioParam, Beacon, Channel, HamlibParam, ModemParam, Station, Statistics, TCIParam, Modem, MeshParam
# Initialize instances with appropriate default values
# Create single instances of each dataclass
2023-10-20 12:14:17 +00:00
Daemon = Daemon(modemprocess=None, rigctldprocess=None)
ARQ = ARQ()
AudioParam = AudioParam()
Beacon = Beacon()
Channel = Channel()
HamlibParam = HamlibParam()
ModemParam = ModemParam()
Station = Station()
Statistics = Statistics()
TCIParam = TCIParam()
Modem = Modem()
MeshParam = MeshParam()