EgtInterface :
- aggiornamento.
This commit is contained in:
+21
-5
@@ -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
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user