Commit c42ef82f LN

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

1 个父辈 765d3268
......@@ -119,12 +119,13 @@ namespace TSA_V.LoadCSVLibrary
int index = 0;
Dictionary<string, int> propIndexMap = new Dictionary<string, int>();
foreach (var line in lines)
{
var array = line.Split(Spilt_Char);
foreach (var line in lines)
{
var newLine = line.Replace("\"", "");
var array = newLine.Split(Spilt_Char);
if (index == 0)
{
propIndexMap = GetProTitleIndex(line, proTitleMap);
propIndexMap = GetProTitleIndex(newLine, proTitleMap);
}
else
{
......
......@@ -88,7 +88,7 @@ namespace TSA_V.DeviceLibrary
{
LogUtil.info(logName + " Node[" + Line_NodeAddr + "]开始原点返回前发现在忙碌中,先停止运动");
PUSICANControl.StopMove(Line_NodeAddr);
}
}
LogUtil.info(logName + " Node[" + Line_NodeAddr + "]开始原点返回");
PUSICANControl.HomeMove(LWidthManager.Line_NodeAddr,true);
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!