Name

setMaxWeight — These methods will set the maximum weight values of the specified target.

Overview

These methods will set the maximum weight values of the specified target. There are three alternate forms: set the value for all periods, set the value for a single period, and set the value for a range of periods.

Syntax

setMaxWeight ( String label , double weight ) 

The command has the following arguments:

label

The target to set

weight

The weight level to set.

Description

Set maximum weight of target 'label' to 'weight'.

Syntax

setMaxWeight ( String label , double weight , int startperiod , int endperiod ) 

The command has the following arguments:

label

The target to set

weight

The weight level to set.

startperiod

The starting period of the interval to set

endperiod

The ending period of the interval to set

Description

Set maximum weight of target 'label' for interval [startperiod,endperiod].

Syntax

setMaxWeight ( String label , double weight , int period ) 

The command has the following arguments:

label

The target to set

weight

The weight level to set.

Description

Set maximum weight of target 'label' to 'weight' for period 'period'.