完成初版
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
"""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_data_excel import read_excel_data, get_data_log, ExcelReaderConfig
|
||||
from .mil_case_excel import create_excel_case, read_excel_case
|
||||
from .exceptions import (
|
||||
MILSDKError,
|
||||
ExcelReadError,
|
||||
ExcelFormatError,
|
||||
CaseDataError,
|
||||
ExcelWriteError,
|
||||
)
|
||||
from .logging_config import setup_logging, get_logger
|
||||
|
||||
logging.basicConfig(
|
||||
level=logging.INFO,
|
||||
format="%(asctime)s - %(name)s - %(levelname)s - %(message)s"
|
||||
)
|
||||
|
||||
__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",
|
||||
]
|
||||
Reference in New Issue
Block a user