The <HeaderTemplates> element of the XML configuration contains a list of all the defined header templates. A header template contains a list of positions, the commands associated with each position, and all actions associated with each command. Additionally, commands can also be defined at the header template level. These commands can be referenced by commands at the position level.
To learn about how these elements relate to other elements in a well test configuration XML structure, see Well Test Hierarchy.
Example
|
<WellTestConfiguration> <HeaderTemplates> <HeaderTemplate name="MbSim" type="Host" queueUdc="QUEUE"> <Positions> <Position …> … </Position> </Positions> <Commands> <Command …> <Actions> … </Actions> </Command> </Commands> </HeaderTemplate> </HeaderTemplates> …
</WellTestConfiguration> |
The <HeaderTemplates> element has one type of child element, <HeaderTemplate>, and has no attributes.
Each <HeaderTemplate> element contains a list of header templates associated with this header.
The <HeaderTemplate> element has the following properties:
| Property | Description |
|---|---|
|
Case Sensitive |
Yes |
|
Required |
Yes |
|
Number of Instances Allowed |
Unlimited |
|
Parent Element |
<HeaderTemplates> |
|
Child Elements |
<Commands> |
|
Attributes |
name queueUdc type |
A <HeaderTemplate> element has the following attributes:
| Attribute | Required | Description |
|---|---|---|
|
name |
Yes |
Specifies the name of the header template. This name is used in the Header configuration. |
|
queueUdc |
Yes |
Specifies the UDC to use for the header queue. This is an override value that can be used if a different UDC is needed for whatever reason. E.g., QUEUE. |
|
type |
Yes |
Two supported template types are supported:
Note: Device type templates do not have Positions. |