Skip to content

Reference

OpcEngineeringUnitInfo Class

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

Reference

OpcEngineeringUnitInfo Class ​

Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Members
OpcEngineeringUnitInfo Members
Also in
Opc.UaFx.Client

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

Syntax ​

csharp
[OpcDataType(887)]
public class OpcEngineeringUnitInfo
vbnet
<OpcDataType(887)>
Public Class OpcEngineeringUnitInfo

Inheritance ​

Object → OpcEngineeringUnitInfo

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.

An instance travels as the structure EUInformation (OPC 10000-8), also as the value of a variable or an argument of a method whose data type is the abstract Structure.

Constructors ​

NameDescription
OpcEngineeringUnitInfo7 overloadsInitializes a new instance of the OpcEngineeringUnitInfo class.

Fields ​

NameDescription
DefaultNamespaceUristaticDefines the default value used for the NamespaceUri property.

Properties ​

NameDescription
CommonCodeGets the common code derived from the UnitId of the engineering unit represented.
DescriptionGets or sets the full name of the engineering unit represented.
DisplayNameGets or sets the name of the engineering unit represented.
HasUnitIdGets a value indicating whether the engineering unit provides an according numeric identifier (see UnitId) for programmatic evaluation.
IsUndefinedGets a value indicating whether the engineering unit does not provide any concrete information about the unit represented.
NamespaceUriGets or sets a value that identifies the organization (company, standards organization) that defines the OpcEngineeringUnitInfo represented.
UnitIdGets or sets the numeric identifier of the engineering unit.

Methods ​

NameDescription
GetCommonCodestaticRetrieves the common code which is associated with the unitId specified.
ToStringoverrideReturns a string that represents the current OpcEngineeringUnitInfo.

Operators ​

NameDescription
ExplicitstaticConverts a OpcEngineeringUnitInfo to an EUInformation object.
ImplicitstaticConverts a EUInformation to an OpcEngineeringUnitInfo object.

Applies to ​

PackageVersions
Opc.UaFx.Advancedv2.5–v2.59