CustomMassAttribute¶
Overview¶
Class
A custom attribute with Value type NullableMass.
Supertypes
Attributes (data)
Name |
Multiplicity |
Type |
---|---|---|
1 |
Implementation in Proteus Schema
CustomMassAttribute is implemented as a custom generic attribute for physical quantities.
Example
As CustomAttributeOwner is abstract, we consider Sieve as an arbitrary concrete subclass.
The Sieve sieve1 has a CustomMassAttribute with AttributeName “UpperLimitDesignLoad” and AttributeURI “http://sandbox.dexpi.org/rdl/UpperLimitDesignLoad”. The Value is 200 kg.
Implementation in Proteus Schema
<Equipment
ID="sieve1"
ComponentClass="Sieve"
ComponentClassURI="http://sandbox.dexpi.org/rdl/Sieve" ...>
...
<GenericAttributes Set="DexpiCustomAttributes" ...>
<GenericAttribute
Name="UpperLimitDesignLoad"
AttributeURI="http://sandbox.dexpi.org/rdl/UpperLimitDesignLoad"
Format="double"
Type="Mass"
TypeURI="http://data.posccaesar.org/rdl/RDS353339"
Value="200"
Units="Kilogram"
UnitsURI="http://data.posccaesar.org/rdl/RDS1328669" />
...
</GenericAttributes>
...
</Equipment>
Value¶
Attribute (data)
The value of the CustomMassAttribute.
Implementation in Proteus Schema
See implementation of CustomMassAttribute.
Example
See the example for CustomMassAttribute.