PlcValue(T) Class

Represents an abstract implementation of the IPlcValue<T> interface.

System.Object
IPS7Lnk.Advanced.PlcValue<T>
More...
Namespace:  IPS7Lnk.Advanced
Assembly:  IPS7LnkNet.Advanced (in IPS7LnkNet.Advanced.dll) Version: 1.0.0.0 (1.7.2.0)

C#

public abstract class PlcValue<T> : IPlcValue<T>, 
	IPlcValue, IPlcStatusProvider, ISupportInitialize


T
The type of data represented by the PLC value.
The PlcValue<T> type exposes the following members.

—– Name Description
PlcValue<T>(PlcType) Initializes a new instance of the PlcValue<T> class using the specified type.
PlcValue<T>(PlcType, UTT) Initializes a new instance of the PlcValue<T> class

Top

—– Name Description
BeginInitCore When implemented in a derived class; signals the PlcValue<T> that initialization is started.
EndInitCore When implemented in a derived class; signals the PlcValue<T> that initialization is completed.
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.)
GetInstanceValue Retrieves the value assigned to the PLC value.
GetType Gets the Type of the current instance.
(Inherited from Object.)
GetValue(IPlcDevice) Retrieves the current value of the PLC value from the device specified.
GetValue(PlcDeviceConnection) Retrieves the current value of the PLC value from a IPlcDevice using the connection specified.
GetValueCore Retrieves the current value of the PLC value from a IPlcDevice using the connection specified.
IsValidType Determines whether a specified value is acceptable for this PlcValue<T>.
IsValidValue Determines whether the provided value is accepted for the type of PLC value through basic type checking and also potentially if it is within the allowed range of value for that type.
MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object.)
OnChanged(ValueChangedEventArgs) Raises the Changed event.
OnChanged(ValueChangedEventArgs<UTT>)
RaiseChanged
Relocate(Int32) Relocates the PlcValue<T> using the specified offset. The original PlcValue<T> remains unmodified.
Relocate(PlcAddress) Relocates the PlcValue<T> using the specified address. The original PlcValue<T> remains unmodified.
Relocate(Int32, Int32) Relocates the PlcValue<T> using the specified offset. The original PlcValue<T> remains unmodified.
Relocate(Int32, Int32, Int32) Relocates the PlcValue<T> using the specified offset. The original PlcValue<T> remains unmodified.
RelocateCore When implemented in a derived class, relocates the value to the address specified.
SetInstanceValue
SetValue(IPlcDevice) Stores the Value in the device specified.
SetValue(PlcDeviceConnection) Stores the Value in the IPlcDevice assigned to the connection specified.
SetValue(IPlcDevice, UTT)
SetValue(PlcDeviceConnection, UTT)
SetValueCore
ToString Converts the value to its string representation.
(Overrides Object.ToString().)
ValidateValue Validates the specified value whether it can be assigned to this PlcValue<T>.

Top

—– Name Description
Explicit(PlcValue<UTT> to UTT)

Top

—– Name Description
IsInitializing Gets a value indicating whether the instance is in initializing mode.
Status Gets the status information provided by the software driver related to the value.
Tag Gets or sets the object that contains additional user data about the value.
Type Gets the type of value represented by the PLC value.
Value Gets or sets the value assigned to the PLC value.

Top

—– Name Description
Changed

Top

Reference