Commit f76a8b56 LN

元器件解析文件格式兼容处理

1 个父辈 57f23ad0
...@@ -109,11 +109,12 @@ namespace TSA_V.LoadCSVLibrary ...@@ -109,11 +109,12 @@ namespace TSA_V.LoadCSVLibrary
int index = 0; int index = 0;
Dictionary<string, int> propIndexMap = new Dictionary<string, int>(); Dictionary<string, int> propIndexMap = new Dictionary<string, int>();
foreach (var line in lines) foreach (var line in lines)
{ {
var array = line.Split(Spilt_Char); var newLine = line.Replace("\"", "");
var array = newLine.Split(Spilt_Char);
if (index == 0) if (index == 0)
{ {
propIndexMap = GetProTitleIndex(line, proTitleMap); propIndexMap = GetProTitleIndex(newLine, proTitleMap);
} }
else else
{ {
......
此文件类型无法预览
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!