VirtualDevice Members

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

VirtualDevice()

Initializes a new instance of the VirtualDevice class.

C#

public VirtualDevice()

VirtualDevice(PlcDeviceEndPoint)

Initializes a new instance of the VirtualDevice class using the specified endPoint.

C#

public VirtualDevice(PlcDeviceEndPoint endPoint)


Parameters

endPoint PlcDeviceEndPoint

The PlcDeviceEndPoint which identifies the network address of the device.


Exceptions

ArgumentNullException

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

CreateConnectionCore()

Creates a new instance of an object which is an instance of the VirtualDeviceConnection class which is associated with the PlcDevice.

C#

protected override PlcDeviceConnection CreateConnectionCore()


Returns

PlcDeviceConnection

An instance of an object which is an instance of the VirtualDeviceConnection class and is associated with the VirtualDevice.

GetBlockCore(PlcOperand)

Retrieves the block information for the PLC block accessible by the operand specified.

C#

protected override PlcBlockInfo GetBlockCore(PlcOperand operand)


Parameters

operand PlcOperand

The PlcOperand for that the according block information is to be retrieved.


Returns

PlcBlockInfo

An instance of the VirtualBlockInfo class containing the information of the block requested.

GetInfo()

Retrieves an instance of an object implementing the IPlcDeviceInfo interface which provides additional metadata about the device.

C#

public override IPlcDeviceInfo GetInfo()


Returns

IPlcDeviceInfo

An instance implementing the IPlcDeviceInfo interface which provides additional metadata about the device.

ToString()

Returns a string that represents the current VirtualDevice.

C#

public override string ToString()


Returns

String

A string that represents the current VirtualDevice.