Template:— consumed_resource (cons_res) Context:— MoDAvDEX |
Date: 2008/03/10 11:53:26 Revision: 1.7
|
This section specifies the template consumed_resource.
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 represent the human resources used to perform a maintenance activity.
The EXPRESS-G diagram in
Figure
1
shows the templates and EXPRESS entities that are required
to represent the template
"consumed_resource".
The text highlighted in blue shows the template parameters.
Figure 1 — An EXPRESS-G representation of the Information model for consumed_resource
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 consumed_resource template
The following input parameters are defined for this template:
The name of the class representing the trade.
The following classes and their sub-classes can be used:
classifications: [ModAvDEX_trade]
Error RDL4: The URI urn:plcs:rdl:LITS is not listed in dexlib/data/refdata/rdl_index.xml
The hours consumed by a particular trade when doing the activity.
The
Activity_actual
representing the work that was done that consumed this resource.
The following reference parameters are defined for this template:
%^target = $consumed_resource.res_as_rlzd%
Allow the
Type_of_person
entity instantiated in this path to be referenced when this template is used.
Note: The
Type_of_person
entity can be referenced in a template path by:
%^target = $consumed_resource.type_of_pers%
Allow the
Resource_item
entity instantiated in this path to be referenced when this template is used.
Note: The
Resource_item
entity can be referenced in a template path by:
%^target = $consumed_resource.res_item%
where
target
is the parameter to which the
Resource_item
is bound.
Allow the
Resource_property
entity instantiated in this path to be referenced when this template is used.
%^target = $consumed_resource.property%
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.
/
representing_person_typical(
type_of_pers_class_name=@trade_name,
type_of_pers_ecl_id='urn:plcs:rdl:std')/
%^type_of_pers = $representing_person_typical.type_of_pers%
/
representing_resource_item_realization(
res_item_id='/NULL',
res_item_id_class='Resource_item_identification_code',
res_item_id_ecl_id='urn:plcs:rdl:std',
res_item_id_org_id='LITS',
res_item_id_org_id_class='Organization_name',
res_item_id_org_id_ecl_id='urn:plcs:rdl:std',
res_item_items=^type_of_pers)/
%^res_item = $representing_resource_item_realization.res_item%
/
assigning_realized_resource(
item=@activity,
resource_item=^res_item,
role_class_name='Resource_as_realized_employed_by',
role_ecl_id='urn:plcs:rdl:std')/
%^res_as_rlzd = $assigning_realized_resource.res_as_rlzd%
/
assigning_resource_property(
property_class_name='Labour_time_consumed',
property_ecl_id='urn:plcs:rdl:std',
described_element=^res_as_rlzd)/
%^property = $assigning_resource_property.property%
/
resource_property_numeric(
value=@trade_hours,
unit='Man_hour',
unit_ecl_id='urn:plcs:rdl:std',
si_unit='true',
context='Numerical_representation_context',
context_ecl_id='urn:plcs:rdl:std',
property=^property)/
Characterizations
No common characterizations of the template
consumed_resource
have been identified. However, the ISO 10303-239 EXPRESS model
may enable other assignments to the entities instantiated by the template.