Skip to content

Example

ArmSingleNotif

``` linenums="1" title="CdDiNotifs object with all params" CdDiNotifs oNotif; oNotif.m_fLowValue = 0.0; oNotif.m_fHighValue = 0.0; oNotif.m_bConfirmation = true; oNotif.m_fTimeoutInMs = 0.0; oNotif.m_bNotifOnLow = true; oNotif.m_bNotifOnHigh = true;

CustomNameAI.ArmSingleNotif(oNotif).send();

``` linenums="1" title="Arm Reach High Value"
CdDiNotifs oNotif;
oNotif.m_fHighValue         = 50;
oNotif.m_bNotifOnHigh       = true;


CustomNameAI.ArmSingleNotif(oNotif).send(); 

``` linenums="1" title="Arm Low Value" CdDiNotifs oNotif; oNotif.m_fLowValue = 10; oNotif.m_bNotifOnLow = true;

CustomNameAI.ArmSingleNotif(oNotif).send(); ```

Return signal

High() or Low()