27.3.2.7.3 GetAlarmTagList
Get a tag name list of all alarms that reported.
Syntax
viewdll.dll |
int VD_API VdGetAlarmTaglist(char *tagbuf, int tagsize, int start, int num); |
Bwdllobj |
Public Function GetAlarmTagList(start As Integer, num As Integer) As Array |
C# |
Array GetAlarmTagList(Integer start, Integer num); |
Parameters
start
[in] Extract an alarm list from start position within the system alarm list.
num
[in] Extract specific number of alarms from the start position within the system alarm list.
Return Value
Type: Array
Return the tag name list array represent in string format.
Remarks
C# Sample Code
private void btnGetAlarmList_Click(object sender, EventArgs e) { int start = 0; int num = ViewDllWrap.GetAlarmTagNumber(); Array alarmList = ViewDllWrap.GetAlarmTagList(start, num); lbAlarm.Items.Clear(); foreach (object a in alarmList) { lbAlarm.Items.Add(a.ToString()); } } |