Options
All
  • Public
  • Public/Protected
  • All
Menu

  subscribe now with sterfive to access the online-user manual

Hierarchy

Index

Methods

historyRead

readAggregateValue

  • method

    readAggregateValue

    async
    example
    //  es5
    session.readAggregateValue(
      {nodeId: "ns=5;s=Simulation Examples.Functions.Sine1" },
      new Date("2015-06-10T09:00:00.000Z"),
      new Date("2015-06-10T09:01:00.000Z"),
     AggregateFunction.Average, 3600000, (err,dataValues)  => {
    
    });
    
    //  es6
    const dataValues = await session.readAggregateValue(
      { nodeId: "ns=5;s=Simulation Examples.Functions.Sine1" },
      new Date("2015-06-10T09:00:00.000Z"),
      new Date("2015-06-10T09:01:00.000Z"),
      AggregateFunction.Average, 3600000);
    

    Parameters

    Returns void

  • Parameters

    Returns Promise<HistoryReadResult[]>

  • Parameters

    Returns void

  • Parameters

    Returns Promise<HistoryReadResult>

readHistoryValue

Generated using TypeDoc