diff --git a/API_MachMgr.cpp b/API_MachMgr.cpp index d1a1468..03c4b9b 100644 --- a/API_MachMgr.cpp +++ b/API_MachMgr.cpp @@ -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)