44 lines
1.0 KiB
Python
44 lines
1.0 KiB
Python
"""MIL SDK 核心模块
|
|
|
|
提供 MIL 仿真数据读取功能
|
|
|
|
使用示例:
|
|
from src.core import setup_logging, read_excel_data
|
|
|
|
setup_logging()
|
|
result = read_excel_data("simulation.xlsx")
|
|
"""
|
|
import logging
|
|
|
|
from .base import DataLog, SignalData, ExcelDataResult
|
|
from .mil_read_data_excel import read_excel_data, get_data_log, ExcelReaderConfig
|
|
from .mil_read_case_excel import read_excel_case
|
|
from .mil_create_data_excel import create_excel_case
|
|
from .mil_update_excel import update_case_excel
|
|
|
|
from .exceptions import (
|
|
MILSDKError,
|
|
ExcelReadError,
|
|
ExcelFormatError,
|
|
CaseDataError,
|
|
ExcelWriteError,
|
|
)
|
|
from .logging_config import setup_logging, get_logger
|
|
|
|
__all__ = [
|
|
"DataLog",
|
|
"SignalData",
|
|
"ExcelDataResult",
|
|
"ExcelReaderConfig",
|
|
"read_excel_data",
|
|
"get_data_log",
|
|
"read_excel_case",
|
|
"create_excel_case",
|
|
"MILSDKError",
|
|
"ExcelReadError",
|
|
"ExcelFormatError",
|
|
"CaseDataError",
|
|
"ExcelWriteError",
|
|
"setup_logging",
|
|
"get_logger",
|
|
] |