Template:— activity_property (act_prop) Context:— MoDAvDEX |
Date: 2008/02/03 07:53:25 Revision: 1.10
|
This section specifies the template activity_property.
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 a property of an activity, such as its duration.
The EXPRESS-G diagram in
Figure
1
shows the templates and EXPRESS entities that are required
to represent the template
"activity_property".
The text highlighted in blue shows the template parameters.
Figure 1 — An EXPRESS-G representation of the Information model for activity_property
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 activity_property template
The following input parameters are defined for this template:
The name of a property - a class.
The following classes and their sub-classes can be used:
classifications: [ModAvDEX_Activity_property]
Error RDL4: The URI urn:plcs:rdl:LITS is not listed in dexlib/data/refdata/rdl_index.xml
The value of the property.
The class name of the corresponding quantity unit.
The following classes and their sub-classes can be used:
classifications: [ModAvDEX_Unit]
Error RDL4: The URI urn:plcs:rdl:LITS is not listed in dexlib/data/refdata/rdl_index.xml
The identifier of the
External_class_library
storing the definition of the class referenced by the parameter @unit_class_name.
si_unit (Default=false,Type='BOOLEAN')
Value should be set to true if the unit is a SI base unit defined by ISO, i.e.
kilogram (kg) for Mass,
second (s) for Time,
metre (m) for Displacement,
ampere (A) for Electrical current,
kelvin (K) for Temperature,
mole (mol) for Amount of substance, and
candela (cd) for Luminous intensity. If this is not the case it should be set to false.
The
Activity_actual
representing the work that was done that consumed this resource.
The following reference parameters are defined for this template:
Allow the
Activity_property
entity instantiated in this path to be referenced when this template is used.
%^target = $activity_property.property%
%^target = $activity_property.prop_val_rep%
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.
/
assigning_process_property(
property_class_name=@property_name,
property_ecl_id='urn:plcs:rdl:LITS',
described_element=@activity)/
-- Bind the Activity_property entity to the property reference parameter %^property = $assigning_process_property.property%
/
process_property_numeric(
value=@property_value,
unit=@property_unit,
unit_ecl_id=@property_unit_ecl_id,
si_unit=@si_unit,
context='Numerical_representation_context',
context_ecl_id='urn:plcs:rdl:std',
property=^property)/
%^prop_val_rep = $process_property_numeric.representation%
Characterizations
No common characterizations of the template
activity_property
have been identified. However, the ISO 10303-239 EXPRESS model
may enable other assignments to the entities instantiated by the template.