fix controllo carattere...
This commit is contained in:
@@ -1040,16 +1040,18 @@ namespace MTC_Adapter
|
||||
{
|
||||
// salvo!!! come path#nome
|
||||
axisDict.Add(string.Format("{0}#{1}", i, axisTable[j]), currId);
|
||||
try
|
||||
{
|
||||
// salvo (per ID) descr asse e processo corrente!
|
||||
vettAxis[currId].mAxDescr.Value = axisTable[j];
|
||||
vettAxis[currId].mAxMainProc.Value = i;
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
lg.Error(exc, string.Format("Eccezione in salvataggio nome/path asse num {0}", currId));
|
||||
}
|
||||
// solo se HO UN NOME valido x asse...
|
||||
if (axisTable[j] != null && axisTable[j] != "-" && axisTable[j] != "" && axisTable[j] != '\0')
|
||||
try
|
||||
{
|
||||
// salvo (per ID) descr asse e processo corrente!
|
||||
vettAxis[currId].mAxDescr.Value = axisTable[j];
|
||||
vettAxis[currId].mAxMainProc.Value = i;
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
lg.Error(exc, string.Format("Eccezione in salvataggio nome/path asse num {0}", currId));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user