Difference between revisions of "Extensions.EventHandling.IsTimerExpiredEvent"
Jump to navigation
Jump to search
(Created page with "Category:EventHandling == Classification == {{ClassificationActivity | IsTimerExpiredEvent | Checks whether an event comes '''TimerExpiredEventSource''' | Term | Eve...") |
|||
Line 3: | Line 3: | ||
{{ClassificationActivity | IsTimerExpiredEvent | Checks whether an event comes '''TimerExpiredEventSource''' | [[Term]] | [[EventHandling|OTX EventHandling extension]] | [[Event source property related terms]] | - | - }} | {{ClassificationActivity | IsTimerExpiredEvent | Checks whether an event comes '''TimerExpiredEventSource''' | [[Term]] | [[EventHandling|OTX EventHandling extension]] | [[Event source property related terms]] | - | - }} | ||
− | == | + | == OTL Syntax == |
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | + | BooleanTerm = EventHandling.IsTimerExpiredEvent(EventTerm); | |
</syntaxhighlight> | </syntaxhighlight> | ||
Line 19: | Line 19: | ||
|} | |} | ||
− | == Examples == | + | == OTL Examples == |
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | Boolean | + | EventHandling.EventSource EventSource1; |
+ | EventHandling.Event Event1; | ||
+ | Boolean Boolean1 = false; | ||
+ | |||
+ | EventSource1 = EventHandling.TimerExpiredEventSource(100); | ||
+ | EventHandling.WaitForEvent({EventSource1}, Event1); | ||
+ | Boolean1 = EventHandling.IsTimerExpiredEvent(Event1); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 09:36, 6 February 2015
Contents
Classification
Name | IsTimerExpiredEvent |
Short Description | Checks whether an event comes TimerExpiredEventSource |
Class | Term |
Extension | OTX EventHandling extension |
Group | Event source property related terms |
Exceptions | - |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
BooleanTerm = EventHandling.IsTimerExpiredEvent(EventTerm);
Description
The OTX IsTimerExpiredEvent term is TRUE back when the event if and only from TimerExpiredEventSource comes.
Return Value
The Term returns the value, see table below.
![]()
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
Boolean | Returns TRUE if the event comes from a TimerExpiredEventSource. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
Event | Event | Term | - | [1] | The event, whose type is checked. |
OTL Examples
EventHandling.EventSource EventSource1;
EventHandling.Event Event1;
Boolean Boolean1 = false;
EventSource1 = EventHandling.TimerExpiredEventSource(100);
EventHandling.WaitForEvent({EventSource1}, Event1);
Boolean1 = EventHandling.IsTimerExpiredEvent(Event1);