diff --git a/ToolData.cpp b/ToolData.cpp index 443cd4d..143d743 100644 --- a/ToolData.cpp +++ b/ToolData.cpp @@ -17,6 +17,7 @@ #include "/EgtDev/Include/EMkToolConst.h" #include "/EgtDev/Include/EGkGeoConst.h" #include "/EgtDev/Include/EGnStringUtils.h" +#include "/EgtDEv/Include/EGnStringKeyVal.h" #include "/EgtDev/Include/EGnEgtUUID.h" #include #include @@ -261,6 +262,10 @@ ToolData::VerifySpeed( double dVal) const bool ToolData::SetParam( int nType, bool bVal) { + switch ( nType) { + case TPA_ACTIVE : + return SetValInNotes( TSI_ACTIVE, bVal, m_sSysNotes) ; + } return false ; } @@ -385,6 +390,10 @@ ToolData::SetParam( int nType, const string& sVal) bool ToolData::GetParam( int nType, bool& bVal) const { + switch ( nType) { + case TPA_ACTIVE : + return GetValInNotes( m_sSysNotes, TSI_ACTIVE, bVal) ; + } bVal = false ; return false ; }