EgtMachKernel 1.9k2 :

- aggiunta gestione massimo affondamento di utensile TdbGetCurrToolMaxDepth
- for each (.. in ..) sostituito da for ( .. : ..) vero costrutto C++.
This commit is contained in:
Dario Sassi
2018-11-28 17:11:39 +00:00
parent 7bd3465ec3
commit b9303acc5d
12 changed files with 119 additions and 24 deletions
+12
View File
@@ -243,6 +243,18 @@ MachMgr::TdbGetCurrToolParam( int nType, string& sVal) const
return pTsMgr->GetCurrToolParam( nType, sVal) ;
}
//----------------------------------------------------------------------------
bool
MachMgr::TdbGetCurrToolMaxDepth( double& dMaxDepth) const
{
// recupero il gestore di utensili della macchina corrente
ToolsMgr* pTsMgr = GetCurrToolsMgr() ;
if ( pTsMgr == nullptr)
return false ;
// recupero il massimo affondamento
return pTsMgr->GetCurrToolMaxDepth( dMaxDepth) ;
}
//----------------------------------------------------------------------------
bool
MachMgr::TdbReload( void)