Include :

- aggiornamento prototipi per SimSetUiStatus.
This commit is contained in:
Dario Sassi
2018-03-02 08:10:57 +00:00
parent 482e89f0d5
commit d3d4cfef32
4 changed files with 18 additions and 8 deletions
+1
View File
@@ -729,6 +729,7 @@ EIN_EXPORT BOOL __stdcall EgtSimGetToolInfo( wchar_t*& wsTool, double* pdSpeed)
EIN_EXPORT BOOL __stdcall EgtSimGetOperationInfo( wchar_t*& wsName, int* pnType) ;
EIN_EXPORT BOOL __stdcall EgtSimGetMoveInfo( int* pnGmove, double* pdFeed) ;
EIN_EXPORT BOOL __stdcall EgtSimSetStep( double dStep) ;
EIN_EXPORT BOOL __stdcall EgtSimSetUiStatus( int nUiStatus) ;
EIN_EXPORT BOOL __stdcall EgtSimStop( void) ;
// Generation
EIN_EXPORT BOOL __stdcall EgtGenerate( const wchar_t* wsCncFile, const wchar_t* wsInfo) ;
+1
View File
@@ -230,6 +230,7 @@ class __declspec( novtable) IMachMgr
virtual bool SimGetOperationInfo( std::string& sName, int& nType) const = 0 ;
virtual bool SimGetMoveInfo( int& nGmove, double& dFeed) const = 0 ;
virtual bool SimSetStep( double dStep) = 0 ;
virtual bool SimSetUiStatus( int nUiStatus) = 0 ;
virtual bool SimGoHome( void) = 0 ;
virtual bool SimStop( void) = 0 ;
// Generation
+15 -8
View File
@@ -1,7 +1,7 @@
//----------------------------------------------------------------------------
// EgalTech 2015-2015
// EgalTech 2015-2018
//----------------------------------------------------------------------------
// File : EmkSimuGenConst.h Data : 22.11.15 Versione : 1.6k8
// File : EmkSimuGenConst.h Data : 01.03.18 Versione : 1.9c2
// Contenuto : Costanti per simulazione e generazione.
//
//
@@ -14,12 +14,19 @@
#pragma once
//------------------------ Stato del movimento di simulazione -----------------
enum SimuStat { MCH_SIM_OK = 0,
MCH_SIM_END_STEP = 1,
MCH_SIM_END = 2,
MCH_SIM_OUTSTROKE = 3,
MCH_SIM_DIR_ERR = 4,
MCH_SIM_ERR = 5} ;
enum SimStat { MCH_SIM_OK = 0,
MCH_SIM_END_STEP = 1,
MCH_SIM_END = 2,
MCH_SIM_OUTSTROKE = 3,
MCH_SIM_DIR_ERR = 4,
MCH_SIM_ERR = 5} ;
//------------------------ Stato della simulazione per l'utente ---------------
enum SimUiStat { MCH_UISIM_NULL = 0,
MCH_UISIM_STOP = 1,
MCH_UISIM_PLAY = 2,
MCH_UISIM_STEP = 3,
MCH_UISIM_PAUSE = 4} ;
//------------------------ Stato di visualizzazione della macchina ------------
enum MachLook { MCH_LOOK_NONE = -1,
+1
View File
@@ -809,6 +809,7 @@ EXE_EXPORT bool ExeSimGetToolInfo( std::string& sName, double& dSpeed) ;
EXE_EXPORT bool ExeSimGetOperationInfo( std::string& sName, int& nType) ;
EXE_EXPORT bool ExeSimGetMoveInfo( int& nGmove, double& dFeed) ;
EXE_EXPORT bool ExeSimSetStep( double dStep) ;
EXE_EXPORT bool ExeSimSetUiStatus( int nUiStatus) ;
EXE_EXPORT bool ExeSimStop( void) ;
// Generation
EXE_EXPORT bool ExeGenerate( const std::string& sCncFile, const std::string& sInfo) ;