d5254e7526
- aggiornamenti - aggiunta EGkOffsetCurveOnX.
38 lines
1.6 KiB
C
38 lines
1.6 KiB
C
//----------------------------------------------------------------------------
|
|
// EgalTech 2015-2016
|
|
//----------------------------------------------------------------------------
|
|
// File : EmkOperationConst.h Data : 30.03.16 Versione : 1.6o4
|
|
// Contenuto : Costanti delle operazioni.
|
|
//
|
|
//
|
|
//
|
|
// Modifiche : 12.10.15 DS Creazione modulo.
|
|
// 30.03.16 DS Agg SawRoughing.
|
|
//
|
|
//----------------------------------------------------------------------------
|
|
|
|
#pragma once
|
|
|
|
//------------------------ Costanti per tipo Operazioni -----------------------
|
|
enum OperType { OPER_NULL = 0, // nulla
|
|
OPER_DISP = 256, // disposizione
|
|
OPER_DRILLING = 512, // foratura
|
|
OPER_SAWING = 1024, // taglio di lama
|
|
OPER_MILLING = 2048, // fresatura
|
|
OPER_POCKETING = 4096, // svuotatura
|
|
OPER_MORTISING = 8192, // mortasatura
|
|
OPER_SAWROUGHING = 16384, // sgrossatura con lama
|
|
OPER_SAWFINISHING = 32768} ; // finitura con lama
|
|
// 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) ;
|
|
}
|