EgtInterface :
- aggiunte EgtSetMachiningParamDouble e EgtGetMachiningParamDouble.
This commit is contained in:
@@ -762,6 +762,13 @@ __stdcall EgtSetMachiningParamInt( int nType, int nVal)
|
||||
return ( ExeSetMachiningParam( nType, nVal) ? TRUE : FALSE) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtSetMachiningParamDouble( int nType, double dVal)
|
||||
{
|
||||
return ( ExeSetMachiningParam( nType, dVal) ? TRUE : FALSE) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtPreviewMachining( BOOL bRecalc)
|
||||
@@ -778,6 +785,15 @@ __stdcall EgtGetMachiningParamInt( int nType, int* pnVal)
|
||||
return ( ExeGetMachiningParam( nType, *pnVal) ? TRUE : FALSE) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtGetMachiningParamDouble( int nType, double* pdVal)
|
||||
{
|
||||
if ( pdVal == nullptr)
|
||||
return FALSE ;
|
||||
return ( ExeGetMachiningParam( nType, *pdVal) ? TRUE : FALSE) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtIsMachiningNotEmpty( void)
|
||||
|
||||
Reference in New Issue
Block a user