OTX Reference  
OpenTestSystem.Otx.Core.Nodes.Node.CompoundNode.Group Class Reference

Logical grouping More...

Inheritance diagram for OpenTestSystem.Otx.Core.Nodes.Node.CompoundNode.Group:
Inheritance graph

Classes

class  GroupRealisation
 Group realisation More...
 

Public Attributes

GroupRealisation[] realisation
 Logical grouping More...
 
- Public Attributes inherited from OpenTestSystem.Otx.Core.Nodes.Node
System.Boolean disabled
 To turn on/off a node. A deactivated node is not executed at run time. More...
 
- Public Attributes inherited from OpenTestSystem.Otx.Core.UniversalTypes.NamedAndSpecified
ExtensibleData[] extendedData
 Declares general data for NamedAndSpecified which can be extented by new general data defined in new OTX extensions using the standardised extension mechanism. For example it can be used to specify specification relevant content in a better structured way. More...
 
OtxId id
 Unique identifier of an element More...
 
MetaData metaData
 Additional tool-specific data More...
 
OtxName name
 Name of an element More...
 
NamedAndSpecifiedSpecification[] specification
 Descriptive specification More...
 

Detailed Description

Logical grouping

The simplest of all compound nodes is the Group node. It can be used to wrap a sequence of nodes together. Nodes contained in a Group form a higher-level unit that can be treated as one logical block by authors. This makes sense especially for nodes that belong together logically. Grouping allows the author to demonstrate this togetherness and to provide clarity through modular sequence design.

Like the Action node, the runtime behaviour of a Group node can be customized for different contexts by applying validities. Context-specific behaviour can be configured by implementing group flows for each anticipated context situation.

Syntax (simple group)
//Group
group
{
...
}
Syntax (group with multiple realisations)
//Group with realisation
group
{
realization()
{
...
}
[realization(validFor Validity)
{
...
}]
}
Examples
// Local Declarations
Integer Integer1;
// Flow
//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(validFor Validity1)
{
Integer1 = 123;
if ((Integer1 == 123))
{
Hmi.ConfirmDialog("true", null, @MessageTypes: INFO, null);
}
else
{
Hmi.ConfirmDialog("false", null, @MessageTypes: INFO, null);
}
}
}

Member Data Documentation

◆ realisation

GroupRealisation [] OpenTestSystem.Otx.Core.Nodes.Node.CompoundNode.Group.realisation

Logical grouping