PlcObjectNode Members

Namespace: IPS7Lnk.Advanced
Assemblies: IPS7LnkNet.Advanced.dll, IPS7LnkNet.Advanced.dll
The PlcObjectNode type exposes the following members.

PlcObjectNode(PlcObject)

Initializes a new instance of the PlcObjectNode class using the specified instance.

C#

public PlcObjectNode(PlcObject instance)


Parameters

instance PlcObject

The PlcObject its data is represented.


Exceptions

ArgumentNullException

The instance is a null reference (Nothing in Visual Basic).

Instance

Gets the PlcObject instance to that the data node does belong.

C#

public PlcObject Instance { get; }


Property Value

PlcObject

An instance of the PlcObject class.

Type

Gets the PlcType of the data represented by the node.

C#

public override PlcType Type { get; }


Property Value

PlcType

A PlcType instance.

Value

Gets or sets the value associated with the Type.

C#

public override object Value { get; set; }


Property Value

Object

The value of the node.

CreateMemberNodes(PlcObject)

Creates for each PlcMember in Members the according child node.

C#

protected virtual void CreateMemberNodes(PlcObject instance)


Parameters

instance PlcObject

The PlcObject its members have to be transformed into nodes.



Exceptions

ArgumentNullException

The instance is a null reference (Nothing in Visual Basic).

CreateNode(PlcObject, PlcMember)

Creates a new PlcDataNode which refers to a PlcObject specific PlcMember.

C#

protected virtual PlcDataNode CreateNode(PlcObject instance, PlcMember member)


Parameters

instance PlcObject

The PlcObject for its PlcMember the node is to be created.

member PlcMember

The PlcMember for that the node is to be created.


Returns

PlcDataNode

A new PlcDataNode representing the access layer for the PlcMember specified by member.



Exceptions

ArgumentNullException

The instance or member is a null reference (Nothing in Visual Basic).