EgtInterface 1.6u3 :
- aggiunta EgtMdbGetMachiningFromUUID.
This commit is contained in:
+14
-1
@@ -437,7 +437,7 @@ __stdcall EgtTdbGetNextTool( int nFamily, wchar_t*& wsName, int* pnType)
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtTdbGetToolFromUUID( wchar_t* wsTuuid, wchar_t*& wsName)
|
||||
__stdcall EgtTdbGetToolFromUUID( const wchar_t* wsTuuid, wchar_t*& wsName)
|
||||
{
|
||||
if ( &wsName == nullptr)
|
||||
return FALSE ;
|
||||
@@ -636,6 +636,19 @@ __stdcall EgtMdbGetNextMachining( int nType, wchar_t*& wsName)
|
||||
return (( wsName == nullptr) ? FALSE : TRUE) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtMdbGetMachiningFromUUID( const wchar_t* wsMuuid, wchar_t*& wsName)
|
||||
{
|
||||
if ( &wsName == nullptr)
|
||||
return FALSE ;
|
||||
string sName ;
|
||||
if ( ! ExeMdbGetMachiningFromUUID( wstrztoA( wsMuuid), sName))
|
||||
return FALSE ;
|
||||
wsName = _wcsdup( stringtoW( sName)) ;
|
||||
return (( wsName == nullptr) ? FALSE : TRUE) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtMdbSetCurrMachining( const wchar_t* wsName)
|
||||
|
||||
Reference in New Issue
Block a user