oms_wp_phy_alert_threshold_dir_get()
Abstract
Obtains the threshold direction property of the specified alert handle.
Syntax
oms_wp_phy_alert_threshold_dir_get (alert_handle)
| Argument | Type | Description |
|---|---|---|
alert_handle |
OmsT_WP_Phy_Alert_Handle |
Alert handle |
Return Type
OmsT_WP_Measurement_Threshold_Direction
Details
The threshold direction value is specified at the time the notification request was registered with oms_wp_phy_measure_notification_subscribe() with the measurement of interest. See OmsT_WP_Measurement_Threshold_Direction for allowable threshold direction values.
Example
Excerpt from coverage_area_tracker process model, header block.
#define HIGH_SIGNAL (oms_wp_phy_alert_threshold_dir_get(alert_hdl)==OmsC_WP_Alert_Threshold_Direction_Up)
#define LOW_SIGNAL (oms_wp_phy_alert_threshold_dir_get(alert_hdl)==OmsC_WP_Alert_Threshold_Direction_Down)