EgtMachKernel 1.6j4 :
- modifiche a DB utensili per gestione utensile corrente - prima versione generatore codice.
This commit is contained in:
@@ -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 ;
|
||||
}
|
||||
Reference in New Issue
Block a user