CollectionsΒΆ

Introduction

A collection is a C# object that contains multiple objects. In UNIQO they are especially useful for counting, iterating, adding and removing child nodes of a given node.

Types of collections

There are two types of collections:

  • Generic children collection. This is available in every IUANode C# object, therefore for each project node. It collects the object/node properties and other objects/nodes that are its direct children.

  • Specialized collections of some object types (see Specialized collections).

Specialized collections

Some object types have a related specialized collection. Below is a list of the object types for which there is a specialized collection.

Type of project object

BrowseName of the object type

Collection

Type of collection object

Data logger

DataLogger

VariablesToLog

VariableToLog

Event logger

EventLogger

EventFields

EventField

OPC UA Client

OPCUAClient

RuntimeConfigurations

RuntimeConfigurationEntry

OPC UA Server

OPCUAServer

NodesToPublish

NodesToPublishConfigurationEntry

NodesToPublish.Nodes

NodePointer that point to the project nodes

NodesToPublish.Users

NodePointer that point to users

Report

Report

Sections

UI.Item

Retentivity database

RetentivityStorage

Nodes

IUAVariable that point to the roots of the nodes for which the retentivity has been set

Store

Store

Tables

Table

Table

Table

Columns

Column

Circular gauge

CircularGauge

WarningZones

WarningZone

Linear gauge

LinearGauge

WarningZones

WarningZone

Data grid

DataGrid

Columns

DataGridColumn

Navigation panel

NavigationPanel

Panels

NavigationPanelItems

Trend pen

Trend

Pens

TrendPen

XY chart line

XYChart

Pens

XYChartPen

Communication station

IStation

Tags

Tag

TagStructure

CommunicationDriver.TagStructure

Graphical objects that can have children (Containers)

-

Items

Item

Object

BaseObject

InstanceNodeCollection

BaseObject

Note

instances of any derived types that are not represented in InstanceNodeCollection. They can be listed manually with the derived types first.

Variable

BaseVariable

InstanceNodeCollection

BaseVariable

Note

instances of any derived types that are not represented in InstanceNodeCollection. They can be listed manually with the derived types first.

See also

Related procedures

Use the collection