HealthCtrlWarningEnable Function
Returns the setting status of the parts consumption alarm notification of specified part related to the Controller.
Syntax
HealthCtrlWarningEnable(partType)
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.
Return Values
Returns the setting values of the parts consumption alarm in integer.
- 1: On
- 0: Off
See Also
HealthCtrlAlarmOn
HealthCtrlWarningEnable Function Example
Example to display the parts consumption alarm of batteries of the controller.
Print HealthCtrlWarningEnable(HEALTH_CONTROLLER_TYPE_BATTERY )