HealthCtrlWarningEnable Statement

Enable or disable the parts consumption alarm notification of specified part related to the Controller.

Syntax
HealthCtrlWarningEnable partType [, On/Off]

Parameters

partType
Specify the parts of the controller as integer value or by the constants shown below.

Constant Value Mode
HEALTH_CONTROLLER_TYPE_BATTERY 1 Specifies the batteries.
On/Off
- On: Enable the parts consumption alarm notification. - Off: Disable the parts consumption alarm notification

Return Values
If On/Off parameters are omitted, the current On/Off settings are displayed.

Description
When the parts consumption alarm of the specified part occurs, set whether to notify the parts consumption alarm.

Notes


If the parts consumption alarm of the specified part is disabled, the parts consumption alarm will not be notified when the recommended replacement time is passed. Be careful to set when using this command.


See Also
HealthCtrlAlarmOn

HealthCtrlWarningEnable Example
Example to disable the parts consumption alarm of batteries of the controller.

> HealthCtrlWarningEnable HEALTH_CONTROLLER_TYPE_BATTERY, Off

Example to display the parts consumption alarm settings of batteries of the controller.

> HealthCtrlWarningEnable HEALTH_CONTROLLER_TYPE_BATTERY
BATTERY  Off
>