EgtMachKernel 2.1g4 :

- modifiche a gestione DB lavorazioni per conservare soli dati della versione del DB letta
- aggiunto a DB lavorazioni parametro generale MaxDepthSafe
- utilizzo del parametro sopraindicato per calcolo MaxDepth delle frese.
This commit is contained in:
Dario Sassi
2019-07-24 17:18:22 +00:00
parent 280e3abf0c
commit 29c8cdec4e
9 changed files with 68 additions and 32 deletions
+6 -1
View File
@@ -254,8 +254,13 @@ MachMgr::TdbGetCurrToolMaxDepth( double& dMaxDepth) const
ToolsMgr* pTsMgr = GetCurrToolsMgr() ;
if ( pTsMgr == nullptr)
return false ;
// recupero la sicurezza da aggiungere al massimo affondamento
MachiningsMgr* pMsMgr = GetCurrMachiningsMgr() ;
if ( pMsMgr == nullptr)
return false ;
double dSafe = pMsMgr->GetMaxDepthSafe() ;
// recupero il massimo affondamento
return pTsMgr->GetCurrToolMaxDepth( dMaxDepth) ;
return pTsMgr->GetCurrToolMaxDepth( dSafe, dMaxDepth) ;
}
//----------------------------------------------------------------------------