EgtExecutor :

- aggiunte ExeMdbSetGeneralParam e ExeMdbGetGeneralParam per bool e int.
This commit is contained in:
Dario Sassi
2016-11-29 18:01:21 +00:00
parent d11ef13181
commit 7f4354be87
+40
View File
@@ -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)