Rockwell Automation 9307 FactoryTalk EnergyMetrix User Manual

Page 250

Advertising
background image

FactoryTalk EnergyMetrix Software

250

Properties

Methods

Meters Collection

The Meters object is a collection of Meter objects. See

Selecting Groups and Meters in the

MPR on page 226

for more information.

Instancing

The Meters object is a creatable object.

Accessing

The Report object automatically creates one Meters object (accessible by using the
Report.Meters property) and MPR script code can create additional Meters objects if
needed.

Properties

Meter Object

Overview

The Meter object represents one meter that is selected on the report groups/meters tree.
See

Selecting Groups and Meters in the MPR on page 226

for more information.

Instancing

The Meter object is a creatable object.

Accessing

Meter objects are normally referenced by using the index operator of the Meters collection
object

For more information on usage of methods based on Rate Schedule functions (for
example, Average, Lowest, PeakTimestamp, and Ratchet), refer to the Help topics on rate
schedule

Scripting Functions

.

Property

R/W

Description

StartDate As DateTime

R

The starting date of the Interval object (1/1/2003
00:00:00)

EndDate As DateTime

R

The ending date of the Interval object (1/2/2003
00:00:00)

Method

Description

Interval (startDate As
DateTime, endDate As DateTime)

Create an Interval object representing a time period

Property

R/W

Description

Meter(index) As Meter

R

Collection of Meter objects that represent the meters
that are selected in the report's groups/meter tree

Advertising