Template:— referencing_maintenance_task (ref_tsk) Context:— MoDAvDEX |
Date: 2008/01/28 11:56:19 Revision: 1.5
|
This section specifies the template referencing_maintenance_task.
NOTE
The template has been defined in the context of
MoDAvDEX.
Refer to the business context for details of related templates.
NOTE
An explanation of a template and the associated instantiation path is
provided in the
Template overview
section.
This template describes how to reference a standard maintenance task.
The EXPRESS-G diagram in
Figure
1
shows the templates and EXPRESS entities that are required
to represent the template
"referencing_maintenance_task".
The text highlighted in blue shows the template parameters.
Figure 1 — An EXPRESS-G representation of the Information model for referencing_maintenance_task
The graphic for the template to be used in other EXPRESS-G diagrams
is shown in Figure
2
below.
Figure 2 — The graphical representation of the referencing_maintenance_task template
The following input parameters are defined for this template:
The task version identifier.
The following reference parameters are defined for this template:
Allow the
Task_method_version
entity instantiated in this path to be referenced when this template is used.
%^target = $referencing_maintenance_task.task_method_version%
Allow the
Activity_method
entity instantiated in this path to be referenced when this template is used.
%^target = $referencing_maintenance_task.act_method%
The instantiation path shown below specifies the entities that are to be
instantiated by the template.
A description of templates and the syntax for the instantiation path is
provided in the
Templates Help/Information section.
/
referencing_task(
task_id=@task_id,
task_id_class_name='Task_method_identification_code',
task_ecl_id='urn:plcs:rdl:std',
task_org_id='LITS',
task_org_id_class_name='Organization_name',
task_org_id_ecl_id='urn:plcs:rdl:std',
task_ver_id=@task_version_id,
task_ver_id_class_name='Version_identification_code',
task_ver_ecl_id='urn:plcs:rdl:std',
task_ver_org_id='LITS',
task_ver_org_id_class_name='Organization_name',
task_ver_org_id_ecl_id='urn:plcs:rdl:std')/
-- Bind the Activity_method instantiated by representing_typical_activity -- to the reference parameter ^chosen_method %^task_method_version = $referencing_task.task_method_version%
/
representing_typical_activity(
id=@task_id,
id_class_name='Activity_method_identification_code',
id_ecl_id='urn:plcs:rdl:std',
id_owner='LITS',
id_owner_class_name='Organization_name',
id_owner_ecl_id='urn:plcs:rdl:std',
type='Typical_activity',
type_ecl_id='urn:plcs:rdl:std')/
-- Bind the Activity_method instantiated by representing_typical_activity -- to the reference parameter ^chosen_method %^act_method = $representing_typical_activity.act_method%
-- Relate the typical activity and the task Activity_method_realization.id = '/IGNORE'
Activity_method_realization.name = '/IGNORE'
Activity_method_realization.description = '/IGNORE'
Activity_method_realization.activity_method ->
^act_method
Activity_method_realization.realized_by ->
^task_method_version
The following entities are instantiated with attributes as specified:
Characterizations
No common characterizations of the template
referencing_maintenance_task
have been identified. However, the ISO 10303-239 EXPRESS model
may enable other assignments to the entities instantiated by the template.