Core.Actions.Group
Jump to navigation
Jump to search
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);
}
}
}