Extensions.Quantities

From emotive
Jump to navigation Jump to search

Classification

Name Quantities
Short Description Extension for unit definition data model
Class OTX Extension
Base Extension -
Pre-Conditions -
Specified by ISO 13209-3

Introduction

The OTX Quantities extension specitfy the Quantity data type which as mentioned, contains information about a physical unit besides the actual value. This extension reuses the unit definition data model specified by the ODX standard (see UNIT-SPEC data type in 7.3.6.7 in ISO 22901-1:2008). The intention is to use ODX for defining a set of units that can then be referenced by elements of the OTX Quantities extension.

Terms

Quantity and Unit related terms
CreateQuantity
GetDisplayValue
GetDisplayUnit
GetBaseUnit
Overloading semantics
Conversions
Addition
Subtraction
Multiplication
Division
Modulo
Absolute Value
Negation
Relational Operations
Other Operations

Data Types

Quantity
Unit

Exceptions

QuantityException
UnknownUnitException
InvalidConversionException

Checker rules

Quantities_Chk001 Correct unit linking
Quantities_Chk002 No dangling unit definition links