diff --git a/MTC_Adapter/MTC_Adapter/AdapterOsai.cs b/MTC_Adapter/MTC_Adapter/AdapterOsai.cs index 5268fff..8285e21 100644 --- a/MTC_Adapter/MTC_Adapter/AdapterOsai.cs +++ b/MTC_Adapter/MTC_Adapter/AdapterOsai.cs @@ -1452,10 +1452,7 @@ namespace MTC_Adapter // anche il secondo! procPathOverride(1, currPathData, ref sb); } - - - allarmiCNC = new CMSCncLib.OPENcontrol.ERRMSG(); -#if false + // se ho allarmi li accodo... if (allNcData.lastncerror != 0) { @@ -1469,8 +1466,7 @@ namespace MTC_Adapter else { allarmiCNC = new CMSCncLib.OPENcontrol.ERRMSG(); - } -#endif + } parentForm.dataMonitor = sb.ToString();