DataBeam :
- modifiche per gestione warnings per caduta pezzi - modifiche per gestire ricalcolo per PF1250.
This commit is contained in:
+8
-3
@@ -1,4 +1,4 @@
|
||||
-- Process.lua by Egaltech s.r.l. 2020/10/25
|
||||
-- Process.lua by Egaltech s.r.l. 2021/02/25
|
||||
-- Gestione calcolo disposizione e lavorazioni per Travi
|
||||
-- Si opera sulla macchina corrente
|
||||
-- 2020/01/08 Aggiunta seconda sezione limite (BD.MAX_WIDTH2 x BD.MAX_HEIGHT2).
|
||||
@@ -240,8 +240,13 @@ local function MyProcessFeatures()
|
||||
nErrCnt = nErrCnt + 1
|
||||
sOutput = sOutput .. string.format( '[%d,%d] %s\n', Stats[i].CutId, Stats[i].TaskId, Stats[i].Msg)
|
||||
elseif Stats[i].Err < 0 then
|
||||
nWarnCnt = nWarnCnt + 1
|
||||
sOutput = sOutput .. string.format( '[%d,%d] %s\n', Stats[i].CutId, Stats[i].TaskId, Stats[i].Msg)
|
||||
-- se segnalazione scarico pezzo standard, incompleto o a caduta
|
||||
if Stats[i].Err == -101 or Stats[i].Err == -102 or Stats[i].Err == -103 then
|
||||
-- non faccio niente
|
||||
else
|
||||
nWarnCnt = nWarnCnt + 1
|
||||
sOutput = sOutput .. string.format( '[%d,%d] %s\n', Stats[i].CutId, Stats[i].TaskId, Stats[i].Msg)
|
||||
end
|
||||
end
|
||||
end
|
||||
if #sOutput > 0 then EgtOutLog( sOutput) end
|
||||
|
||||
Reference in New Issue
Block a user