OPC Studio User's Guide and Reference
UAEUInformation Constructor(String,Int32,String,String)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.DataAccess Namespace > UAEUInformation Class > UAEUInformation Constructor : UAEUInformation Constructor(String,Int32,String,String)
Identifies the organization (company, standards organization) that defines the EUInformation.

The value represents an OPC UA namespace URI string. Any string can be passed to this parameter (i.e. will not cause System.ArgumentException), but not all values make sense and will work when an operation using them is attempted.

The value of this parameter cannot be null (Nothing in Visual Basic).

Identifier for programmatic evaluation.
The display name of the engineering unit is typically the abbreviation of the engineering unit, e.g. ”h” for hour or ”m/s” for meter per second.

The value of this parameter cannot be null (Nothing in Visual Basic).

Contains the full name of the engineering unit such as ”hour” or ”meter per second”.

The value of this parameter cannot be null (Nothing in Visual Basic).

Initializes a new instance of the class, specifying its individual properties.
Syntax
'Declaration
 
Public Function New( _
   ByVal namespaceUriString As String, _
   ByVal unitId As Integer, _
   ByVal displayName As String, _
   ByVal description As String _
)
'Usage
 
Dim namespaceUriString As String
Dim unitId As Integer
Dim displayName As String
Dim description As String
 
Dim instance As New UAEUInformation(namespaceUriString, unitId, displayName, description)

Parameters

namespaceUriString
Identifies the organization (company, standards organization) that defines the EUInformation.

The value represents an OPC UA namespace URI string. Any string can be passed to this parameter (i.e. will not cause System.ArgumentException), but not all values make sense and will work when an operation using them is attempted.

The value of this parameter cannot be null (Nothing in Visual Basic).

unitId
Identifier for programmatic evaluation.
displayName
The display name of the engineering unit is typically the abbreviation of the engineering unit, e.g. ”h” for hour or ”m/s” for meter per second.

The value of this parameter cannot be null (Nothing in Visual Basic).

description
Contains the full name of the engineering unit such as ”hour” or ”meter per second”.

The value of this parameter cannot be null (Nothing in Visual Basic).

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also