Database Management
Reference Manual
Attributes
:
Real Attributes of Physical Quantities
: Database Units
Database Units
For efficiency and consistency all attributes, whether real or pseudo, are handled by the same code within product whenever possible. Dimensioned attribute whose values are stored in the Engineering Database are always returned in Database Units, and this fact is utilised within the attribute handling code. It is therefore essential that dimensioned pseudo attributes are returned in Database units.
This can be achieved simply by having:
!result = !value.dbunits()
return !result
as the last two lines of any PML function which is calculating the dimensioned pseudo attribute value.
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.