diff --git a/EInAPI.h b/EInAPI.h index 4acf2d7..ecbdc2f 100644 --- a/EInAPI.h +++ b/EInAPI.h @@ -44,6 +44,7 @@ EIN_EXPORT void __stdcall EgtEnableCommandLogger( void) ; EIN_EXPORT void __stdcall EgtDisableCommandLogger( void) ; EIN_EXPORT BOOL __stdcall EgtGetVersionInfo( wchar_t*& wsVer) ; EIN_EXPORT BOOL __stdcall EgtGetKeyInfo( wchar_t*& wsKey) ; +EIN_EXPORT BOOL __stdcall EgtGetKeyLevel( int nProd, int nVer, int nLev, int* pnKLev) ; EIN_EXPORT BOOL __stdcall EgtGetKeyOptions( int nProd, int nVer, int nLev, unsigned int* pnOpt2) ; EIN_EXPORT BOOL __stdcall EgtGetOsInfo( wchar_t*& wsOs) ; EIN_EXPORT BOOL __stdcall EgtGetCpuInfo( wchar_t*& wsCpu) ; diff --git a/EMkMachiningConst.h b/EMkMachiningConst.h index 5d79427..46ed736 100644 --- a/EMkMachiningConst.h +++ b/EMkMachiningConst.h @@ -26,12 +26,20 @@ const int MGP_STR = 0x8000 ; enum MgpType { MGP_NONE = 0, MGP_COMP3A = ( MGP_BOOL + 0), MGP_COMP5A = ( MGP_BOOL + 1), + MGP_SPLITARCS = ( MGP_INT + 0), MGP_SAFEZ = ( MGP_DOU + 0), MGP_EXTRALONCUTREG = ( MGP_DOU + 1), MGP_EXTRARONDRIREG = ( MGP_DOU + 2), MGP_HOLEDIAMTOLER = ( MGP_DOU + 3), MGP_EXTSAWARCMINRAD =( MGP_DOU + 4)} ; +//---------------------------------------------------------------------------- +// Costanti per tipologia di split arcs +enum { SPLAR_NEVER = 0, + SPLAR_GEN_PLANE = 1, + SPLAR_NO_XY_PLANE = 2, + SPLAR_ALWAYS = 3} ; + //---------------------------------------------------------------------------- // Tipologie di lavorazioni (derivano da tipologie di operazioni) enum MachiningType { diff --git a/EXeExecutor.h b/EXeExecutor.h index d8a9b78..8bfb61d 100644 --- a/EXeExecutor.h +++ b/EXeExecutor.h @@ -46,6 +46,7 @@ EXE_EXPORT bool ExeEnableCommandLogger( void) ; EXE_EXPORT bool ExeDisableCommandLogger( void) ; EXE_EXPORT bool ExeGetVersionInfo( std::string& sVer, const char* szNewLine) ; EXE_EXPORT bool ExeGetKeyInfo( std::string& sKey) ; +EXE_EXPORT bool ExeGetKeyLevel( int nProd, int nVer, int nLev, int& nKLev) ; EXE_EXPORT bool ExeGetKeyOptions( int nProd, int nVer, int nLev, unsigned int& nOpt2) ; EXE_EXPORT bool ExeGetOsInfo( std::string& sOs) ; EXE_EXPORT bool ExeGetCpuInfo( std::string& sCpu) ;