diff --git a/API_MachMgr.cpp b/API_MachMgr.cpp index 8c56790..5001345 100644 --- a/API_MachMgr.cpp +++ b/API_MachMgr.cpp @@ -241,9 +241,9 @@ __stdcall EgtModifyRawPartHeight( int nRawId, double dHeight) //----------------------------------------------------------------------------- BOOL -__stdcall EgtKeepRawPart( int nRawId) +__stdcall EgtKeepRawPart( int nRawId, int nSouPhase) { - return ( ExeKeepRawPart( nRawId) ? TRUE : FALSE) ; + return ( ExeKeepRawPart( nRawId, nSouPhase) ? TRUE : FALSE) ; } //----------------------------------------------------------------------------- @@ -393,6 +393,62 @@ __stdcall EgtShowOnlyTable( bool bVal) return ( ExeShowOnlyTable( bVal) ? TRUE : FALSE) ; } +//----------------------------------------------------------------------------- +int +__stdcall EgtAddFixture( const wchar_t* wsName, const double ptPos[3], double dAngRotDeg, double dMov) +{ + return ExeAddFixture( wstrztoA( wsName), ptPos, dAngRotDeg, dMov) ; +} + +//----------------------------------------------------------------------------- +BOOL +__stdcall EgtKeepFixture( int nFxtId, int nSouPhase) +{ + return ( ExeKeepFixture( nFxtId, nSouPhase) ? TRUE : FALSE) ; +} + +//----------------------------------------------------------------------------- +BOOL +__stdcall EgtRemoveFixture( int nFxtId) +{ + return ( ExeRemoveFixture( nFxtId) ? TRUE : FALSE) ; +} + +//----------------------------------------------------------------------------- +int +__stdcall EgtGetFirstFixture( void) +{ + return ExeGetFirstFixture() ; +} + +//----------------------------------------------------------------------------- +int +__stdcall EgtGetNextFixture( int nFxtId) +{ + return ExeGetNextFixture( nFxtId) ; +} + +//----------------------------------------------------------------------------- +BOOL +__stdcall EgtMoveFixture( int nFxtId, const double vtMove[3]) +{ + return ( ExeMoveFixture( nFxtId, vtMove) ? TRUE : FALSE) ; +} + +//----------------------------------------------------------------------------- +BOOL +__stdcall EgtRotateFixture( int nFxtId, double dDeltaAngDeg) +{ + return ( ExeRotateFixture( nFxtId, dDeltaAngDeg) ? TRUE : FALSE) ; +} + +//----------------------------------------------------------------------------- +BOOL +__stdcall EgtMoveFixtureMobile( int nFxtId, double dDeltaMov) +{ + return ( ExeMoveFixtureMobile( nFxtId, dDeltaMov) ? TRUE : FALSE) ; +} + //----------------------------------------------------------------------------- // Tools DataBase //----------------------------------------------------------------------------- @@ -595,7 +651,7 @@ __stdcall EgtTdbGetToolHolderDir( wchar_t*& wsTHolderDir) } //----------------------------------------------------------------------------- -// Machiningss DataBase +// Machinings DataBase //----------------------------------------------------------------------------- BOOL __stdcall EgtMdbGetMachiningNewName( const wchar_t* wsName, wchar_t*& wsNewName) diff --git a/EgtInterface.rc b/EgtInterface.rc index eb685fd..d01c2ac 100644 Binary files a/EgtInterface.rc and b/EgtInterface.rc differ