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
TypedValueValue that needs to be changed.
timestampUtc
DateTimeUTC time when the value was taken.
origin
DataValueOriginTypeIndication of where the data originated from.
subscriptionName
stringName of the subscription in case the value came in through subscription.
Returns
- bool
Boolean indicating if there is something that needs to be changed.