Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IVariableHistorian

Hierarchy

  • IVariableHistorian

Implemented by

Methods

extractDataValues

  • extractDataValues(historyReadRawModifiedDetails: ReadRawModifiedDetails, maxNumberToExtract: number, isReversed: boolean, reverseDataValue: boolean, callback: function): void
  • Extract a series of dataValue from the History database for this value

    Parameters

    • historyReadRawModifiedDetails: ReadRawModifiedDetails
    • maxNumberToExtract: number
    • isReversed: boolean
    • reverseDataValue: boolean
    • callback: function
        • (err: Error | null, dataValue?: DataValue[]): void
        • Parameters

          • err: Error | null
          • Optional dataValue: DataValue[]

          Returns void

    Returns void

push

  • push(newDataValue: DataValue): Promise<void>
  • push a new value into the history for this variable the method should take a very small amount of time and not directly write to the underlying database

    Parameters

    • newDataValue: DataValue

    Returns Promise<void>

Generated using TypeDoc