EgtMachKernel 1.6n5 :
- in simulazione aggiunta breve pausa al cambio fase - aggiunta gestione fase per recupero info grezzi in lavorazione (elevazione, rawbotto,...).
This commit is contained in:
+6
-1
@@ -133,8 +133,13 @@ Simulator::Move( int& nStatus)
|
||||
// se non è una lavorazione, verifico se disposizione con cambio di fase
|
||||
if ( pMch == nullptr) {
|
||||
Disposition* pDisp = GetDisposition( m_pGeomDB->GetUserObj( m_nOpId)) ;
|
||||
if ( pDisp != nullptr)
|
||||
if ( pDisp != nullptr) {
|
||||
// cambio fase
|
||||
m_pMchMgr->SetCurrPhase( pDisp->GetPhase()) ;
|
||||
// aggiorno visualizzazione e breve pausa (200 ms)
|
||||
ExeDraw() ;
|
||||
Sleep( 200) ;
|
||||
}
|
||||
}
|
||||
// lavorazione valida
|
||||
else if ( ! pMch->IsEmpty())
|
||||
|
||||
Reference in New Issue
Block a user