EgtInterface 1.8f4 :
- aggiunte EgtSpecialUpdateDisposition, EgtUpdateMachining, EgtApplyAllMachinings e EgtUpdateAllMachinings.
This commit is contained in:
@@ -1189,6 +1189,13 @@ __stdcall EgtSpecialApplyDisposition( int nId, BOOL bRecalc)
|
||||
return ( ExeSpecialApplyDisposition( nId, ( bRecalc != FALSE)) ? TRUE : FALSE) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtSpecialUpdateDisposition( int nId)
|
||||
{
|
||||
return ( ExeSpecialUpdateDisposition( nId) ? TRUE : FALSE) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Machinings
|
||||
//-----------------------------------------------------------------------------
|
||||
@@ -1282,6 +1289,13 @@ __stdcall EgtApplyMachining( BOOL bRecalc)
|
||||
return ( ExeApplyMachining( bRecalc != FALSE) ? TRUE : FALSE) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtUpdateMachining( void)
|
||||
{
|
||||
return ( ExeUpdateMachining() ? TRUE : FALSE) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtGetMachiningParamBool( int nType, BOOL* pbVal)
|
||||
@@ -1352,6 +1366,32 @@ __stdcall EgtIsMachiningEmpty( void)
|
||||
return ( ExeIsMachiningEmpty() ? TRUE : FALSE) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtApplyAllMachinings( BOOL bStopOnFirstErr, wchar_t*& wsErrList)
|
||||
{
|
||||
if ( &wsErrList == nullptr)
|
||||
return FALSE ;
|
||||
string sErrList ;
|
||||
if ( ! ExeApplyAllMachinings( bStopOnFirstErr != FALSE, sErrList))
|
||||
return FALSE ;
|
||||
wsErrList = _wcsdup( stringtoW( sErrList)) ;
|
||||
return (( wsErrList == nullptr) ? FALSE : TRUE) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtUpdateAllMachinings( BOOL bStopOnFirstErr, wchar_t*& wsErrList)
|
||||
{
|
||||
if ( &wsErrList == nullptr)
|
||||
return FALSE ;
|
||||
string sErrList ;
|
||||
if ( ! ExeUpdateAllMachinings( bStopOnFirstErr != FALSE, sErrList))
|
||||
return FALSE ;
|
||||
wsErrList = _wcsdup( stringtoW( sErrList)) ;
|
||||
return (( wsErrList == nullptr) ? FALSE : TRUE) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Simulation
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user