一、怎么读取配置文件信息
案例一:
1、ConfigFile = "config.xlsx" (配置文件路径,Excel表)
2、ConfigSheets = {"settings","contants"}
out_Config = new Dictionary(of String, object)
#读取配置文件信息配置为字典数据
ForEach sheet in configsheet:
#读取sheet中的数据输出到数据表
read sheet → configTable(变量类型dataTable)
#遍历数据表
ForEach row in configTable
#当 'name' 列数值不为空时
NOT String.IsNullOrEmpty(row("Name").ToString.Trim)
#赋值给获取数据的字典
out_Config(row("Name").ToString.Trim) = row("Value")
案例二:
assetValue 数据类型为泛值型数据 (GenericValue)
#具体用处暂不了解