Hello,
I wish to add my add_value_x alert hdl to store values. For display, I wish to make a request and retrieve the SELECT ALERT add_value_x.
Could you tell me how to add the add_value_x datapoint?
Thank you
_alert_hdl.._add_value_i
- fmulder
- Posts:330
- Joined: Wed Feb 03, 2010 9:46 am
Re: _alert_hdl.._add_value_i
We have an alarm table where the user can click on a row to set an attribute of the alarm. The operator is supposed to make a phonecall and then mark the alarm as 'reported'. we use add_value_1 to store this value.
Also : we have a c++ AesTabutil to display this value in a column.
Good luck
// ========================================
atime ti = mTableRow[_TIME_];
int iCount = mTableRow[_COUNT_];
string sAlertDp = dpSubStr( getAIdentifier( ti ), DPSUB_SYS_DP_EL_CONF_DET );
DebugN( "sAlertDp=" + sAlertDp );
DebugN( "ti=" + (string)ti );
DebugN( "Count=" + iCount );
if( column == "Status" )
{
string strDPE = dpSubStr( sAlertDp, DPSUB_SYS_DP_EL );
strDPE += ":_alert_hdl.._add_value_1";
alertSet( (time)ti, iCount, strDPE, "reported" );
}
// =================================
Hope that this helps !
Also : we have a c++ AesTabutil to display this value in a column.
Good luck
// ========================================
atime ti = mTableRow[_TIME_];
int iCount = mTableRow[_COUNT_];
string sAlertDp = dpSubStr( getAIdentifier( ti ), DPSUB_SYS_DP_EL_CONF_DET );
DebugN( "sAlertDp=" + sAlertDp );
DebugN( "ti=" + (string)ti );
DebugN( "Count=" + iCount );
if( column == "Status" )
{
string strDPE = dpSubStr( sAlertDp, DPSUB_SYS_DP_EL );
strDPE += ":_alert_hdl.._add_value_1";
alertSet( (time)ti, iCount, strDPE, "reported" );
}
// =================================
Hope that this helps !
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: _alert_hdl.._add_value_i
Hello,
from the description I cannot detect what you want to make in detail.
Do you want to display this information in the AEScreen?
Do you want to write a function/script which adds the value for an _add_value to an existing alert?
Is this question related to another thread?
https://portal.etm.at/index.php?option= ... 16&id=2964
Best Regards
Leopold Knipp
Senior Support Specialist
from the description I cannot detect what you want to make in detail.
Do you want to display this information in the AEScreen?
Do you want to write a function/script which adds the value for an _add_value to an existing alert?
Is this question related to another thread?
https://portal.etm.at/index.php?option= ... 16&id=2964
Best Regards
Leopold Knipp
Senior Support Specialist