Method ChangeValue
- Namespace
- Skyline.DataMiner.DataSources.OpenConfig.Gnmi.DataMapper
- Assembly
- Skyline.DataMiner.DataSources.OpenConfig.Gnmi.dll
ChangeValue(Path, TypedValue, DateTime, DataValueOriginType, string)
Processes the update and changes the necessary values.
bool ChangeValue(Path path, TypedValue updateValue, DateTime timestampUtc, DataValueOriginType origin, string subscriptionName)
Parameters
path
PathPath of the value.
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.
ChangeValue(PathElem[], TypedValue, DateTime, DataValueOriginType, string)
Processes the update and changes the necessary values.
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.
ChangeValue(Path, JObject, bool, DateTime, DataValueOriginType, string)
Processes the update and changes the necessary values.
bool ChangeValue(Path path, JObject updateValue, bool isJsonIetf, DateTime timestampUtc, DataValueOriginType origin, string subscriptionName)
Parameters
path
PathPath of the value.
updateValue
JObjectValue that needs to be changed.
isJsonIetf
boolBoolean indicating if the JSON object comes from IETF format or not.
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.