"""
Alias the vetted data_types implementation for message exports.

The real ctypes structure for the B1 payload is implemented in
`Grifo_E_1553lib.data_types.tws_status_and_targets.TwsStatusAndTargets0102`.
Expose that here so tests and the message registry import a single
consistent symbol from the `messages` package.
"""

from Grifo_E_1553lib.data_types.tws_status_and_targets import (
	TwsStatusAndTargets0102,
	TwsStatusAndTargets0304,
	TwsStatusAndTargets0506,
	TwsStatusAndTargets0708,
	TwsStatusAndTargets0910,
)

# Export the classes so callers can select the correct page-specific type
__all__ = [
	"TwsStatusAndTargets0102",
	"TwsStatusAndTargets0304",
	"TwsStatusAndTargets0506",
	"TwsStatusAndTargets0708",
	"TwsStatusAndTargets0910",
]

# Also expose higher-numbered page classes if present
for cls_name in ("TwsStatusAndTargets1112", "TwsStatusAndTargets1314", "TwsStatusAndTargets1516", "TwsStatusAndTargets1718", "TwsStatusAndTargets1920", "TwsStatusAndTargets2122", "TwsStatusAndTargets2324", "TwsStatusAndTargets2526", "TwsStatusAndTargets2728", "TwsStatusAndTargets2930", "TwsStatusAndTargets3132"):
	try:
		globals()[cls_name] = getattr(__import__("Grifo_E_1553lib.data_types.tws_status_and_targets", fromlist=[cls_name]), cls_name)
		__all__.append(cls_name)
	except Exception:
		pass