Used to retrieve all the alarms of the AwxView, 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.Awx
Assembly: AwxViewControl (in AwxViewControl.dll) Version: 10.97.212.0 (10.97.212.00)

Syntax

C#
public DataRowList GetRows(
	AlarmType type,
	bool highestPriority,
	bool selectedRowsOnly
)
Visual Basic
Public Function GetRows ( _
	type As AlarmType, _
	highestPriority As Boolean, _
	selectedRowsOnly As Boolean _
) As DataRowList
JScript
public function GetRows(
	type : AlarmType, 
	highestPriority : boolean, 
	selectedRowsOnly : boolean
) : DataRowList

Parameters

type
Type: Ico.Awx.Common..::..AlarmType
The type of condition
highestPriority
Type: System..::..Boolean
Specifies if only the alarms with the highest priority should be retrieved
selectedRowsOnly
Type: System..::..Boolean
Specifies if only user selected alarms should be retrieved

Return Value

The list of rows requested

Remarks

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

See Also