EgtMachKernel 1.6k4 :

- aggiunte funzioni per direttorio utensili e portautensili.
This commit is contained in:
Dario Sassi
2015-11-11 10:44:44 +00:00
parent 831ea17e08
commit 2a7370bde8
5 changed files with 25 additions and 1 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ MachMgr::LoadMachine( const string& sMachineName)
string sToolsFile = m_sMachinesDir + "\\" + sMachineName + "\\" + TOOLS_DIR + "\\" + TOOLS_FILE ;
if ( IsNull( pTsMgr) || ! pTsMgr->Load( sToolsFile))
return false ;
// creo e carico il DB lavorazioni
// creo e carico il DB lavorazioni
PtrOwner<MachiningsMgr> pMsMgr( new( nothrow) MachiningsMgr) ;
string sMachsFile = m_sMachinesDir + "\\" + sMachineName + "\\" + MACHININGS_DIR + "\\" + MACHININGS_FILE ;
if ( IsNull( pMsMgr) || ! pMsMgr->Init( sMachsFile) || ! pMsMgr->Load())