EgtMachKernel 1.9e6 :
- aggiunto Estimator - in taglio lama back-feed viene applicata solo all'ultimo passaggio di ritorno.
This commit is contained in:
+23
-3
@@ -1,7 +1,7 @@
|
||||
//----------------------------------------------------------------------------
|
||||
// EgalTech 2015-2015
|
||||
// EgalTech 2015-2018
|
||||
//----------------------------------------------------------------------------
|
||||
// File : MachMgrGeneration.cpp Data : 28.10.15 Versione : 1.6j4
|
||||
// File : MachMgrGeneration.cpp Data : 29.05.18 Versione : 1.8e6
|
||||
// Contenuto : Implementazione gestione generazione della classe MachMgr.
|
||||
//
|
||||
//
|
||||
@@ -17,12 +17,13 @@
|
||||
#include "MachMgr.h"
|
||||
#include "MachConst.h"
|
||||
#include "Generator.h"
|
||||
#include "Estimator.h"
|
||||
|
||||
using namespace std ;
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
MachMgr::Generate( const string& sCncFile, const std::string& sInfo)
|
||||
MachMgr::Generate( const string& sCncFile, const string& sInfo)
|
||||
{
|
||||
// inizializzazione generatore
|
||||
Generator genPP ;
|
||||
@@ -38,3 +39,22 @@ MachMgr::Generate( const string& sCncFile, const std::string& sInfo)
|
||||
|
||||
return true ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
MachMgr::Estimate( const string& sEstFile, const string& sInfo)
|
||||
{
|
||||
// inizializzazione generatore
|
||||
Estimator estPP ;
|
||||
if ( ! estPP.Init( this)) {
|
||||
LOG_ERROR( GetEMkLogger(), "Error on Estimate Init")
|
||||
return false ;
|
||||
}
|
||||
// esecuzione della generazione
|
||||
if ( ! estPP.Run( sEstFile, sInfo)) {
|
||||
LOG_ERROR( GetEMkLogger(), "Error on Estimate Run")
|
||||
return false ;
|
||||
}
|
||||
|
||||
return true ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user