Table of Contents

Method MergeAlarmTemplateRows

Namespace
Skyline.DataMiner.Net.AlarmTemplateHelper
Assembly
SLNetTypes.dll

MergeAlarmTemplateRows(AlarmTemplateEventMessage, List<AlarmTemplateRow>)

Merges the specified rows with the specified template.

public AlarmTemplateEventMessage MergeAlarmTemplateRows(AlarmTemplateEventMessage alarmTemplate, List<AlarmTemplateRow> alarmTemplateRows)

Parameters

alarmTemplate AlarmTemplateEventMessage

The alarm template.

alarmTemplateRows List<AlarmTemplateRow>

The alarm tempalte rows.

Returns

AlarmTemplateEventMessage

An AlarmTemplateEventMessage where the parameters defined by the AlarmTemplateRow are merged.

Exceptions

ConditionMergeException

A condition used in a merge call has the same name as an existing condition with a different content.

ConditionDoesNotExistException

The condition specified in the AlarmTemplateRow could not be found in the alarm template.

DataMinerException

GetAlarmTemplateRow returns a parameter that can not be found in the list.

InvalidAlarmTemplateRowException

The provided AlarmTemplateRow contains data that does not match with the ID in it

ArgumentNullException

alarmTemplate or alarmTemplateRows is null.