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,
	bool selectedRowsOnly,
	AlarmState state,
	bool shouldGetHighestPriority,
	AwxFilter filter
)
Visual Basic
Public Function GetRows ( _
	type As AlarmType, _
	selectedRowsOnly As Boolean, _
	state As AlarmState, _
	shouldGetHighestPriority As Boolean, _
	filter As AwxFilter _
) As IEnumerable(Of AlarmData)
JScript
public function GetRows(
	type : AlarmType, 
	selectedRowsOnly : boolean, 
	state : AlarmState, 
	shouldGetHighestPriority : boolean, 
	filter : AwxFilter
) : IEnumerable<AlarmData>

Parameters

type
Type: Ico.Awx.Common..::..AlarmType
The type of item
selectedRowsOnly
Type: System..::..Boolean
Specifies if only user selected alarms should be retrieved
state
Type: Ico.Awx.Common..::..AlarmState
Specifies which kind of acknowledge should be searched
shouldGetHighestPriority
Type: System..::..Boolean
Specifies if only the alarms with the highest priority should be retrieved
filter
Type: Ico.Awx.Common..::..AwxFilter
Specifies a filter to be applied on the alarms of the ListView. If the filter is null or empty all the alarms will be retrieved.

Return Value

The list of rows requested

See Also