Include :

- razionalizzazione della interfaccia di simulazione.
This commit is contained in:
Dario Sassi
2018-08-17 07:40:55 +00:00
parent c59482460e
commit e21ab62e8f
3 changed files with 10 additions and 7 deletions
+4 -3
View File
@@ -732,16 +732,17 @@ EIN_EXPORT BOOL __stdcall EgtIsMachiningEmpty( void) ;
EIN_EXPORT BOOL __stdcall EgtApplyAllMachinings( BOOL bRecalc, BOOL bStopOnFirstErr, wchar_t*& wsErrList) ;
EIN_EXPORT BOOL __stdcall EgtUpdateAllMachinings( BOOL bStopOnFirstErr, wchar_t*& wsErrList) ;
// Simulation
EIN_EXPORT BOOL __stdcall EgtSimInit( void) ;
EIN_EXPORT BOOL __stdcall EgtSimStart( BOOL bFirst) ;
EIN_EXPORT BOOL __stdcall EgtSimMove( int* pnStatus) ;
EIN_EXPORT BOOL __stdcall EgtSimHome( void) ;
EIN_EXPORT BOOL __stdcall EgtSimSetStep( double dStep) ;
EIN_EXPORT BOOL __stdcall EgtSimSetUiStatus( int nUiStatus) ;
EIN_EXPORT BOOL __stdcall EgtSimGetAxisInfoPos( int nI, wchar_t*& wsName, wchar_t*& wsToken, BOOL* pbLinear, double* pdVal) ;
EIN_EXPORT BOOL __stdcall EgtSimGetToolInfo( wchar_t*& wsTool, double* pdSpeed) ;
EIN_EXPORT BOOL __stdcall EgtSimGetOperationInfo( wchar_t*& wsName, int* pnType) ;
EIN_EXPORT BOOL __stdcall EgtSimGetMoveInfo( int* pnGmove, double* pdFeed) ;
EIN_EXPORT BOOL __stdcall EgtSimSetStep( double dStep) ;
EIN_EXPORT BOOL __stdcall EgtSimSetUiStatus( int nUiStatus) ;
EIN_EXPORT BOOL __stdcall EgtSimStop( void) ;
EIN_EXPORT BOOL __stdcall EgtSimExit( void) ;
// Generation & T&L estimation
EIN_EXPORT BOOL __stdcall EgtGenerate( const wchar_t* wsCncFile, const wchar_t* wsInfo) ;
EIN_EXPORT BOOL __stdcall EgtEstimate( const wchar_t* wsEstFile, const wchar_t* wsInfo) ;
+2 -1
View File
@@ -225,6 +225,7 @@ class __declspec( novtable) IMachMgr
virtual bool GetMachiningStartPoint( Point3d& ptStart) const = 0 ;
virtual bool GetMachiningEndPoint( Point3d& ptEnd) const = 0 ;
// Simulation
virtual bool SimInit( void) = 0 ;
virtual bool SimStart( bool bFirst) = 0 ;
virtual bool SimMove( int& nStatus) = 0 ;
virtual bool SimGetAxisInfoPos( int nI, std::string& sName, std::string& sToken, bool& bLinear, double& dVal) const = 0 ;
@@ -234,7 +235,7 @@ class __declspec( novtable) IMachMgr
virtual bool SimSetStep( double dStep) = 0 ;
virtual bool SimSetUiStatus( int nUiStatus) = 0 ;
virtual bool SimGoHome( void) = 0 ;
virtual bool SimStop( void) = 0 ;
virtual bool SimExit( void) = 0 ;
// Generation
virtual bool Generate( const std::string& sCncFile, const std::string& sInfo) = 0 ;
virtual bool Estimate( const std::string& sEstFile, const std::string& sInfo) = 0 ;
+4 -3
View File
@@ -821,16 +821,17 @@ EXE_EXPORT bool ExeGetMachiningEndPoint( Point3d& ptEnd) ;
EXE_EXPORT bool ExeApplyAllMachinings( bool bRecalc, bool bStopOnFirstErr, std::string& sErrList) ;
EXE_EXPORT bool ExeUpdateAllMachinings( bool bStopOnFirstErr, std::string& sErrList) ;
// Simulation
EXE_EXPORT bool ExeSimInit( void) ;
EXE_EXPORT bool ExeSimStart( bool bFirst) ;
EXE_EXPORT bool ExeSimMove( int& nStatus) ;
EXE_EXPORT bool ExeSimHome( void) ;
EXE_EXPORT bool ExeSimSetStep( double dStep) ;
EXE_EXPORT bool ExeSimSetUiStatus( int nUiStatus) ;
EXE_EXPORT bool ExeSimGetAxisInfoPos( int nI, std::string& sName, std::string& sToken, bool& bLinear, double& dVal) ;
EXE_EXPORT bool ExeSimGetToolInfo( std::string& sName, double& dSpeed) ;
EXE_EXPORT bool ExeSimGetOperationInfo( std::string& sName, int& nType) ;
EXE_EXPORT bool ExeSimGetMoveInfo( int& nGmove, double& dFeed) ;
EXE_EXPORT bool ExeSimSetStep( double dStep) ;
EXE_EXPORT bool ExeSimSetUiStatus( int nUiStatus) ;
EXE_EXPORT bool ExeSimStop( void) ;
EXE_EXPORT bool ExeSimExit( void) ;
// Generation & T&L estimation
EXE_EXPORT bool ExeGenerate( const std::string& sCncFile, const std::string& sInfo) ;
EXE_EXPORT bool ExeEstimate( const std::string& sEstFile, const std::string& sInfo) ;