Include :
- aggiornamento costanti per lavorazioni superfici.
This commit is contained in:
+26
-3
@@ -1,13 +1,14 @@
|
||||
//----------------------------------------------------------------------------
|
||||
// EgalTech 2015-2017
|
||||
// EgalTech 2015-2019
|
||||
//----------------------------------------------------------------------------
|
||||
// File : EmkMachiningConst.h Data : 03.02.17 Versione : 1.8b1
|
||||
// File : EmkMachiningConst.h Data : 25.05.19 Versione : 2.1e5
|
||||
// Contenuto : Costanti delle lavorazioni.
|
||||
//
|
||||
//
|
||||
//
|
||||
// Modifiche : 22.06.15 DS Creazione modulo.
|
||||
// 03.02.17 DS Agg. Chiseling.
|
||||
// 25.05.19 DS Agg. SurfRoughing e SurfFinishing.
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
@@ -54,7 +55,9 @@ enum MachiningType {
|
||||
MT_SAWROUGHING = OPER_SAWROUGHING,
|
||||
MT_SAWFINISHING = OPER_SAWFINISHING,
|
||||
MT_GENMACHINING = OPER_GENMACHINING,
|
||||
MT_CHISELING = OPER_CHISELING
|
||||
MT_CHISELING = OPER_CHISELING,
|
||||
MT_SURFROUGHING = OPER_SURFROUGHING,
|
||||
MT_SURFFINISHING = OPER_SURFFINISHING
|
||||
} ;
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
@@ -319,3 +322,23 @@ enum { MORTISE_FU_NONE = 0,
|
||||
MORTISE_FU_PARAL_BACK = 4,
|
||||
MORTISE_FU_PARAL_LEFT = 5,
|
||||
MORTISE_FU_PARAL_RIGHT = 6} ;
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
// Parametri per finitura superfici
|
||||
// Sottotipo di lavorazione
|
||||
enum { SURFFIN_SUB_ZIGZAG = 0,
|
||||
SURFFIN_SUB_ONEWAY = 1,
|
||||
SURFFIN_SUB_SPIRALIN = 2,
|
||||
SURFFIN_SUB_SPIRALOUT = 3} ;
|
||||
// Tipo di attacco
|
||||
enum { SURFFIN_LI_NONE = 0,
|
||||
SURFFIN_LI_LINEAR = 1,
|
||||
SURFFIN_LI_TANGENT = 2} ;
|
||||
// Tipo di link
|
||||
enum { SURFFIN_LL_STD = 0,
|
||||
SURFFIN_LL_CENT = 1} ;
|
||||
// Tipo di uscita
|
||||
enum { SURFFIN_LO_NONE = 0,
|
||||
SURFFIN_LO_LINEAR = 1,
|
||||
SURFFIN_LO_TANGENT = 2,
|
||||
SURFFIN_LO_AS_LI = 3} ;
|
||||
|
||||
+19
-14
@@ -1,7 +1,7 @@
|
||||
//----------------------------------------------------------------------------
|
||||
// EgalTech 2015-2017
|
||||
// EgalTech 2015-2019
|
||||
//----------------------------------------------------------------------------
|
||||
// File : EmkOperationConst.h Data : 03.02.167 Versione : 1.8b1
|
||||
// File : EmkOperationConst.h Data : 25.05.19 Versione : 2.1e51
|
||||
// Contenuto : Costanti delle operazioni.
|
||||
//
|
||||
//
|
||||
@@ -10,23 +10,26 @@
|
||||
// 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.
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
#pragma once
|
||||
|
||||
//------------------------ Costanti per tipo Operazioni -----------------------
|
||||
enum OperType { OPER_NULL = 0, // nulla
|
||||
OPER_DISP = 0x0100, // disposizione
|
||||
OPER_DRILLING = 0x0200, // foratura
|
||||
OPER_SAWING = 0x0400, // taglio di lama
|
||||
OPER_MILLING = 0x0800, // fresatura
|
||||
OPER_POCKETING = 0x1000, // svuotatura
|
||||
OPER_MORTISING = 0x2000, // mortasatura
|
||||
OPER_SAWROUGHING = 0x4000, // sgrossatura con lama
|
||||
OPER_SAWFINISHING = 0x8000, // finitura con lama
|
||||
OPER_GENMACHINING = 0x10000, // lavorazione generica
|
||||
OPER_CHISELING = 0x20000} ; // scalpellatura
|
||||
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
|
||||
// Controllo tipo valido
|
||||
bool inline IsValidDispositionType( int nType)
|
||||
{
|
||||
@@ -42,5 +45,7 @@ bool inline IsValidMachiningType( int nType)
|
||||
nType == OPER_SAWROUGHING ||
|
||||
nType == OPER_SAWFINISHING ||
|
||||
nType == OPER_GENMACHINING ||
|
||||
nType == OPER_CHISELING) ;
|
||||
nType == OPER_CHISELING ||
|
||||
nType == OPER_SURFROUGHING ||
|
||||
nType == OPER_SURFFINISHING) ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user