Rockwell Automation 9307 FactoryTalk EnergyMetrix User Manual

Page 268

Advertising
background image

FactoryTalk EnergyMetrix Software

268

Properties

Methods

Week Object

The Week object presents a time period of one week. A week begins at midnight on
Sunday and ends at midnight the following Sunday.

Instancing

The Week object is a creatable object.

Accessing

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

Properties

Methods

Property

R/W

Description

Week(index) As Week

R

Collection of Week objects that represent the report date
range in periods of weeks

Method

Description

Weeks(StartDate As
DateTime, EndDate
As DateTime)

Create a Weeks object containing Week objects representing the
weeks between StartDate and EndDate, inclusive

Property

R/W

Description

StartDate As DateTime

R

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

EndDate As DateTime

R

The ending date of the Week object (1/12/2003
00:00:00)

Method

Description

Week(Date As
DateTime)

Create a Week object representing a time period of one week

Advertising