EgtMachKernel 1.8i1 :

- migliorato ritorno in home di simulazione.
This commit is contained in:
Dario Sassi
2017-09-11 05:56:47 +00:00
parent 04c5d19e11
commit b61d44a0eb
3 changed files with 4 additions and 38 deletions
-36
View File
@@ -159,42 +159,6 @@ MachMgr::GetOperationType( int nId) const
return OPER_NULL ;
// restituisco il tipo
return pOpe->GetType() ;
//// recupero l'operazione
// PtrOwner<IGdbIterator> pIter( CreateGdbIterator( m_pGeomDB)) ;
// if ( IsNull( pIter) || ! pIter->GoTo( nId))
// return OPER_NULL ;
//// verifico che il gruppo ricevuto sia corretto
// if ( pIter->GetParentId() != GetCurrOperId())
// return OPER_NULL ;
//// recupero user object
// IUserObj* pUserObj = pIter->GetUserObj() ;
// if ( pUserObj == nullptr)
// return OPER_NULL ;
//// recupero il tipo di UserObj
// const string& sUserObj = pUserObj->GetClassName() ;
// if ( sUserObj == USEROBJ_GETNAME( Disposition))
// return OPER_DISP ;
// else if ( sUserObj == USEROBJ_GETNAME( Drilling))
// return OPER_DRILLING ;
// else if ( sUserObj == USEROBJ_GETNAME( Sawing))
// return OPER_SAWING ;
// else if ( sUserObj == USEROBJ_GETNAME( Milling))
// return OPER_MILLING ;
// else if ( sUserObj == USEROBJ_GETNAME( Pocketing))
// return OPER_POCKETING ;
// //else if ( sUserObj == USEROBJ_GETNAME( Mortising))
// // return OPER_MORTISING ;
// else if ( sUserObj == USEROBJ_GETNAME( SawRoughing))
// return OPER_SAWROUGHING ;
// else if ( sUserObj == USEROBJ_GETNAME( SawFinishing))
// return OPER_SAWFINISHING ;
// else if ( sUserObj == USEROBJ_GETNAME( GenMachining))
// return OPER_GENMACHINING ;
// else if ( sUserObj == USEROBJ_GETNAME( Chiseling))
// return OPER_CHISELING ;
// else
// return OPER_NULL ;
}
//----------------------------------------------------------------------------