From 8b946f136e651172436ab5b23e2b46b38d68c5b3 Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Thu, 17 Dec 2015 10:45:55 +0000 Subject: [PATCH] EgtInterface 1.6l3 : - aggiunta gestione attivazione e stato di visualizzazione di una operazione. --- API_MachMgr.cpp | 49 ++++++++++++++++++++++++++++++++++++++++++++++++ EgtInterface.rc | Bin 11726 -> 11726 bytes 2 files changed, 49 insertions(+) diff --git a/API_MachMgr.cpp b/API_MachMgr.cpp index 6709023..e27885d 100644 --- a/API_MachMgr.cpp +++ b/API_MachMgr.cpp @@ -202,6 +202,27 @@ __stdcall EgtMoveRawPart( int nRawId, const double vtMove[3]) return ( ExeMoveRawPart( nRawId, vtMove) ? TRUE : FALSE) ; } +//----------------------------------------------------------------------------- +int +__stdcall EgtGetPartInRawPartCount( int nRawId) +{ + return ExeGetPartInRawPartCount( nRawId) ; +} + +//----------------------------------------------------------------------------- +int +__stdcall EgtGetFirstPartInRawPart( int nRawId) +{ + return ExeGetFirstPartInRawPart( nRawId) ; +} + +//----------------------------------------------------------------------------- +int +__stdcall EgtGetNextPartInRawPart( int nPartId) +{ + return ExeGetNextPartInRawPart( nPartId) ; +} + //----------------------------------------------------------------------------- BOOL __stdcall EgtAddPartToRawPart( int nPartId, const double ptPos[3], int nRawId) @@ -656,6 +677,34 @@ __stdcall EgtRemoveAllOperations( void) return ( ExeRemoveAllOperations() ? TRUE : FALSE) ; } +//----------------------------------------------------------------------------- +BOOL +__stdcall EgtSetOperationMode( int nId, BOOL bActive) +{ + return ( ExeSetOperationMode( nId, bActive!= FALSE) ? TRUE : FALSE) ; +} + +//----------------------------------------------------------------------------- +BOOL +__stdcall EgtSetAllOperationsMode( BOOL bActive) +{ + return ( ExeSetAllOperationsMode( bActive!= FALSE) ? TRUE : FALSE) ; +} + +//----------------------------------------------------------------------------- +BOOL +__stdcall EgtSetOperationStatus( int nId, BOOL bShow) +{ + return ( ExeSetOperationStatus( nId, bShow != FALSE) ? TRUE : FALSE) ; +} + +//----------------------------------------------------------------------------- +BOOL +__stdcall EgtSetAllOperationsStatus( BOOL bShow) +{ + return ( ExeSetAllOperationsStatus( bShow != FALSE) ? TRUE : FALSE) ; +} + //----------------------------------------------------------------------------- // Simulation //----------------------------------------------------------------------------- diff --git a/EgtInterface.rc b/EgtInterface.rc index cfc5f08c2e7f336ecfedddd1411e6ed3ffd792f7..20051d51cf40cccdc86363dbf7da58ba23830baf 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