diff --git a/EInAPI.h b/EInAPI.h index f373fc3..715e551 100644 --- a/EInAPI.h +++ b/EInAPI.h @@ -597,6 +597,7 @@ EIN_EXPORT BOOL __stdcall EgtTdbGetCurrToolParamBool( int nType, BOOL* pbVal) ; EIN_EXPORT BOOL __stdcall EgtTdbGetCurrToolParamInt( int nType, int* pnVal) ; EIN_EXPORT BOOL __stdcall EgtTdbGetCurrToolParamDouble( int nType, double* pdVal) ; EIN_EXPORT BOOL __stdcall EgtTdbGetCurrToolParamString( int nType, wchar_t*& wsVal) ; +EIN_EXPORT BOOL __stdcall EgtTdbReload( void) ; EIN_EXPORT BOOL __stdcall EgtTdbSave( void) ; EIN_EXPORT BOOL __stdcall EgtTdbGetToolDir( wchar_t*& wsToolDir) ; EIN_EXPORT BOOL __stdcall EgtTdbGetToolHolderDir( wchar_t*& wsTHolderDir) ; @@ -621,6 +622,7 @@ EIN_EXPORT BOOL __stdcall EgtMdbGetCurrMachiningParamDouble( int nType, double* EIN_EXPORT BOOL __stdcall EgtMdbGetCurrMachiningParamString( int nType, wchar_t*& wsVal) ; EIN_EXPORT BOOL __stdcall EgtMdbSetGeneralParamDouble( int nType, double dVal) ; EIN_EXPORT BOOL __stdcall EgtMdbGetGeneralParamDouble( int nType, double* pdVal) ; +EIN_EXPORT BOOL __stdcall EgtMdbReload( void) ; EIN_EXPORT BOOL __stdcall EgtMdbSave( void) ; EIN_EXPORT BOOL __stdcall EgtMdbGetMachiningDir( wchar_t*& wsMchDir) ; // Operations @@ -646,6 +648,7 @@ EIN_EXPORT BOOL __stdcall EgtSetOperationStatus( int nId, BOOL bShow) ; EIN_EXPORT BOOL __stdcall EgtGetOperationStatus( int nId) ; EIN_EXPORT BOOL __stdcall EgtSetAllOperationsStatus( BOOL bShow) ; EIN_EXPORT BOOL __stdcall EgtChangeOperationPhase( int nId, int nNewPhase) ; +EIN_EXPORT int __stdcall EgtGetPhaseLastOperation( int nPhase) ; EIN_EXPORT BOOL __stdcall EgtRemoveOperationHome( int nId) ; // Dispositions EIN_EXPORT int __stdcall EgtGetPhaseDisposition( int nPhase) ; diff --git a/EMkMachMgr.h b/EMkMachMgr.h index 1a1ef5d..75ce7e1 100644 --- a/EMkMachMgr.h +++ b/EMkMachMgr.h @@ -116,6 +116,7 @@ class __declspec( novtable) IMachMgr virtual bool TdbGetCurrToolParam( int nType, int& nVal) const = 0 ; virtual bool TdbGetCurrToolParam( int nType, double& dVal) const = 0 ; virtual bool TdbGetCurrToolParam( int nType, std::string& sVal) const = 0 ; + virtual bool TdbReload( void) = 0 ; virtual bool TdbSave( void) const = 0 ; virtual bool TdbGetToolDir( std::string& sToolDir) const = 0 ; virtual bool TdbGetToolHolderDir( std::string& sTHolderDir) const = 0 ; @@ -142,6 +143,7 @@ class __declspec( novtable) IMachMgr virtual bool MdbSetGeneralParam( int nType, double dVal) = 0 ; virtual bool MdbGetGeneralParam( int nType, bool& bVal) const = 0 ; virtual bool MdbGetGeneralParam( int nType, double& dVal) const = 0 ; + virtual bool MdbReload( void) = 0 ; virtual bool MdbSave( void) const = 0 ; virtual bool MdbGetMachiningDir( std::string& sMchDir) const = 0 ; // Operations : general @@ -169,6 +171,7 @@ class __declspec( novtable) IMachMgr virtual bool GetOperationStatus( int nId, bool& bShow) const = 0 ; virtual bool SetAllOperationsStatus( bool bExceptFirstDisp, bool bShow) = 0 ; virtual bool ChangeOperationPhase( int nMchId, int nNewPhase) = 0 ; + virtual int GetPhaseLastOperation( int nPhase) const = 0 ; virtual bool RemoveOperationHome( int nId) = 0 ; // Operations : dispositions virtual int GetPhaseDisposition( int nPhase) const = 0 ; diff --git a/EXeExecutor.h b/EXeExecutor.h index 07a467c..f95264f 100644 --- a/EXeExecutor.h +++ b/EXeExecutor.h @@ -634,6 +634,7 @@ EXE_EXPORT bool ExeTdbGetCurrToolParam( int nType, bool& nVal) ; EXE_EXPORT bool ExeTdbGetCurrToolParam( int nType, int& nVal) ; EXE_EXPORT bool ExeTdbGetCurrToolParam( int nType, double& dVal) ; EXE_EXPORT bool ExeTdbGetCurrToolParam( int nType, std::string& sVal) ; +EXE_EXPORT bool ExeTdbReload( void) ; EXE_EXPORT bool ExeTdbSave( void) ; EXE_EXPORT bool ExeTdbGetToolDir( std::string& sToolDir) ; EXE_EXPORT bool ExeTdbGetToolHolderDir( std::string& sTHolderDir) ; @@ -658,6 +659,7 @@ EXE_EXPORT bool ExeMdbGetCurrMachiningParam( int nType, double& dVal) ; EXE_EXPORT bool ExeMdbGetCurrMachiningParam( int nType, std::string& sVal) ; EXE_EXPORT bool ExeMdbSetGeneralParam( int nType, double dVal) ; EXE_EXPORT bool ExeMdbGetGeneralParam( int nType, double& dVal) ; +EXE_EXPORT bool ExeMdbReload( void) ; EXE_EXPORT bool ExeMdbSave( void) ; EXE_EXPORT bool ExeMdbGetMachiningDir( std::string& sMchDir) ; // Operations @@ -684,6 +686,7 @@ EXE_EXPORT bool ExeSetOperationStatus( int nId, bool bShow) ; EXE_EXPORT bool ExeGetOperationStatus( int nId, bool& bShow) ; EXE_EXPORT bool ExeSetAllOperationsStatus( bool bShow) ; EXE_EXPORT bool ExeChangeOperationPhase( int nMchId, int nNewPhase) ; +EXE_EXPORT int ExeGetPhaseLastOperation( int nPhase) ; EXE_EXPORT bool ExeRemoveOperationHome( int nId) ; // Dispositions EXE_EXPORT int ExeGetPhaseDisposition( int nPhase) ;