Namespace: IPS7Lnk.Advanced
Assemblies: IPS7LnkNet.Advanced.dll
Provides a simple implementation of the IPlcDeviceInfo interface to store additional metadata of a single programmable logic controller (PLC).
C#
public class PlcDeviceInfo : IPlcDeviceInfo
Inheritance Object › PlcDeviceInfo
Implements IPlcDeviceInfo
Name | Description |
---|---|
PlcDeviceInfo(IPlcDevice) | Initializes a new instance of the PlcDeviceInfo class using the specified device . |
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´1 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´1 object that is set to the current date and time on the device, expressed as the local time. |
Name | Description |
---|---|
ToString | Returns a string that represents the current PlcDeviceInfo. |