PlcObjectMemberNode Members

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

PlcObjectMemberNode(PlcObject, PlcMember)

Initializes a new instance of the PlcObjectMemberNode class using the specified instance and member.

C#

public PlcObjectMemberNode(PlcObject instance, PlcMember member)


Parameters

instance PlcObject

The PlcObject its data is represented.

member PlcMember

The PlcMember of the instance its data is represented by the node.


Exceptions

ArgumentNullException

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

CanRead

Gets a value indicating whether the Value property is granted to be read from the PLC.

C#

public override bool CanRead { get; }


Property Value

Boolean

The value true, if reading the value from the device is granted for the node; otherwise the value false.

CanWrite

Gets a value indicating whether the Value property is granted to be written to the PLC.

C#

public override bool CanWrite { get; }


Property Value

Boolean

The value true, if writing the value to the device is granted for the node; otherwise the value false.

Member

Gets the PlcMember of the PlcObject its data is represented.

C#

public PlcMember Member { get; }


Property Value

PlcMember

An instance of the PlcMember 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 override 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 override 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).