Instance.PropertyAtom.getLongHistoryValue()

Signature

long getLongHistoryValue (PropertyAtomLong propertyAtomLong, int idx)

Domain

ACTION, CONDITION, QUERY, BUI

Description

Gets the value of the PropertyAtomLong passed, at the specified index in the ring buffer. Oldest value is at index 0.

Parameters

NameTypeDescription
propertyAtomLongPropertyAtomLongThe property atom to get the value for.
idxintIndex of the value needed in the ring buffer.

Returns

TypeDescription
longthe result.

Cautions

none