EgtInterface :

- razionalizzazione della interfaccia di simulazione.
This commit is contained in:
Dario Sassi
2018-08-17 07:40:25 +00:00
parent 2f472d9785
commit f1fc03e01b
+23 -16
View File
@@ -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) ;
}
//-----------------------------------------------------------------------------