8.4.3.3 IfcCurrencyRelationship(货币关系)
8.4.3.3.1 语义定义(Semantic definition)
IfcCurrencyRelationship 定义了在特定时间由特定来源发布的两种指定货币之间的汇率。
当需要将一种货币的 IfcCostValue 与另一种货币的 IfcCostValue 进行关联时,可使用 IfcCurrencyRelationship。它通过记录所使用的汇率日期、时间及发布该汇率的来源,来应对汇率可能波动的情况。汇率来源可能众多,且存在不同的货币兑换策略(如即期汇率、远期固定汇率购汇)。
汇率来源被定义为 IfcLibraryInformation 的实例,其中包含名称和 URL。
8.4.3.3.2 实体继承(Entity inheritance)
8.4.3.3.3 特性(Attributes)
| # | 特性(Attributes) | 类型 | 描述 |
|---|---|---|---|
| IfcResourceLevelRelationship (2) | |||
| 1 | Name | OPTIONAL IfcLabel |
用于标识或限定关系的名称。 |
| 2 | Description | OPTIONAL IfcText |
可为关系提供附加信息的描述说明。 |
| 点击显示 2 个隐藏的继承特性 点击隐藏 2 个继承特性 | |||
| IfcCurrencyRelationship (5) | |||
| 3 | RelatingMonetaryUnit | IfcMonetaryUnit |
作为汇率换算基准的货币单位。例如,在从英镑(GBP)兑换为美元(USD)的情况下,基准货币单位为英镑。 |
| 4 | RelatedMonetaryUnit | IfcMonetaryUnit |
汇率换算目标的货币单位。例如,在从英镑(GBP)兑换为美元(USD)的情况下,目标货币单位为美元。 |
| 5 | ExchangeRate | IfcPositiveRatioMeasure |
在货币关系中,当前约定的目标货币单位金额与基准货币单位金额的兑换比率。例如,在从英镑兑换为美元的情况下,汇率值可能为 1.486(美元):1(英镑)。 |
| 6 | RateDateTime | OPTIONAL IfcDateTime |
汇率适用的日期和时间。 |
| 7 | RateSource | OPTIONAL IfcLibraryInformation |
获取汇率的来源。 |
8.4.3.3.4 形式化表示(Formal representation)
ENTITY IfcCurrencyRelationship
SUBTYPE OF (IfcResourceLevelRelationship);
RelatingMonetaryUnit : IfcMonetaryUnit;
RelatedMonetaryUnit : IfcMonetaryUnit;
ExchangeRate : IfcPositiveRatioMeasure;
RateDateTime : OPTIONAL IfcDateTime;
RateSource : OPTIONAL IfcLibraryInformation;
END_ENTITY;