EgtMachKernel :

- aggiunta gestione livello di debug in LOG*.
This commit is contained in:
Dario Sassi
2019-04-01 06:16:03 +00:00
parent 9cd9068b7b
commit e4613162c5
24 changed files with 120 additions and 96 deletions
+3 -3
View File
@@ -625,7 +625,7 @@ Milling::Apply( bool bRecalc, bool bPostApply)
if ( ! bRecalc && ! bToolChanged &&
( m_nStatus == MCH_ST_OK || ( ! bPostApply && m_nStatus == MCH_ST_NO_POSTAPPL))) {
m_nMills = nCurrMills ;
LOG_INFO( GetEMkLogger(), "Milling apply skipped : status already ok") ;
LOG_DBG_INFO( GetEMkLogger(), "Milling apply skipped : status already ok") ;
return true ;
}
m_nStatus = MCH_ST_TO_VERIFY ;
@@ -715,7 +715,7 @@ Milling::Update( bool bPostApply)
// se lavorazione vuota, esco
if ( m_nMills == 0) {
LOG_INFO( GetEMkLogger(), "Warning in Milling : No machinable path")
LOG_WARN( GetEMkLogger(), "Warning in Milling : No machinable path")
return true ;
}
@@ -1441,7 +1441,7 @@ Milling::ProcessPath( int nPathId, int nPvId, int nClId)
// verifico che il percorso sia abbastanza lungo
double dLen ; pCompo->GetLength( dLen) ;
if ( dLen + m_Params.m_dStartAddLen + m_Params.m_dEndAddLen < 10 * EPS_SMALL) {
LOG_INFO( GetEMkLogger(), "Warning in Milling : skipped Path too small") ;
LOG_WARN( GetEMkLogger(), "Warning in Milling : skipped Path too small") ;
return true ;
}
// se una sola entità circonferenza completa, la divido in due per poterla allungare