EgtMachKernel 2.6k1 :

- in simulatore MP lancio stima speciale prima di avvio.
This commit is contained in:
Dario Sassi
2024-11-07 12:25:38 +01:00
parent 6d936dede4
commit b6f96e3d37
3 changed files with 16 additions and 10 deletions
+1 -10
View File
@@ -28,18 +28,9 @@ MachMgr::Generate( const string& sCncFile, const string& sInfo)
{
// se macchina multiprocesso è necessaria stima speciale
if ( GetCurrMachine() != nullptr && GetCurrMachine()->GetMultiProcess()) {
// inizializzazione stimatore
Estimator estPP ;
if ( ! estPP.Init( this)) {
LOG_ERROR( GetEMkLogger(), "Error on Estimate Init")
return false ;
}
// esecuzione della stima
string sEstFile = ChangeFileExtension( sCncFile, "sest") ;
if ( ! estPP.Run( sEstFile, sInfo)) {
LOG_ERROR( GetEMkLogger(), "Error on Estimate Run")
if ( ! Estimate( sEstFile, sInfo))
return false ;
}
}
// inizializzazione generatore