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
pathElemsPathElem[]A collection of all path elements.
updateValueTypedValueValue that needs to be changed.
timestampUtcDateTimeUTC time when the value was taken.
originDataValueOriginTypeIndication of where the data originated from.
subscriptionNamestringName of the subscription in case the data came in through subscription.
Returns
- bool
Boolean indicating if there is something that needs to be changed.
ChangeValue(Path, TypedValue, DateTime, DataValueOriginType, string)
Processes the update and changes the value property.
public bool ChangeValue(Path path, TypedValue updateValue, DateTime timestampUtc, DataValueOriginType origin, string subscriptionName)
Parameters
pathPathPath of the value.
updateValueTypedValueValue that needs to be changed.
timestampUtcDateTimeUTC time when the value was taken.
originDataValueOriginTypeIndication of where the data originated from.
subscriptionNamestringName of the subscription in case the data came in through subscription.
Returns
- bool
Boolean indicating if there is something that needs to be changed.
ChangeValue(Path, JToken, bool, DateTime, DataValueOriginType, string)
Processes the update and changes the value property.
public bool ChangeValue(Path path, JToken updateValue, bool isJsonIetf, DateTime timestampUtc, DataValueOriginType origin, string subscriptionName)
Parameters
pathPathPath of the value.
updateValueJTokenValue that needs to be changed.
isJsonIetfboolBoolean indicating if the JSON object comes from IETF format or not.
timestampUtcDateTimeUTC time when the value was taken.
originDataValueOriginTypeIndication of where the data originated from.
subscriptionNamestringName of the subscription in case the value came in through subscription.
Returns
- bool
Boolean indicating if there is something that needs to be changed.