setMaxWeight — These methods will set the maximum weight values of the specified target.
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.
setMaxWeight ( String label , double weight )
The command has the following arguments:
label
The target to set
weight
The weight level to set.
Set maximum weight of target 'label' to 'weight'.
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
Set maximum weight of target 'label' for interval [startperiod,endperiod].
setMaxWeight ( String label , double weight , int period )
The command has the following arguments:
label
The target to set
weight
The weight level to set.
Set maximum weight of target 'label' to 'weight' for period 'period'.