| Capability (C026):— representing_condition | Date: 2007/06/29 08:00:46 Revision: 1.16 |
This section describes the EXPRESS information model for the capability.
TYPE condition_classification_item =
EXTENSIBLE
GENERIC_ENTITY
SELECT
BASED_ON
classification_item
WITH
(Condition,
Condition_assignment,
Condition_parameter,
Condition_relationship);
END_TYPE;
TYPE condition_item =
EXTENSIBLE
GENERIC_ENTITY
SELECT;
END_TYPE;
TYPE condition_parameter_item =
EXTENSIBLE
GENERIC_ENTITY
SELECT
(Condition_relationship);
END_TYPE;
NOTE The condition is defined as a text based expression that is represented by the description attribute.
The parameters against which the condition is to be evaluated are identified by Condition_parameter.
The target or consequence of a condition is represented by Condition_assignment.
EXAMPLE "If the engine has been running for 10000 hours then it requires a service" is an example of a conditional statement. The conditional part of the statement is "If the engine has been running for 10000 hours" which is stored in definition attribute on Condition. The parameter or subject of the condition is "the engine" which is represented by a Condition_parameter identifying the Product_as_realized which represents the engine. The consequence of the condition is "then it requires a service". This is represented by Condition_assignment identifying the task to perform the service, a Task_method.
ENTITY Condition;
name : STRING;
description :
OPTIONAL
STRING;
END_ENTITY;
name: the words by which a Condition is known.
description: the text that provides further information about the Condition. The value of the attribute need not be specified.
EXAMPLE Condition 29 applies to the relationship between a Saab 9.3 car and the activity of checking the oil level on that make of car.
ENTITY Condition_assignment;
assigned_condition : Condition;
item : condition_item;
END_ENTITY;
assigned_condition: the Condition that is being assigned.
item: the product or activity data to which the Condition is being assigned.
EXAMPLE Oil pressure on gauge 3.
NOTE The product or activity data is defined in condition_parameter_item. The contents of this select type are defined in application modules that use this module.
ENTITY Condition_parameter;
name : STRING;
description :
OPTIONAL
STRING;
condition : Condition;
parameter :
OPTIONAL
condition_parameter_item;
END_ENTITY;
name: the words by which a Condition_parameter is known.
description: the text that provides further information about the Condition_parameter. The value of the attribute need not be specified.
condition: the Condition for which the parameter is an input.
parameter: the product or activity data which acts as a parameter to the condition. The value of this attribute need not be specified.
NOTE The Condition_relationship normally represents a logical combination of conditions. The logical type is identified by the classification of the Condition_relationship by a Classification_assignment.
EXAMPLE "If the engine has been running for 10000 hours AND the engine is fitted with a clog-up-quick Oil filter then change the oil filter" is an example of two conditions related by a logical AND.
ENTITY Condition_relationship;
name : STRING;
description :
OPTIONAL
STRING;
relating_condition : Condition;
related_condition : Condition;
END_ENTITY;
name: the words by which the Condition_relationship is known.
description: the text that provides further information about the Condition_relationship. The value of the attribute need not be specified.
relating_condition: one of the instances of Condition that is a part of the relationship.
related_condition: the other instance of Condition that is part of the relationship. If one element of the relationship is dependent upon the other, this attribute shall be the dependent one.