PlcArray(T, TElement) Class

Represents an abstract implementation of the IPlcArray<T, TElement> interface.

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

C#

public abstract class PlcArray<T, TElement> : PlcValue<T[]>, 
	IPlcArray<T, TElement>, IPlcValue<T[]>, IPlcValue, IPlcStatusProvider, 
	ISupportInitialize, IPlcArray, IEnumerable, IEnumerable<T>
where TElement : Object


T
The type of data represented by the PLC array.
TElement
The type of element (IPlcValue<T>) contained in the array.
The PlcArray<T, TElement> type exposes the following members.

—– Name Description
PlcArray<T, TElement> Initializes a new instance of the PlcArray<T, TElement> class

Top

—– Name Description
BeginInitCore Signals the PlcArray<T, TElement> that initialization is started.
(Overrides PlcValue<T>.BeginInitCore().)
EndInitCore Signals the PlcValue<T> that initialization is completed.
(Overrides PlcValue<T>.EndInitCore().)
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.)
GetElement Retrieves the TElement at the specified index.
GetElementCore When implemented in a derived class, retrieves the TElement at the specified index.
GetEnumerator Returns an enumerator that iterates through the array.
GetHashCode Serves as a hash function for a particular type.
(Inherited from Object.)
GetInstanceValue Retrieves the value assigned to the PLC value.
(Overrides PlcValue<T>.GetInstanceValue().)
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.
(Inherited from PlcValue<T>.)
GetValue(PlcDeviceConnection) Retrieves the current value of the PLC value from a IPlcDevice using the connection specified.
(Inherited from PlcValue<T>.)
GetValueCore Retrieves the current value of the PLC value from a IPlcDevice using the connection specified.
(Overrides PlcValue<T>.GetValueCore(PlcDeviceConnection).)
IsValidType Determines whether a specified value is acceptable for this PlcValue<T>.
(Inherited from 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.
(Inherited from PlcValue<T>.)
MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object.)
OnChanged(ValueChangedEventArgs) Raises the Changed event.
(Inherited from PlcValue<T>.)
OnChanged(ValueChangedEventArgs<UTT>) (Inherited from PlcValue<T>.)
RaiseChanged (Inherited from PlcValue<T>.)
Relocate(Int32) Relocates the PlcValue<T> using the specified offset. The original PlcValue<T> remains unmodified.
(Inherited from PlcValue<T>.)
Relocate(PlcAddress) Relocates the PlcValue<T> using the specified address. The original PlcValue<T> remains unmodified.
(Inherited from PlcValue<T>.)
Relocate(Int32, Int32) Relocates the PlcValue<T> using the specified offset. The original PlcValue<T> remains unmodified.
(Inherited from PlcValue<T>.)
Relocate(Int32, Int32, Int32) Relocates the PlcValue<T> using the specified offset. The original PlcValue<T> remains unmodified.
(Inherited from PlcValue<T>.)
RelocateCore When implemented in a derived class, relocates the value to the address specified.
(Inherited from PlcValue<T>.)
SetInstanceValue (Inherited from PlcValue<T>.)
SetValue(IPlcDevice) Stores the Value in the device specified.
(Inherited from PlcValue<T>.)
SetValue(PlcDeviceConnection) Stores the Value in the IPlcDevice assigned to the connection specified.
(Inherited from PlcValue<T>.)
SetValue(IPlcDevice, UTT) (Inherited from PlcValue<T>.)
SetValue(PlcDeviceConnection, UTT) (Inherited from PlcValue<T>.)
SetValueCore (Overrides PlcValue<T>.SetValueCore(PlcDeviceConnection, UTT).)
ToString Converts the array to its string representation.
(Overrides PlcValue<T>.ToString().)
ValidateValue Validates the specified value whether it can be assigned to this PlcValue<T>.
(Inherited from PlcValue<T>.)

Top

—– Name Description
IsInitializing Gets a value indicating whether the instance is in initializing mode.
(Inherited from PlcValue<T>.)
Item Gets the element at the specified index.
Length Gets a 32-bit integer that represents the total number of elements within the array.
Status Gets the status information provided by the software driver related to the value.
(Inherited from PlcValue<T>.)
Tag Gets or sets the object that contains additional user data about the value.
(Inherited from PlcValue<T>.)
Type Gets the type of value represented by the PLC value.
(Inherited from PlcValue<T>.)
Value Gets or sets the value assigned to the PLC value.
(Overrides PlcValue<T>.Value.)

Top

—– Name Description
Changed (Inherited from PlcValue<T>.)

Top

Reference