EgtMachKernel 2.4k2 :
- migliorati log in Apply e Update di disposizioni e lavorazioni - aggiunta funzione GetName a Operation.
This commit is contained in:
@@ -642,6 +642,9 @@ MachMgr::DispositionSpecialApply( int nId, bool bRecalc)
|
||||
Disposition* pDisp = ::GetDisposition( m_pGeomDB->GetUserObj( nId)) ;
|
||||
if ( pDisp == nullptr)
|
||||
return false ;
|
||||
// Eventuale log
|
||||
string sOut = "DispositionSpecialApply start --> " + pDisp->GetName() ;
|
||||
LOG_DBG_INFO( GetEMkLogger(), sOut.c_str()) ;
|
||||
// lancio l'azione
|
||||
return pDisp->SpecialApply( bRecalc) ;
|
||||
}
|
||||
@@ -662,6 +665,9 @@ MachMgr::DispositionSpecialUpdate( int nId)
|
||||
Disposition* pDisp = ::GetDisposition( m_pGeomDB->GetUserObj( nId)) ;
|
||||
if ( pDisp == nullptr)
|
||||
return false ;
|
||||
// Eventuale log
|
||||
string sOut = "DispositionSpecialUpdate start --> " + pDisp->GetName() ;
|
||||
LOG_DBG_INFO( GetEMkLogger(), sOut.c_str()) ;
|
||||
// lancio l'azione
|
||||
return pDisp->SpecialUpdate() ;
|
||||
}
|
||||
@@ -1041,6 +1047,9 @@ MachMgr::MachiningApply( bool bRecalc, bool bPostApply)
|
||||
Machining* pMch = GetMachining( m_pGeomDB->GetUserObj( nCurrMchId)) ;
|
||||
if ( pMch == nullptr)
|
||||
return false ;
|
||||
// Log
|
||||
string sOut = "MachiningApply start --> " + pMch->GetName() ;
|
||||
LOG_DBG_INFO( GetEMkLogger(), sOut.c_str()) ;
|
||||
// imposto fase della lavorazione come temporaneamente corrente
|
||||
SetTempPhase TmpPhase( this, pMch->GetPhase()) ;
|
||||
// imposto visualizzazione completa della macchina come temporaneamente corrente
|
||||
@@ -1069,6 +1078,9 @@ MachMgr::MachiningUpdate( bool bPostApply)
|
||||
Machining* pMch = GetMachining( m_pGeomDB->GetUserObj( nCurrMchId)) ;
|
||||
if ( pMch == nullptr)
|
||||
return false ;
|
||||
// Log
|
||||
string sOut = "MachiningUpdate start --> " + pMch->GetName() ;
|
||||
LOG_DBG_INFO( GetEMkLogger(), sOut.c_str()) ;
|
||||
// imposto fase della lavorazione come temporaneamente corrente
|
||||
SetTempPhase TmpPhase( this, pMch->GetPhase()) ;
|
||||
// imposto visualizzazione completa della macchina come temporaneamente corrente
|
||||
|
||||
Reference in New Issue
Block a user