Difference between revisions of "Core.Actions.Group"
Jump to navigation
Jump to search
m (Hb moved page Group to Core.OtxActions.Group: #3153) |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | [[Category:Core]] | + | {{DISPLAYTITLE:OTX '''Group'''}}[[Category:Core]] |
== Classification == | == Classification == | ||
{{ClassificationActivity | Group | The logical grouping of activities | [[Compound Node]] | [[Core|OTX Core library]] | [[Compound node related actions]] | - | - }} | {{ClassificationActivity | Group | The logical grouping of activities | [[Compound Node]] | [[Core|OTX Core library]] | [[Compound node related actions]] | - | - }} | ||
Line 79: | Line 79: | ||
== See also == | == See also == | ||
− | [[Loop]] <br/> | + | [[Core.Actions.Loop|Loop]] <br/> |
− | [[Branch]] <br/> | + | [[Core.Actions.Branch|Branch]] <br/> |
− | [[Parallel]] <br/> | + | [[Core.Actions.Parallel|Parallel]] <br/> |
− | [[Handler]] <br/> | + | [[Core.Actions.Handler|Handler]] <br/> |
− | [[MutexGroup]] | + | [[Core.Actions.MutexGroup|MutexGroup]] |
Latest revision as of 10:58, 16 February 2016
Classification
Name | Group |
Short Description | The logical grouping of activities |
Class | Compound Node |
Extension | OTX Core library |
Group | Compound node related actions |
Exceptions | - |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
//Group
group
{
...
}
//Group realisation
group
{
realization()
{
...
}
realization()
{
...
}
}
Description
The OTX Group activity is the easiest of all tree nodes. She can be used to combine multiple activities in a group. All activities within the group can thus be regarded as logically contiguous block. The author thus shows the togetherness of the contained activities and produces clear and transparent processes.
The run-time behavior of a group activity can be adjusted via the ValidFor property of nearby, see ValidityConcept.
OTL Examples
Integer Integer1;
//Group
group
{
Integer1 = 123;
if ((Integer1 == 123))
{
Hmi.ConfirmDialog("true", null, @MessageTypes:INFO, null);
}
else
{
Hmi.ConfirmDialog("false", null, @MessageTypes:INFO, null);
}
}
//Group realisation
group
{
realization()
{
Integer1 = 123;
if ((Integer1 == 123))
{
Hmi.ConfirmDialog("true", null, @MessageTypes:INFO, null);
}
else
{
Hmi.ConfirmDialog("false", null, @MessageTypes:INFO, null);
}
}
realization()
{
Integer1 = 123;
if ((Integer1 == 123))
{
Hmi.ConfirmDialog("true", null, @MessageTypes:INFO, null);
}
else
{
Hmi.ConfirmDialog("false", null, @MessageTypes:INFO, null);
}
}
}