//---------------------------------------------------------------------------- // EgalTech 2015-2023 //---------------------------------------------------------------------------- // File : EmkOperationConst.h Data : 06.09.23 Versione : 2.5i1 // Contenuto : Costanti delle operazioni. // // // // Modifiche : 12.10.15 DS Creazione modulo. // 30.03.16 DS Agg. SawRoughing e SawFinishing. // 15.01.17 DS Agg. GenMachining. // 03.02.17 DS Agg. Chiseling. // 25.05.19 DS Agg. SurfRoughing e SurfFinishing. // 08.07.19 DS Agg. WaterJetting. // 06.09.23 DS Agg. 5AxMachining. // //---------------------------------------------------------------------------- #pragma once //------------------------ Costanti per tipo Operazioni ----------------------- enum OperType { OPER_NULL = 0, // nulla OPER_DISP = 0x000100, // disposizione OPER_DRILLING = 0x000200, // foratura OPER_SAWING = 0x000400, // taglio di lama OPER_MILLING = 0x000800, // fresatura OPER_POCKETING = 0x001000, // svuotatura OPER_MORTISING = 0x002000, // mortasatura OPER_SAWROUGHING = 0x004000, // sgrossatura con lama OPER_SAWFINISHING = 0x008000, // finitura con lama OPER_GENMACHINING = 0x010000, // lavorazione generica OPER_CHISELING = 0x020000, // scalpellatura OPER_SURFROUGHING = 0x040000, // sgrossatura superficie OPER_SURFFINISHING = 0x080000, // finitura superficie OPER_WATERJETTING = 0x100000, // taglio water jet OPER_5AXMACHINING = 0x200000} ; // lavorazione 5 assi // 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 || nType == OPER_SAWROUGHING || nType == OPER_SAWFINISHING || nType == OPER_GENMACHINING || nType == OPER_CHISELING || nType == OPER_SURFROUGHING || nType == OPER_SURFFINISHING || nType == OPER_WATERJETTING || nType == OPER_5AXMACHINING) ; }