EgtMachKernel 2.1g2 :

- aggiunta lavorazione WaterJet e relativo utensile.
This commit is contained in:
Dario Sassi
2019-07-10 12:53:20 +00:00
parent 404105518f
commit 30476aa412
12 changed files with 3276 additions and 7 deletions
+10 -4
View File
@@ -1,7 +1,7 @@
//----------------------------------------------------------------------------
// EgalTech 2015-2017
// EgalTech 2015-2019
//----------------------------------------------------------------------------
// File : ToolsMgr.cpp Data : 02.03.17 Versione : 1.8c1
// File : ToolsMgr.cpp Data : 08.07.19 Versione : 2.1g2
// Contenuto : Implementazione gestore database utensili.
//
//
@@ -10,6 +10,7 @@
// 21.10.15 DS Aggiunti VERSION e TOOLSIZE in HEADER (default VERSION = 1000 e TOOLSIZE = 26).
// Ora VERSION = 1001 e TOOLSIZE = 29.
// 02.03.17 DS Aggiunto controllo nome.
// 08.07.19 DS Aggiunto water jet. Ora VERSION = 1002.
//
//----------------------------------------------------------------------------
@@ -35,7 +36,7 @@ const string TF_HEADER = "[HEADER]" ;
const string TF_VERSION = "VERSION" ;
const string TF_TOOLSIZE = "TOOLSIZE" ;
const string TF_TOTAL = "TOTAL" ;
const int TF_CURR_VER = 1001 ;
const int TF_CURR_VER = 1002 ;
//----------------------------------------------------------------------------
ToolsMgr::ToolsMgr( void)
@@ -700,7 +701,12 @@ ToolsMgr::GetCurrToolMaxDepth( double& dMaxDepth) const
dMaxDepth = m_tdCurrTool.m_dMaxMat ;
return true ;
}
// utensile composito
// se utensile waterjet
else if ( ( m_tdCurrTool.m_nType & TF_WATERJET) != 0) {
dMaxDepth = m_tdCurrTool.m_dMaxMat ;
return true ;
}
// se utensile composito
else if ( ( m_tdCurrTool.m_nType & TF_COMPO) != 0) {
// non ancora gestito
return false ;