diff --git a/EInAPI.h b/EInAPI.h index 337cd99..04e4a3e 100644 --- a/EInAPI.h +++ b/EInAPI.h @@ -812,6 +812,7 @@ EIN_EXPORT int __stdcall EgtGetNextFixture( int nFxtId) ; EIN_EXPORT BOOL __stdcall EgtMoveFixture( int nFxtId, const double vtMove[3]) ; EIN_EXPORT BOOL __stdcall EgtRotateFixture( int nFxtId, double dDeltaAngDeg) ; EIN_EXPORT BOOL __stdcall EgtMoveFixtureMobile( int nFxtId, double dDeltaMov) ; +EIN_EXPORT BOOL __stdcall EgtSetFixtureMobile( int nFxtId, double dMov) ; // Tools DataBase EIN_EXPORT BOOL __stdcall EgtTdbGetToolNewName( const wchar_t* wsName, wchar_t*& wsNewName) ; EIN_EXPORT BOOL __stdcall EgtTdbAddTool( const wchar_t* wsName, int nType) ; diff --git a/EMkDispositionConst.h b/EMkDispositionConst.h index dc19ced..d7a9c2c 100644 --- a/EMkDispositionConst.h +++ b/EMkDispositionConst.h @@ -30,5 +30,7 @@ enum RawPartCenterPos { MCH_CE_TC = 1, // top center //------------------------ Costanti per fixtures ------------------------------ static std::string FXT_MOBILE = "MOBILE" ; // gruppo parte mobile +static std::string FXT_MOB_MINPOS = "MINPOS" ; // posizione minima della parte mobile +static std::string FXT_MOB_MAXPOS = "MAXPOS" ; // posizione massima della parte mobile static std::string FXT_MOB_CPOS = "CPOS" ; // posizione corrente della parte mobile static std::string FXT_MOB_MOVEDIR = "MDIR" ; // direzione di movimento della parte mobile (default Z di gruppo) diff --git a/EMkMachMgr.h b/EMkMachMgr.h index 5153a65..a4a9ab8 100644 --- a/EMkMachMgr.h +++ b/EMkMachMgr.h @@ -129,6 +129,7 @@ class __declspec( novtable) IMachMgr virtual bool MoveFixture( int nId, const Vector3d& vtMove) = 0 ; virtual bool RotateFixture( int nId, double dDeltaAngDeg) = 0 ; virtual bool MoveFixtureMobile( int nId, double dDeltaMov) = 0 ; + virtual bool SetFixtureMobile( int nId, double dMov) = 0 ; // Tools DataBase virtual bool TdbGetToolNewName( std::string& sName) const = 0 ; virtual bool TdbAddTool( const std::string& sName, int nType) = 0 ; diff --git a/EXeExecutor.h b/EXeExecutor.h index 202481a..eb9733d 100644 --- a/EXeExecutor.h +++ b/EXeExecutor.h @@ -1082,6 +1082,7 @@ EXE_EXPORT int ExeGetNextFixture( int nFxtId) ; EXE_EXPORT bool ExeMoveFixture( int nFxtId, const Vector3d& vtMove) ; EXE_EXPORT bool ExeRotateFixture( int nFxtId, double dDeltaAngDeg) ; EXE_EXPORT bool ExeMoveFixtureMobile( int nFxtId, double dDeltaMove) ; +EXE_EXPORT bool ExeSetFixtureMobile( int nFxtId, double dMove) ; // Tools Database EXE_EXPORT bool ExeTdbGetToolNewName( std::string& sName) ; EXE_EXPORT bool ExeTdbAddTool( const std::string& sName, int nType) ;