EgtInterface :
- razionalizzazione della interfaccia di simulazione.
This commit is contained in:
+23
-16
@@ -1483,6 +1483,13 @@ __stdcall EgtUpdateAllMachinings( BOOL bStopOnFirstErr, wchar_t*& wsErrList)
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Simulation
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtSimInit( void)
|
||||
{
|
||||
return ( ExeSimInit() ? TRUE : FALSE) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtSimStart( BOOL bFirst)
|
||||
@@ -1508,6 +1515,20 @@ __stdcall EgtSimHome( void)
|
||||
return ( ExeSimHome() ? TRUE : FALSE) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtSimSetStep( double dStep)
|
||||
{
|
||||
return ( ExeSimSetStep( dStep) ? TRUE : FALSE) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtSimSetUiStatus( int nUiStatus)
|
||||
{
|
||||
return ( ExeSimSetUiStatus( nUiStatus) ? TRUE : FALSE) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtSimGetAxisInfoPos( int nI, wchar_t*& wsName, wchar_t*& wsToken, BOOL* pbLinear, double* pdVal)
|
||||
@@ -1562,23 +1583,9 @@ __stdcall EgtSimGetMoveInfo( int* pnGmove, double* pdFeed)
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtSimSetStep( double dStep)
|
||||
__stdcall EgtSimExit( void)
|
||||
{
|
||||
return ( ExeSimSetStep( dStep) ? TRUE : FALSE) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtSimSetUiStatus( int nUiStatus)
|
||||
{
|
||||
return ( ExeSimSetUiStatus( nUiStatus) ? TRUE : FALSE) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtSimStop( void)
|
||||
{
|
||||
return ( ExeSimStop() ? TRUE : FALSE) ;
|
||||
return ( ExeSimExit() ? TRUE : FALSE) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user