mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
ConfigTabel
ConfigTabel
This commit is contained in:
Binary file not shown.
1390
Assets/TEngine/Tools~/ConfigTabel/Tools/excel2json/CommandLine.xml
Normal file
1390
Assets/TEngine/Tools~/ConfigTabel/Tools/excel2json/CommandLine.xml
Normal file
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@@ -0,0 +1,71 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<doc>
|
||||||
|
<assembly>
|
||||||
|
<name>ExcelDataReader.DataSet</name>
|
||||||
|
</assembly>
|
||||||
|
<members>
|
||||||
|
<member name="T:ExcelDataReader.ExcelDataReaderExtensions">
|
||||||
|
<summary>
|
||||||
|
ExcelDataReader DataSet extensions
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:ExcelDataReader.ExcelDataReaderExtensions.AsDataSet(ExcelDataReader.IExcelDataReader,ExcelDataReader.ExcelDataSetConfiguration)">
|
||||||
|
<summary>
|
||||||
|
Converts all sheets to a DataSet
|
||||||
|
</summary>
|
||||||
|
<param name="self">The IExcelDataReader instance</param>
|
||||||
|
<param name="configuration">An optional configuration object to modify the behavior of the conversion</param>
|
||||||
|
<returns>A dataset with all workbook contents</returns>
|
||||||
|
</member>
|
||||||
|
<member name="T:ExcelDataReader.ExcelDataSetConfiguration">
|
||||||
|
<summary>
|
||||||
|
Processing configuration options and callbacks for IExcelDataReader.AsDataSet().
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:ExcelDataReader.ExcelDataSetConfiguration.UseColumnDataType">
|
||||||
|
<summary>
|
||||||
|
Gets or sets a value indicating whether to set the DataColumn.DataType property in a second pass.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:ExcelDataReader.ExcelDataSetConfiguration.ConfigureDataTable">
|
||||||
|
<summary>
|
||||||
|
Gets or sets a callback to obtain configuration options for a DataTable.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:ExcelDataReader.ExcelDataSetConfiguration.FilterSheet">
|
||||||
|
<summary>
|
||||||
|
Gets or sets a callback to determine whether to include the current sheet in the DataSet. Called once per sheet before ConfigureDataTable.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="T:ExcelDataReader.ExcelDataTableConfiguration">
|
||||||
|
<summary>
|
||||||
|
Processing configuration options and callbacks for AsDataTable().
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:ExcelDataReader.ExcelDataTableConfiguration.EmptyColumnNamePrefix">
|
||||||
|
<summary>
|
||||||
|
Gets or sets a value indicating the prefix of generated column names.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:ExcelDataReader.ExcelDataTableConfiguration.UseHeaderRow">
|
||||||
|
<summary>
|
||||||
|
Gets or sets a value indicating whether to use a row from the data as column names.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:ExcelDataReader.ExcelDataTableConfiguration.ReadHeaderRow">
|
||||||
|
<summary>
|
||||||
|
Gets or sets a callback to determine which row is the header row. Only called when UseHeaderRow = true.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:ExcelDataReader.ExcelDataTableConfiguration.FilterRow">
|
||||||
|
<summary>
|
||||||
|
Gets or sets a callback to determine whether to include the current row in the DataTable.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:ExcelDataReader.ExcelDataTableConfiguration.FilterColumn">
|
||||||
|
<summary>
|
||||||
|
Gets or sets a callback to determine whether to include the specific column in the DataTable. Called once per column after reading the headers.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
</members>
|
||||||
|
</doc>
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
11262
Assets/TEngine/Tools~/ConfigTabel/Tools/excel2json/Newtonsoft.Json.xml
Normal file
11262
Assets/TEngine/Tools~/ConfigTabel/Tools/excel2json/Newtonsoft.Json.xml
Normal file
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<configuration>
|
||||||
|
<startup>
|
||||||
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.1" />
|
||||||
|
</startup>
|
||||||
|
</configuration>
|
15
Assets/TEngine/Tools~/ConfigTabel/gen_client_cfg_list.bat
Normal file
15
Assets/TEngine/Tools~/ConfigTabel/gen_client_cfg_list.bat
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
@SET EXCEL_FOLDER=xls
|
||||||
|
@SET JSON_FOLDER=..\..\TResources\Config
|
||||||
|
@SET EXE= Tools\excel2json\excel2json.exe
|
||||||
|
@SET CsharpPath=..\..\ConfigStruct
|
||||||
|
|
||||||
|
@ECHO Del old Config...
|
||||||
|
del %JSON_FOLDER% /S /Q
|
||||||
|
del %CsharpPath% /S /Q
|
||||||
|
|
||||||
|
@ECHO Converting excel files in folder %EXCEL_FOLDER% ...
|
||||||
|
for /f "delims=" %%i in ('dir /b /a-d /s %EXCEL_FOLDER%\*.xlsx') do (
|
||||||
|
@echo processing %%~nxi
|
||||||
|
@CALL %EXE% --excel %EXCEL_FOLDER%\%%~nxi --json %JSON_FOLDER%\%%~ni.json --p %CsharpPath%\%%~ni.cs --header 3 --cell_json true --a --exclude_prefix #
|
||||||
|
)
|
||||||
|
pause
|
BIN
Assets/TEngine/Tools~/ConfigTabel/xls/AttrReg.xlsx
Normal file
BIN
Assets/TEngine/Tools~/ConfigTabel/xls/AttrReg.xlsx
Normal file
Binary file not shown.
BIN
Assets/TEngine/Tools~/ConfigTabel/xls/BuffConfig.xlsx
Normal file
BIN
Assets/TEngine/Tools~/ConfigTabel/xls/BuffConfig.xlsx
Normal file
Binary file not shown.
BIN
Assets/TEngine/Tools~/ConfigTabel/xls/FeatureConfig.xlsx
Normal file
BIN
Assets/TEngine/Tools~/ConfigTabel/xls/FeatureConfig.xlsx
Normal file
Binary file not shown.
Reference in New Issue
Block a user