EgtMachKernel 2.4j3 :
- in tutte le lavorazioni ora Apply esegue sempre Update (aggiornamento assi macchina e collegamento con operazione precedente) anche se non è necessario il ricalcolo della lavorazione.
This commit is contained in:
+3
-1
@@ -1294,6 +1294,7 @@ Disposition::SpecialApply( bool bRecalc)
|
||||
static const string ON_SPECIAL_APPLY = "OnSpecialApplyDisposition" ;
|
||||
if ( ! pMch->LuaExistsFunction( ON_SPECIAL_APPLY)) {
|
||||
m_nStatus = MCH_ST_OK ;
|
||||
LOG_DBG_INFO( GetEMkLogger(), "Disposition special apply not provided") ;
|
||||
return true ;
|
||||
}
|
||||
|
||||
@@ -1304,7 +1305,7 @@ Disposition::SpecialApply( bool bRecalc)
|
||||
m_nShifts = nCurrShifts ;
|
||||
m_bSomeByHand = bCurrSomeByHand ;
|
||||
m_sTcPos = sCurrTcPos ;
|
||||
LOG_DBG_INFO( GetEMkLogger(), "Disposition postapply skipped : status already ok") ;
|
||||
LOG_DBG_INFO( GetEMkLogger(), "Disposition special apply skipped : status already ok") ;
|
||||
return true ;
|
||||
}
|
||||
m_nStatus = MCH_ST_TO_VERIFY ;
|
||||
@@ -1378,6 +1379,7 @@ Disposition::SpecialApply( bool bRecalc)
|
||||
// aggiorno stato
|
||||
m_nStatus = MCH_ST_OK ;
|
||||
|
||||
LOG_DBG_INFO( GetEMkLogger(), "Disposition special apply ok") ;
|
||||
return true ;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user