PlcDeviceInfo Class

Provides a simple implementation of the IPlcDeviceInfo interface to store additional metadata of a single programmable logic controller (PLC).

System.Object
IPS7Lnk.Advanced.PlcDeviceInfo

Namespace:  IPS7Lnk.Advanced
Assembly:  IPS7LnkNet.Advanced (in IPS7LnkNet.Advanced.dll) Version: 1.0.0.0 (1.7.2.0)

C#

public class PlcDeviceInfo : IPlcDeviceInfo


The PlcDeviceInfo type exposes the following members.

—– Name Description
PlcDeviceInfo Initializes a new instance of the PlcDeviceInfo class using the specified device.

Top

—– Name Description
Equals Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode Serves as a hash function for a particular type.
(Inherited from Object.)
GetType Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object.)
ToString Returns a string that represents the current PlcDeviceInfo.
(Overrides Object.ToString().)

Top

—– Name Description
Copyright Gets or sets a string representing the stored copyright information of the device.
Device Gets the IPlcDevice to which the IPlcDeviceInfo belongs.
HasCopyright Gets a value indicating whether the Copyright property does provide copyright information.
HasLocation Gets a value indicating whether the Location property does provide location information.
HasMemoryCardSerial Gets a value indicating whether the MemoryCardSerial property does provide a serial number of an inserted memory card.
HasModuleName Gets a value indicating whether the ModuleName property does provide the name of the module used.
HasModuleSerial Gets a value indicating whether the ModuleSerial property does provide the serial number of the module used.
HasModuleType Gets a value indicating whether the ModuleType property does provide type information of the module used.
HasName Gets a value indicating whether the Name property does provide the stored name of the device.
HasPlantId Gets a value indicating whether the PlantId property does provide the stored plant identifier of the device.
HasTime Gets a value indicating whether the Time property does provide a Nullable<T> object that is set to the current date and time on the device, expressed as the local time.
Location Gets or sets a string representing the stored location information of the device.
MemoryCardSerial Gets or sets the serial number of an inserted memory card.
ModuleName Gets or sets the name of the module used.
ModuleSerial Gets or sets the serial number of the module used.
ModuleType Gets or sets the type information of the module used.
Name Gets or sets a string representing the stored name of the device.
PlantId Gets or sets a string representing the stored plant identifier of the device.
Time Gets or sets a Nullable<T> object that is set to the current date and time on the device, expressed as the local time.

Top

Reference