Fix errore output kawasaki

This commit is contained in:
Samuele E. Locatelli
2019-07-24 11:54:59 +02:00
parent dc5173e77d
commit b02bbc1d73
+3 -3
View File
@@ -189,12 +189,12 @@ namespace IOB_WIN
int.TryParse(item.Value, out newPzCount);
if (newPzCount >= 0)
{
setContapezziCNC(newPzCount);
answ.Add(item.Key, $"FORCE SET PZ COUNT TO {newPzCount}");
taskOk = setContapezziCNC(newPzCount);
taskVal = taskOk ? $"FORCE SET PZ COUNT TO {newPzCount}" : $"FORCE SET PZ COUNT TO {newPzCount} | NO EXEC";
}
else
{
answ.Add(item.Key, $"ERROR IN FORCE SET PZ COUNT TO {newPzCount}");
taskVal = $"ERROR IN FORCE SET PZ COUNT TO {newPzCount}";
}
break;
case "startSetup":