"""A sans-io python implementation of the Highway Addressable Remote Transducer Protocol.""" from .__version__ import * # 延迟导入以避免循环依赖 def _get_hart_communication(): from .HARTCommunication import HARTCommunication, BurstModeON, BurstModeOFF, PrimaryMasterMode, SecondaryMasterMode return HARTCommunication, BurstModeON, BurstModeOFF, PrimaryMasterMode, SecondaryMasterMode # 导出常用模块 from . import common from . import universal from . import tools from ._unpacker import * # 导出主要类和常量 HARTCommunication, BurstModeON, BurstModeOFF, PrimaryMasterMode, SecondaryMasterMode = _get_hart_communication() __all__ = [ 'HARTCommunication', 'BurstModeON', 'BurstModeOFF', 'PrimaryMasterMode', 'SecondaryMasterMode', 'common', 'universal', 'tools' ]