2023-10-17 12:30:34 +00:00
|
|
|
# global_instances.py
|
|
|
|
|
2023-10-20 12:12:20 +00:00
|
|
|
from static import Daemon, ARQ, AudioParam, Beacon, Channel, HamlibParam, ModemParam, Station, Statistics, TCIParam, Modem, MeshParam
|
2023-10-17 12:30:34 +00:00
|
|
|
|
|
|
|
# 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)
|
2023-10-17 12:30:34 +00:00
|
|
|
ARQ = ARQ()
|
|
|
|
AudioParam = AudioParam()
|
|
|
|
Beacon = Beacon()
|
|
|
|
Channel = Channel()
|
|
|
|
HamlibParam = HamlibParam()
|
|
|
|
ModemParam = ModemParam()
|
|
|
|
Station = Station()
|
|
|
|
Statistics = Statistics()
|
|
|
|
TCIParam = TCIParam()
|
2023-10-20 12:12:20 +00:00
|
|
|
Modem = Modem()
|
2023-10-17 12:30:34 +00:00
|
|
|
MeshParam = MeshParam()
|