DataWall :

- aggiunta gestione tasche (solo svuotatura).
This commit is contained in:
Dario Sassi
2020-06-30 17:37:29 +00:00
parent 8d246c811e
commit ea9f74c0ad
5 changed files with 316 additions and 16 deletions
+6 -6
View File
@@ -2,13 +2,13 @@
-- Gestione calcolo profilo libero per Pareti
-- Tabella per definizione modulo
local ProcessFreeContour = {}
local WPF = {}
-- Include
require( 'EgtBase')
local WL = require( 'WallLib')
EgtOutLog( ' ProcessFreeContour started', 1)
EgtOutLog( ' WProcessFreeContour started', 1)
-- Dati
local WD = require( 'WallData')
@@ -18,14 +18,14 @@ local MIN_LEN_CUT = 1
---------------------------------------------------------------------
-- Riconoscimento della feature
function ProcessFreeContour.Identify( Proc)
function WPF.Identify( Proc)
return ( ( Proc.Grp == 0 or Proc.Grp == 3 or Proc.Grp == 4) and ( Proc.Prc == 250 or Proc.Prc == 251 or Proc.Prc == 252))
end
---------------------------------------------------------------------
-- Classificazione della feature
function ProcessFreeContour.Classify( Proc, b3Raw)
function WPF.Classify( Proc, b3Raw)
-- verifico se di tipo pocket
local bPocket = ( EgtGetInfo( Proc.Id, 'PCKT', 'i') == 1)
-- recupero la curva associata
@@ -521,7 +521,7 @@ end
---------------------------------------------------------------------
-- Applicazione della lavorazione
function ProcessFreeContour.Make( Proc, nRawId, b3Raw)
function WPF.Make( Proc, nRawId, b3Raw)
-- recupero la tipologia
local bPocket = ( EgtGetInfo( Proc.Id, 'PCKT', 'i') == 1)
-- se svuotatura
@@ -537,4 +537,4 @@ function ProcessFreeContour.Make( Proc, nRawId, b3Raw)
end
---------------------------------------------------------------------
return ProcessFreeContour
return WPF