Table of Contents

Method ChangeValue

Namespace
Skyline.DataMiner.DataSources.OpenConfig.Gnmi.Protocol.DataMapper
Assembly
Skyline.DataMiner.DataSources.OpenConfig.Gnmi.Protocol.dll

ChangeValue(PathElem[], TypedValue, DateTime, DataValueOriginType, string)

Processes the update and changes the value property.

public bool ChangeValue(PathElem[] pathElems, TypedValue updateValue, DateTime timestampUtc, DataValueOriginType origin, string subscriptionName)

Parameters

pathElems PathElem[]

A collection of all path elements.

updateValue TypedValue

Value that needs to be changed.

timestampUtc DateTime

UTC time when the value was taken.

origin DataValueOriginType

Indication of where the data originated from.

subscriptionName string

Name of the subscription in case the value came in through subscription.

Returns

bool

Boolean indicating if there is something that needs to be changed.