EgtMachKernel :
- aggiunta in interfaccia funzione ExistsCurrSetup.
This commit is contained in:
@@ -214,10 +214,11 @@ class MachMgr : public IMachMgr
|
|||||||
int GetCurrSetup( void) const override ;
|
int GetCurrSetup( void) const override ;
|
||||||
bool GetDefaultSetupName( std::string& sName) const override ;
|
bool GetDefaultSetupName( std::string& sName) const override ;
|
||||||
bool ImportSetup( const std::string& sName) override ;
|
bool ImportSetup( const std::string& sName) override ;
|
||||||
|
bool ExistsCurrSetup( void) const override ;
|
||||||
bool VerifyCurrSetup( STRVECTOR& vsErrors) override ;
|
bool VerifyCurrSetup( STRVECTOR& vsErrors) override ;
|
||||||
bool FindToolInCurrSetup( const std::string& sTool) override ;
|
bool FindToolInCurrSetup( const std::string& sTool) const override ;
|
||||||
bool GetToolSetupPosInCurrSetup( const std::string& sTool, std::string& sTcPos) override ;
|
bool GetToolSetupPosInCurrSetup( const std::string& sTool, std::string& sTcPos) const override ;
|
||||||
bool GetToolsInCurrSetupPos( const std::string& sTcPos, STRVECTOR& vsTools) override ;
|
bool GetToolsInCurrSetupPos( const std::string& sTcPos, STRVECTOR& vsTools) const override ;
|
||||||
bool UpdateCurrSetup( void) override ;
|
bool UpdateCurrSetup( void) override ;
|
||||||
bool EraseCurrSetup( void) override ;
|
bool EraseCurrSetup( void) override ;
|
||||||
// Machinings DataBase
|
// Machinings DataBase
|
||||||
|
|||||||
+10
-3
@@ -71,6 +71,13 @@ MachMgr::ImportSetup( const string& sName)
|
|||||||
return m_stuMgr.Save() ;
|
return m_stuMgr.Save() ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//----------------------------------------------------------------------------
|
||||||
|
bool
|
||||||
|
MachMgr::ExistsCurrSetup( void) const
|
||||||
|
{
|
||||||
|
return m_stuMgr.Exists() ;
|
||||||
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
bool
|
bool
|
||||||
MachMgr::VerifyCurrSetup( STRVECTOR& vsErrors)
|
MachMgr::VerifyCurrSetup( STRVECTOR& vsErrors)
|
||||||
@@ -125,21 +132,21 @@ MachMgr::VerifyCurrSetup( STRVECTOR& vsErrors)
|
|||||||
|
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
bool
|
bool
|
||||||
MachMgr::FindToolInCurrSetup( const string& sTool)
|
MachMgr::FindToolInCurrSetup( const string& sTool) const
|
||||||
{
|
{
|
||||||
return m_stuMgr.FindTool( sTool) ;
|
return m_stuMgr.FindTool( sTool) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
bool
|
bool
|
||||||
MachMgr::GetToolSetupPosInCurrSetup( const string& sTool, string& sTcPos)
|
MachMgr::GetToolSetupPosInCurrSetup( const string& sTool, string& sTcPos) const
|
||||||
{
|
{
|
||||||
return m_stuMgr.GetToolSetupPos( sTool, sTcPos) ;
|
return m_stuMgr.GetToolSetupPos( sTool, sTcPos) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
bool
|
bool
|
||||||
MachMgr::GetToolsInCurrSetupPos( const string& sTcPos, STRVECTOR& vsTools)
|
MachMgr::GetToolsInCurrSetupPos( const string& sTcPos, STRVECTOR& vsTools) const
|
||||||
{
|
{
|
||||||
return m_stuMgr.GetToolsInSetupPos( sTcPos, vsTools) ;
|
return m_stuMgr.GetToolsInSetupPos( sTcPos, vsTools) ;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user