41 lines
1.3 KiB
Plaintext

# 文件结构
# -----------------
# main.py # 主程序入口
# config/
# __init__.py
# config_manager.py # 配置管理器
# config.yaml # 配置文件
# mqtt/
# __init__.py
# mqtt_client.py # MQTT客户端
# encryption/
# __init__.py
# encryption.py # 加密/解密模块
# message/
# __init__.py
# message_parser.py # 消息解析器
# message_router.py # 消息路由器
# handlers/
# __init__.py
# base_handler.py # 基础处理器类
# state_handler.py # 状态类处理器
# event_handler.py # 事件类处理器
# request_handler.py # 请求类处理器
# response_handler.py # 响应类处理器
# keepalive_handler.py # 心跳处理器
# models/
# __init__.py
# base_model.py # 基础数据模型
# station_model.py # 站控相关数据模型
# battery_model.py # 电池相关数据模型
# charging_model.py # 充电相关数据模型
# swapping_model.py # 换电相关数据模型
# utils/
# __init__.py
# logger.py # 日志工具
# helpers.py # 辅助函数
# tests/ # 单元测试
# __init__.py
# test_mqtt_client.py
# test_encryption.py
# test_message_parser.py