EgtMachKernel :

- gestione sovrascrittura di utensili
- restituzione della famiglia di utensili in ToolsMgr::ToBeImported.
This commit is contained in:
Sara Perdoncin
2021-03-24 16:40:45 +00:00
parent f375123865
commit 3a5d19fd08
4 changed files with 49 additions and 22 deletions
+2 -2
View File
@@ -844,7 +844,7 @@ MachMgr::TdbExport( const STRVECTOR& vsToolsNames, const string& sOutFile) const
//----------------------------------------------------------------------------
bool
MachMgr::TdbToBeImported( const string& sFile, STRVECTOR& vsToolsNames) const
MachMgr::TdbToBeImported( const string& sFile, STRVECTOR& vsToolsNames, INTVECTOR& vToolsTypes) const
{
if ( ! ExistsFile( sFile)){
LOG_ERROR( GetEMkLogger(), "TdbToBeImported Error : File does not exist") ;
@@ -858,7 +858,7 @@ MachMgr::TdbToBeImported( const string& sFile, STRVECTOR& vsToolsNames) const
return false ;
}
return pTsMgr->ToBeImported( sFile, vsToolsNames) ;
return pTsMgr->ToBeImported( sFile, vsToolsNames, vToolsTypes) ;
}