PlcMember Class

Namespace: IPS7Lnk.Advanced
Assemblies: IPS7LnkNet.Advanced.dll

Provides an abstract base class to represent a member of a PlcObject.

C#

public abstract class PlcMember : IPlcMemberInfo, IPlcRelocatable<IPlcMemberInfo>, IPlcRelocatable


Inheritance Object › PlcMember


Derived


Implements IPlcMemberInfo, IPlcRelocatable<IPlcMemberInfo>, IPlcRelocatable

Name Description
PlcMember(PlcName, PlcType) Initializes a new instance of the PlcMember class using the specified name and type.
Name Description
Changed Occurs when the value of the member has changed.
Name Description
CanRead Gets or sets a value indicating whether the member can be read.
CanWrite Gets or sets a value indicating whether the member can be written to.
Name Gets the name of the member.
Tag Gets or sets the object that contains additional user data about the member.
Type Gets the PlcType of the member.
Name Description
GetValue(PlcObject) Retrieves the value of the member supported by the given instance.
GetValueCore(PlcObject) When implemented in a derived class, retrieves the value of the member supported by the given instance.
HasValue(PlcObject) Retrieves a value indicating whether the member supported by the given instance is associated with a value.
HasValueCore(PlcObject) When implemented in a derived class, retrieves a value indicating whether the member supported by the given instance is associated with a value.
MakeAbsoluteMember(PlcIdentity) Retrieves the PlcMember as an absolute addressable PLC member.
OnChanged(ValueChangedEventArgs) Raises the Changed event.
RelocateCore(PlcAddress) When implemented in a derived class, relocates the member to the address specified.
SetValue(PlcObject, Object) Stores the value of the member supported by the given instance.
SetValueCore(PlcObject, Object) When implemented in a derived class, stores the value of the member supported by the given instance.