From 28dabdccc8c11e74201bd0501d3a2a75c69a413b Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Mon, 17 Oct 2016 08:00:26 +0000 Subject: [PATCH] EgtInterface 1.6v3 : - estesa EgtKeepRawPart e aggiunta EgtKeepFixture. --- API_MachMgr.cpp | 62 +++++++++++++++++++++++++++++++++++++++++++++--- EgtInterface.rc | Bin 11726 -> 11726 bytes 2 files changed, 59 insertions(+), 3 deletions(-) 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 eb685fdcbac2570690ffde767c5d53ac45ce22a5..d01c2ace59a05d518688010e7f594f1cf8213348 100644 GIT binary patch delta 113 zcmX>XeJ*;#A2vqg%@4(HGEKh5na5~6`6H+9WG^L)&3#f*jGK>e8!&^VPclv3Cs+lM i-t491#khHcFjUGNr~*ls7YjlI&*XKAP&0v=TDSp^FDUH* delta 113 zcmX>XeJ*;#A2vp#%@4(HGEKh5na5}}`6H+9WG^L)&3#f*jGK>e8!&^VPclv3Cs+lM i-t491#khHcFjUGNr~*ls7YjlI&*XKAP&0v=TDSp?WhmtU