Used to retrieve all the alarms of the ListView, or a subset of alarms based on multiple criteria. It's possible to get alarms selected by the user, the alarms with highest priority, or custom filtered alarms, or a combination of them.

Namespace: Ico.AnyGlass.AlarmWorX.ViewModel
Assembly: AwxViewControl (in AwxViewControl.dll) Version: 10.97.212.0 (10.97.212.00)

Syntax

C#
public IEnumerable<AlarmData> GetRows(
	AlarmType type,
	AlarmState state
)
Visual Basic
Public Function GetRows ( _
	type As AlarmType, _
	state As AlarmState _
) As IEnumerable(Of AlarmData)
JScript
public function GetRows(
	type : AlarmType, 
	state : AlarmState
) : IEnumerable<AlarmData>

Parameters

type
Type: Ico.Awx.Common..::..AlarmType
The type of condition
state
Type: Ico.Awx.Common..::..AlarmState
Specifies the state of the alarms as a filter

Return Value

The list of rows requested

Remarks

For security purposes the AlarmData returned are shadow copies of the rows of the ListView. If BaseEventType.Severity and LegacyEventType.NewState fields are not subscribed the method returns an empty list

See Also