PlcDeviceInfo Members

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

PlcDeviceInfo(IPlcDevice)

Initializes a new instance of the PlcDeviceInfo class using the specified device.

C#

public PlcDeviceInfo(IPlcDevice device)


Parameters

device IPlcDevice

The IPlcDevice to which the new PlcDeviceInfo belongs.


Exceptions

ArgumentNullException

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

Gets or sets a string representing the stored copyright information of the device.

C#

public string Copyright { get; set; }


Property Value

String

If there is any copyright information available, a String containing the copyright information; otherwise a null reference (Nothing in Visual Basic).

Device

Gets the IPlcDevice to which the IPlcDeviceInfo belongs.

C#

public IPlcDevice Device { get; }


Property Value

IPlcDevice

The IPlcDevice to which the IPlcDeviceInfo belongs.

HasCopyright

Gets a value indicating whether the Copyright property does provide copyright information.

C#

public bool HasCopyright { get; }


Property Value

Boolean

The value true, if the Copyright property does provide copyright information; otherwise the value false.

HasLocation

Gets a value indicating whether the Location property does provide location information.

C#

public bool HasLocation { get; }


Property Value

Boolean

The value true, if the Location property does provide location information; otherwise the value false.

HasMemoryCardSerial

Gets a value indicating whether the MemoryCardSerial property does provide a serial number of an inserted memory card.

C#

public bool HasMemoryCardSerial { get; }


Property Value

Boolean

The value true, if the MemoryCardSerial property does provide a serial number of an inserted memory card; otherwise the value false.

HasModuleName

Gets a value indicating whether the ModuleName property does provide the name of the module used.

C#

public bool HasModuleName { get; }


Property Value

Boolean

The value true, if the ModuleName property does provide the name of the module used; otherwise the value false.

HasModuleSerial

Gets a value indicating whether the ModuleSerial property does provide the serial number of the module used.

C#

public bool HasModuleSerial { get; }


Property Value

Boolean

The value true, if the ModuleSerial property does provide the serial number of the module used; otherwise the value false.

HasModuleType

Gets a value indicating whether the ModuleType property does provide type information of the module used.

C#

public bool HasModuleType { get; }


Property Value

Boolean

The value true, if the ModuleType property does provide type information of the module used; otherwise the value false.

HasName

Gets a value indicating whether the Name property does provide the stored name of the device.

C#

public bool HasName { get; }


Property Value

Boolean

The value true, if the Name property does provide the stored name of the device; otherwise the value false.

HasPlantId

Gets a value indicating whether the PlantId property does provide the stored plant identifier of the device.

C#

public bool HasPlantId { get; }


Property Value

Boolean

The value true, if the PlantId property does provide the stored plant identifier of the device; otherwise the value false.

HasTime

Gets a value indicating whether the Time property does provide a Nullable´1 object that is set to the current date and time on the device, expressed as the local time.

C#

public bool HasTime { get; }


Property Value

Boolean

The value true, if the Time property does provide a Nullable´1 object that is set to the current date and time on the device, expressed as the local time; otherwise the value false.

Location

Gets or sets a string representing the stored location information of the device.

C#

public string Location { get; set; }


Property Value

String

If there is any location information available, a String containing the location information; otherwise a null reference (Nothing in Visual Basic).

MemoryCardSerial

Gets or sets the serial number of an inserted memory card.

C#

public string MemoryCardSerial { get; set; }


Property Value

String

If a memory card is plugged-in, the serial number of an inserted memory card; otherwise a null reference (Nothing in Visual Basic).

ModuleName

Gets or sets the name of the module used.

C#

public string ModuleName { get; set; }


Property Value

String

If there is a module name available, a String containing the module name; otherwise a null reference (Nothing in Visual Basic).

ModuleSerial

Gets or sets the serial number of the module used.

C#

public string ModuleSerial { get; set; }


Property Value

String

If there is a module serial available, a String containing the module serial; otherwise a null reference (Nothing in Visual Basic).

ModuleType

Gets or sets the type information of the module used.

C#

public string ModuleType { get; set; }


Property Value

String

If there is a module type information available, a String containing the module type information; otherwise a null reference (Nothing in Visual Basic).

Name

Gets or sets a string representing the stored name of the device.

C#

public string Name { get; set; }


Property Value

String

If there is any name available, a String containing the name; otherwise a null reference (Nothing in Visual Basic).

PlantId

Gets or sets a string representing the stored plant identifier of the device.

C#

public string PlantId { get; set; }


Property Value

String

If there is any plant identifier available, a String containing the plant identifier; otherwise a null reference (Nothing in Visual Basic).

Time

Gets or sets a Nullable´1 object that is set to the current date and time on the device, expressed as the local time.

C#

public DateTime? Time { get; set; }


Property Value

Nullable<DateTime>

If there is any time information available, an object whose value is the current local date and time; otherwise a null reference (Nothing in Visual Basic).

ToString()

Returns a string that represents the current PlcDeviceInfo.

C#

public override string ToString()


Returns

String

A string that represents the current PlcDeviceInfo.