"""Power control helpers for ECU tests.

Currently includes Owon PSU serial SCPI controller plus a cross-
platform port resolver so the same bench config works on Windows,
Linux, and WSL.
"""

from .owon_psu import (
    SerialParams,
    OwonPSU,
    scan_ports,
    auto_detect,
    try_idn_on_port,
    candidate_ports,
    resolve_port,
    windows_com_to_linux,
    linux_serial_to_windows,
)

__all__ = [
    "SerialParams",
    "OwonPSU",
    "scan_ports",
    "auto_detect",
    "try_idn_on_port",
    "candidate_ports",
    "resolve_port",
    "windows_com_to_linux",
    "linux_serial_to_windows",
]