diff --git a/MTC_Adapter/MTC_Adapter/AdapterOsai.cs b/MTC_Adapter/MTC_Adapter/AdapterOsai.cs index 5768091..722fa4d 100644 --- a/MTC_Adapter/MTC_Adapter/AdapterOsai.cs +++ b/MTC_Adapter/MTC_Adapter/AdapterOsai.cs @@ -638,7 +638,9 @@ namespace MTC_Adapter fatto = true; } catch (Exception exc) - { } + { + lg.Error(string.Format("{0}", exc)); + } return fatto; } /// @@ -662,8 +664,10 @@ namespace MTC_Adapter } fatto = true; } - catch - { } + catch (Exception exc) + { + lg.Error(string.Format("{0}", exc)); + } return fatto; } /// @@ -688,8 +692,10 @@ namespace MTC_Adapter } fatto = true; } - catch - { } + catch (Exception exc) + { + lg.Error(string.Format("{0}", exc)); + } return fatto; } @@ -1019,8 +1025,8 @@ namespace MTC_Adapter // salvo!!! come path#nome axisDict.Add(string.Format("{0}#{1}", i, axisTable[j]), currId); // salvo (per ID) descr asse e processo corrente! - vettAxis[currId].mAxDescr = axisTable[j]; - vettAxis[currId].mAxMainProc = i; + vettAxis[currId].mAxDescr = axisTable[j].ToString(); + vettAxis[currId].mAxMainProc = i.ToString(); } } }