EgtMachKernel 1.6x6 :
- aggiunta MachMgr::GetHeadExitCount.
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
#include "stdafx.h"
|
||||
#include "MachMgr.h"
|
||||
#include "DllMain.h"
|
||||
#include "Head.h"
|
||||
#include "Exit.h"
|
||||
#include "/EgtDev/Include/EMkToolConst.h"
|
||||
#include "/EgtDev/Include/EGnStringUtils.h"
|
||||
@@ -22,6 +23,14 @@
|
||||
|
||||
using namespace std ;
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
int
|
||||
Machine::GetHeadExitCount( const string& sHead) const
|
||||
{
|
||||
Head* pHead = GetHead( GetGroup( sHead)) ;
|
||||
return ( ( pHead != nullptr) ? pHead->GetExitCount() : 0) ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
Machine::LoadTool( const string& sHead, int nExit, const string& sTool)
|
||||
|
||||
Reference in New Issue
Block a user