EgtInterface :

- aggiornamento.
This commit is contained in:
Dario Sassi
2016-01-27 07:52:50 +00:00
parent ceee18398f
commit 8ede2dd647
+21 -5
View File
@@ -627,18 +627,18 @@ __stdcall EgtMdbGetCurrMachiningParamString( int nType, wchar_t*& wsVal)
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtMdbSetSafeZ( double dSafeZ)
__stdcall EgtMdbSetGeneralParamDouble( int nType, double dVal)
{
return ( ExeMdbSetSafeZ( dSafeZ) ? TRUE : FALSE) ;
return ( ExeMdbSetGeneralParam( nType, dVal) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtMdbGetSafeZ( double* pdSafeZ)
__stdcall EgtMdbGetGeneralParamDouble( int nType, double* pdVal)
{
if ( pdSafeZ == nullptr)
if ( pdVal == nullptr)
return FALSE ;
return ( ExeMdbGetSafeZ( *pdSafeZ) ? TRUE : FALSE) ;
return ( ExeMdbGetGeneralParam( nType, *pdVal) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
@@ -746,6 +746,22 @@ __stdcall EgtSetAllOperationsStatus( BOOL bShow)
return ( ExeSetAllOperationsStatus( bShow != FALSE) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
// Machinings
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtSetCurrMachining( int nId)
{
return ( ExeSetCurrMachining( nId) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtIsMachiningNotEmpty( void)
{
return ( ExeIsMachiningNotEmpty() ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
// Simulation
//-----------------------------------------------------------------------------