Include :

- aggiornamento.
This commit is contained in:
Dario Sassi
2016-01-27 16:36:32 +00:00
parent 0871a31cd0
commit 880fd92e1b
2 changed files with 8 additions and 1 deletions
+2
View File
@@ -116,7 +116,9 @@ class __declspec( novtable) IMachMgr
virtual bool MdbGetCurrMachiningParam( int nType, int& nVal) const = 0 ;
virtual bool MdbGetCurrMachiningParam( int nType, double& dVal) const = 0 ;
virtual bool MdbGetCurrMachiningParam( int nType, std::string& sVal) const = 0 ;
virtual bool MdbSetGeneralParam( int nType, bool bVal) = 0 ;
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 MdbSave( void) const = 0 ;
virtual bool MdbGetMachiningDir( std::string& sMchDir) const = 0 ;
+6 -1
View File
@@ -24,9 +24,12 @@ const int MGP_DOU = 0x4000 ;
const int MGP_STR = 0x8000 ;
// Costanti tipo parametri generali delle lavorazioni
enum MgpType { MGP_NONE = 0,
MGP_COMP3A = ( MGP_BOOL + 0),
MGP_COMP5A = ( MGP_BOOL + 1),
MGP_SAFEZ = ( MGP_DOU + 0),
MGP_EXTRALONCUTREG = ( MGP_DOU + 1),
MGP_EXTRARONDRIREG = ( MGP_DOU + 2)} ;
MGP_EXTRARONDRIREG = ( MGP_DOU + 2),
MGP_HOLEDIAMTOLER = ( MGP_DOU + 3)} ;
//----------------------------------------------------------------------------
// Tipologie di lavorazioni (derivano da tipologie di operazioni)
@@ -90,6 +93,8 @@ enum MpaType { MPA_NONE = 0,
MPA_STARTADDLEN = ( MPA_DOU + 29),
MPA_ENDADDLEN = ( MPA_DOU + 30),
MPA_OFFSET = ( MPA_DOU + 31), // solo set, get con MPA_OFFSET_STR
MPA_STEPEXTARC = ( MPA_DOU + 32),
MPA_STEPINTARC = ( MPA_DOU + 33),
MPA_NAME = ( MPA_STR + 0),
MPA_TOOL = ( MPA_STR + 1),
MPA_DEPTH_STR = ( MPA_STR + 2),