EgtExecutor :
- aggiunte ExeMdbSetGeneralParam e ExeMdbGetGeneralParam per bool e int.
This commit is contained in:
@@ -1375,6 +1375,26 @@ ExeMdbGetCurrMachiningParam( int nType, string& sVal)
|
||||
return pMachMgr->MdbGetCurrMachiningParam( nType, sVal) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
bool
|
||||
ExeMdbSetGeneralParam( int nType, bool bVal)
|
||||
{
|
||||
IMachMgr* pMachMgr = GetCurrMachMgr() ;
|
||||
VERIFY_MACHMGR( pMachMgr, false)
|
||||
// imposto il parametro generale delle lavorazioni
|
||||
return pMachMgr->MdbSetGeneralParam( nType, bVal) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
bool
|
||||
ExeMdbSetGeneralParam( int nType, int nVal)
|
||||
{
|
||||
IMachMgr* pMachMgr = GetCurrMachMgr() ;
|
||||
VERIFY_MACHMGR( pMachMgr, false)
|
||||
// imposto il parametro generale delle lavorazioni
|
||||
return pMachMgr->MdbSetGeneralParam( nType, nVal) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
bool
|
||||
ExeMdbSetGeneralParam( int nType, double dVal)
|
||||
@@ -1385,6 +1405,26 @@ ExeMdbSetGeneralParam( int nType, double dVal)
|
||||
return pMachMgr->MdbSetGeneralParam( nType, dVal) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
bool
|
||||
ExeMdbGetGeneralParam( int nType, bool& bVal)
|
||||
{
|
||||
IMachMgr* pMachMgr = GetCurrMachMgr() ;
|
||||
VERIFY_MACHMGR( pMachMgr, false)
|
||||
// recupero il parametro generale dele lavorazioni
|
||||
return pMachMgr->MdbGetGeneralParam( nType, bVal) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
bool
|
||||
ExeMdbGetGeneralParam( int nType, int& nVal)
|
||||
{
|
||||
IMachMgr* pMachMgr = GetCurrMachMgr() ;
|
||||
VERIFY_MACHMGR( pMachMgr, false)
|
||||
// recupero il parametro generale dele lavorazioni
|
||||
return pMachMgr->MdbGetGeneralParam( nType, nVal) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
bool
|
||||
ExeMdbGetGeneralParam( int nType, double& dVal)
|
||||
|
||||
Reference in New Issue
Block a user