diff --git a/EInAPI.h b/EInAPI.h index 202cb02..925d22c 100644 --- a/EInAPI.h +++ b/EInAPI.h @@ -591,6 +591,7 @@ EIN_EXPORT BOOL __stdcall EgtVerifyOutstroke( double dX, double dY, double dZ, d EIN_EXPORT BOOL __stdcall EgtGetOutstrokeInfo( wchar_t*& wsInfo) ; // Machine Move EIN_EXPORT BOOL __stdcall EgtSetAxisPos( const wchar_t* wsAxis, double dVal) ; +EIN_EXPORT BOOL __stdcall EgtSetMachineLook( int nFlag) ; // Scene EIN_EXPORT BOOL __stdcall EgtInitScene( HWND hWnd, int nDriver, BOOL b2Buff, int nColorBits, int nDepthBits) ; diff --git a/EMkMachMgr.h b/EMkMachMgr.h index e520d89..0707695 100644 --- a/EMkMachMgr.h +++ b/EMkMachMgr.h @@ -192,6 +192,7 @@ class __declspec( novtable) IMachMgr virtual bool ResetAllAxesPos( void) = 0 ; virtual bool LoadTool( const std::string& sHead, int nExit, const std::string& sTool) = 0 ; virtual bool ResetHeadSet( const std::string& sHead) = 0 ; + virtual bool SetMachineLook( int nFlag) = 0 ; } ; //----------------------------------------------------------------------------- diff --git a/EMkSimuGenConst.h b/EMkSimuGenConst.h index 5ae2909..c5b3903 100644 --- a/EMkSimuGenConst.h +++ b/EMkSimuGenConst.h @@ -31,4 +31,9 @@ enum SimuStat { MCH_SIM_OK = 0, MCH_SIM_OUTSTROKE = 3, MCH_SIM_DIR_ERR = 4, MCH_SIM_ERR = 5} ; - \ No newline at end of file + +//------------------------ Stato di visualizzazione della macchina ------------ +enum MachLook { MCH_LOOK_TAB = 0, + MCH_LOOK_TAB_TOOL = 1, + MCH_LOOK_TAB_HEAD = 2, + MCH_LOOK_ALL = 3} ; diff --git a/EXeExecutor.h b/EXeExecutor.h index bc7a670..93eacc2 100644 --- a/EXeExecutor.h +++ b/EXeExecutor.h @@ -652,6 +652,7 @@ 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) ; EXE_EXPORT bool ExeResetHeadSet( const std::string& sHead) ; +EXE_EXPORT bool ExeSetMachineLook( int nFlag) ; // Scene EXE_EXPORT bool ExeInitScene( HWND hWnd, int nDriver, bool b2Buff, int nColorBits, int nDepthBits) ;