OpcEngineeringUnitInfo Class

Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll

Provides information to classify a value using codes for units of measurements.

C#

[OpcDataType(887U)]
public class OpcEngineeringUnitInfo


Inheritance Object › OpcEngineeringUnitInfo


Attributes OpcDataTypeAttribute

Remarks

The codes used should match the codes for units of measurements defined by the United Nations Centre for Trade Faciliation and Electronic Business (see UN/CEFACT: UNECE Recommendation N° 20). It uses and is based on the International System of Units (SI Units) but in addition provides a fixed code that can be used for automated evaluation. This recommendation has been accepted by many industries on a global basis.

Name Description
OpcEngineeringUnitInfo Initializes a new instance of the OpcEngineeringUnitInfo class.
OpcEngineeringUnitInfo(Int32) Initializes a new instance of the OpcEngineeringUnitInfo class using the unitId specified.
OpcEngineeringUnitInfo(Int32, String) Initializes a new instance of the OpcEngineeringUnitInfo class using the unitId and displayName specified.
OpcEngineeringUnitInfo(Int32, String, String) Initialues a new instance of the OpcEngineeringUnitInfo class using the unitId, displayName and description specified.
OpcEngineeringUnitInfo(String) Initializes a new instance of the OpcEngineeringUnitInfo class using the displayName specified.
OpcEngineeringUnitInfo(String, String) Initializes a new instance of the OpcEngineeringUnitInfo class using the displayName and namespaceUri specified.
OpcEngineeringUnitInfo(String, String, String) Initializes a new instance of the OpcEngineeringUnitInfo class using the displayName, description and namespaceUri specified.
Name Description
DefaultNamespaceUri Defines the default value used for the NamespaceUri property.
Name Description
CommonCode Gets the common code derived from the UnitId of the engineering unit represented.
Description Gets or sets the full name of the engineering unit represented.
DisplayName Gets or sets the name of the engineering unit represented.
HasUnitId Gets a value indicating whether the engineering unit provides an according numeric identifier (see UnitId) for programmatic evaluation.
IsUndefined Gets a value indicating whether the engineering unit does not provide any concrete information about the unit represented.
NamespaceUri Gets or sets a value that identifies the organization (company, standards organization) that defines the OpcEngineeringUnitInfo represented.
UnitId Gets or sets the numeric identifier of the engineering unit.
Name Description
GetCommonCode(Int32) Retrieves the common code which is associated with the unitId specified.
ToString Returns a string that represents the current OpcEngineeringUnitInfo.