EgtMachKernel 1.6j4 :

- modifiche a DB utensili per gestione utensile corrente
- prima versione generatore codice.
This commit is contained in:
Dario Sassi
2015-10-31 09:45:57 +00:00
parent a4525dd059
commit 2324a8b3f4
22 changed files with 835 additions and 184 deletions
+40
View File
@@ -0,0 +1,40 @@
//----------------------------------------------------------------------------
// EgalTech 2015-2015
//----------------------------------------------------------------------------
// File : MachMgrGeneration.cpp Data : 28.10.15 Versione : 1.6j4
// Contenuto : Implementazione gestione generazione della classe MachMgr.
//
//
//
// Modifiche : 28.10.15 DS Creazione modulo.
//
//
//----------------------------------------------------------------------------
//--------------------------- Include ----------------------------------------
#include "stdafx.h"
#include "DllMain.h"
#include "MachMgr.h"
#include "MachConst.h"
#include "Generator.h"
using namespace std ;
//----------------------------------------------------------------------------
bool
MachMgr::Generate( const string& sCncFile)
{
// inizializzazione generatore
Generator genPP ;
if ( ! genPP.Init( this)) {
LOG_ERROR( GetEMkLogger(), "Error on Generate Init")
return false ;
}
// esecuzione della generazione
if ( ! genPP.Run( sCncFile)) {
LOG_ERROR( GetEMkLogger(), "Error on Generate Run")
return false ;
}
return true ;
}