Include :

- aggiornamenti.
This commit is contained in:
Dario Sassi
2017-01-16 09:07:29 +00:00
parent 1acde4b6fe
commit 2baeddf1ba
2 changed files with 7 additions and 4 deletions
+2 -1
View File
@@ -50,7 +50,8 @@ enum MachiningType {
MT_POCKETING = OPER_POCKETING,
MT_MORTISING = OPER_MORTISING,
MT_SAWROUGHING = OPER_SAWROUGHING,
MT_SAWFINISHING = OPER_SAWFINISHING
MT_SAWFINISHING = OPER_SAWFINISHING,
MT_GENMACHINING = OPER_GENMACHINING
} ;
//----------------------------------------------------------------------------
+5 -3
View File
@@ -7,7 +7,8 @@
//
//
// Modifiche : 12.10.15 DS Creazione modulo.
// 30.03.16 DS Agg SawRoughing.
// 30.03.16 DS Agg. SawRoughing e SawFinishing.
// 15.01.17 DS Agg. GenMachining.
//
//----------------------------------------------------------------------------
@@ -22,7 +23,8 @@ enum OperType { OPER_NULL = 0, // nulla
OPER_POCKETING = 4096, // svuotatura
OPER_MORTISING = 8192, // mortasatura
OPER_SAWROUGHING = 16384, // sgrossatura con lama
OPER_SAWFINISHING = 32768} ; // finitura con lama
OPER_SAWFINISHING = 32768, // finitura con lama
OPER_GENMACHINING = 65536} ; // lavorazione generica
// Controllo tipo valido
bool inline IsValidDispositionType( int nType)
{
@@ -33,5 +35,5 @@ 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_SAWFINISHING || nType == OPER_GENMACHINING) ;
}