//---------------------------------------------------------------------------- // EgalTech 2015-2015 //---------------------------------------------------------------------------- // File : EmkOperationConst.h Data : 12.10.15 Versione : 1.6j2 // Contenuto : Costanti delle operazioni. // // // // Modifiche : 12.10.15 DS Creazione modulo. // // //---------------------------------------------------------------------------- #pragma once //------------------------ Costanti per tipo Operazioni ----------------------- enum OperType { OPER_NULL = 0, // nulla OPER_DISP = 256, // disposizione ( 256) OPER_DRILLING = 512, // foratura ( 512) OPER_SAWING = 1024, // taglio di lama (1024) OPER_MILLING = 2048, // fresatura (2048) OPER_POCKETING = 4096, // svuotatura (4096) OPER_MORTISING = 8192} ; // mortasatura (8192) // Controllo tipo valido bool inline IsValidDispositionType( int nType) { return ( nType == OPER_DISP) ; } bool inline IsValidMachiningType( int nType) { return ( nType == OPER_DRILLING || nType == OPER_SAWING || nType == OPER_MILLING || nType == OPER_POCKETING || nType == OPER_MORTISING) ; }