HealthCtrlRateOffset Statement
Sets the offset for the consumption rate of the specified parts.
Syntax
HealthCtrlRateOffset partType, offset
Parameters
- partType
- Specify the parts related to the controller by an integer value (1) or by the constants shown below.
Constant Value Mode HEALTH_CONTROLLER_TYPE_BATTERY 1 Specifies the batteries. - offset
- Specify an integer value to offset against the consumption rate. (Unit: %)
Description
Sets the offset for the consumption rate of the specified parts.
See Also
HealthRBAlarmOn, HealthRateRBInfo, HealthRBInfo
HealthCtrlRateOffset Statement Example
The following is the example to add 10% to the parts consumption rate of the Controller batteries.
> HealthCtrlRateOffset HEALTH_CONTROLLER_TYPE_BATTERY,10
>