diff --git a/EMkMachMgr.h b/EMkMachMgr.h index 7dd03ba..9294148 100644 --- a/EMkMachMgr.h +++ b/EMkMachMgr.h @@ -1,7 +1,7 @@ //---------------------------------------------------------------------------- -// EgalTech 2015-2019 +// EgalTech 2015-2020 //---------------------------------------------------------------------------- -// File : EMkMachMgr.h Data : 26.06.19 Versione : 2.1f3 +// File : EMkMachMgr.h Data : 17.08.20 Versione : 2.2h2 // Contenuto : Dichiarazione della interfaccia IMachMgr. // // @@ -9,6 +9,7 @@ // Modifiche : 23.03.15 DS Creazione modulo. // 16.05.19 DS Aggiunto parametro sToolMakersDir a Init. // 26.06.19 DS Aggiunta gestione Warnings. +// 17.08.20 DS Aggiunte GetAxisMin e GetAxisMax. // //---------------------------------------------------------------------------- @@ -293,6 +294,8 @@ class __declspec( novtable) IMachMgr virtual bool GetAxisInvert( const std::string& sAxis, bool& bInvert) const = 0 ; virtual bool SetAxisPos( const std::string& sAxis, double dVal, double* pdNewVal = nullptr) = 0 ; virtual bool GetAxisPos( const std::string& sAxis, double& dVal) const = 0 ; + virtual bool GetAxisMin( const std::string& sAxis, double& dMin) const = 0 ; + virtual bool GetAxisMax( const std::string& sAxis, double& dMaxn) const = 0 ; virtual bool GetAxisHomePos( const std::string& sAxis, double& dHomeVal) const = 0 ; virtual bool ResetAxisPos( const std::string& sAxis) = 0 ; virtual bool ResetAllAxesPos( void) = 0 ; diff --git a/EXeExecutor.h b/EXeExecutor.h index 9abca96..423016b 100644 --- a/EXeExecutor.h +++ b/EXeExecutor.h @@ -1011,6 +1011,8 @@ EXE_EXPORT bool ExeGetOutstrokeInfo( std::string& sInfo) ; // Machine Move EXE_EXPORT bool ExeSetAxisPos( const std::string& sAxis, double dVal, double* pdNewVal = nullptr) ; EXE_EXPORT bool ExeGetAxisPos( const std::string& sAxis, double* pdVal) ; +EXE_EXPORT bool ExeGetAxisMin( const std::string& sAxis, double* pdMin) ; +EXE_EXPORT bool ExeGetAxisMax( const std::string& sAxis, double* pdMax) ; EXE_EXPORT bool ExeGetAxisHomePos( const std::string& sAxis, double* pdHomeVal) ; EXE_EXPORT bool ExeResetAxisPos( const std::string& sAxis) ; EXE_EXPORT bool ExeLoadTool( const std::string& sHead, int nExit, const std::string& sTool) ;