Fixed: IfActions not fired when measure is disabled

This commit is contained in:
Birunthan Mohanathas
2012-05-30 09:46:11 +03:00
parent 8fb0be30d4
commit 9623766a61
32 changed files with 125 additions and 214 deletions

View File

@ -55,10 +55,8 @@ CMeasureNet::~CMeasureNet()
** Checks if Action should be executed.
**
*/
bool CMeasureNet::Update()
void CMeasureNet::UpdateValue()
{
if (!CMeasure::PreUpdate()) return false;
if (m_MeterWindow)
{
if (!m_TrafficAction.empty())
@ -72,8 +70,6 @@ bool CMeasureNet::Update()
m_CurrentTraffic += m_Value;
}
}
return PostUpdate();
}
/*