EgtInterface 1.6p4 :

- aggiornamento con aggiunta funzioni di interfaccia.
This commit is contained in:
Dario Sassi
2016-05-05 07:32:54 +00:00
parent fe543f3a55
commit eb0ae7d037
3 changed files with 46 additions and 7 deletions
+39 -7
View File
@@ -317,13 +317,6 @@ __stdcall EgtRemovePartFromRawPart( int nPartId)
//-----------------------------------------------------------------------------
// Table & Fixtures
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtExistsTable( const wchar_t* wsTable)
{
return ( ExeExistsTable( wstrztoA( wsTable)) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtSetTable( const wchar_t* wsTable)
@@ -872,6 +865,8 @@ __stdcall EgtChangeOperationPhase( int nId, int nNewPhase)
return ( ExeChangeOperationPhase( nId, nNewPhase) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
// Dispositions
//-----------------------------------------------------------------------------
int
__stdcall EgtGetPhaseDisposition( int nPhase)
@@ -879,6 +874,13 @@ __stdcall EgtGetPhaseDisposition( int nPhase)
return ExeGetPhaseDisposition( nPhase) ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtSpecialApplyDisposition( int nId, BOOL bRecalc)
{
return ( ExeSpecialApplyDisposition( nId, bRecalc != FALSE) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
// Machinings
//-----------------------------------------------------------------------------
@@ -1100,6 +1102,36 @@ __stdcall EgtGenerate( const wchar_t* wsCncFile, const wchar_t* wsInfo)
return ( ExeGenerate( wstrztoA( wsCncFile), wstrztoA( wsInfo)) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
// Machine
//-----------------------------------------------------------------------------
int
__stdcall EgtGetBaseId( const wchar_t* wsBase)
{
return ExeGetBaseId( wstrztoA( wsBase)) ;
}
//-----------------------------------------------------------------------------
int
__stdcall EgtGetTableId( const wchar_t* wsTable)
{
return ExeGetTableId( wstrztoA( wsTable)) ;
}
//-----------------------------------------------------------------------------
int
__stdcall EgtGetAxisId( const wchar_t* wsAxis)
{
return ExeGetAxisId( wstrztoA( wsAxis)) ;
}
//-----------------------------------------------------------------------------
int
__stdcall EgtGetHeadId( const wchar_t* wsHead)
{
return ExeGetHeadId( wstrztoA( wsHead)) ;
}
//-----------------------------------------------------------------------------
// Machine Calc
//-----------------------------------------------------------------------------