Click or drag to resize

IChannelValue<T> Interface

Represents a protocol independent interface representation any kind of IChannel data value.

Namespace: GSF.PhasorProtocols
Assembly: GSF.PhasorProtocols (in GSF.PhasorProtocols.dll) Version: 2.4.246-beta
Syntax
public interface IChannelValue<T> : IChannel, 
	ISupportBinaryImage, ISerializable
where T : IChannelDefinition
View Source

Type Parameters

T
Specific IChannelDefinition type that represents the IChannelValue<T> definition.

The IChannelValue<T> type exposes the following members.

Properties
 NameDescription
Public propertyAttributes Gets a Dictionary<TKey, TValue> of string based property names and values for this IChannel object.
(Inherited from IChannel)
Public propertyBinaryLength Gets the length of the binary image.
(Inherited from ISupportBinaryImage)
Public propertyCompositeValueCount Gets total number of composite values that this IChannelValue<T> provides.
Public propertyDataFormat Gets the DataFormat of this IChannelValue<T> typically derived from DataFormat.
Public propertyDefinition Gets the IChannelDefinition associated with this IChannelValue<T>.
Public propertyIsEmpty Gets boolean value that determines if none of the composite values of IChannelValue<T> have been assigned a value.
Public propertyLabel Gets text based label of this IChannelValue<T> typically derived from Label.
Public propertyMeasurements Gets the composite values of this IChannelValue<T> as an array of IMeasurement values.
Public propertyParent Gets the IDataCell parent of this IChannelValue<T>.
Public propertyState Gets or sets the parsing state for this IChannel object.
(Inherited from IChannel)
Public propertyTag Gets or sets a user definable reference to an object associated with this IChannel object.
(Inherited from IChannel)
Top
Methods
 NameDescription
Public methodGenerateBinaryImage Generates binary image of the object and copies it into the given buffer, for BinaryLength bytes.
(Inherited from ISupportBinaryImage)
Public methodGetCompositeValue Gets the specified composite value of this IChannelValue<T>.
Public methodGetObjectDataPopulates a SerializationInfo with the data needed to serialize the target object.
(Inherited from ISerializable)
Public methodParseBinaryImage Initializes object by parsing the specified buffer containing a binary image.
(Inherited from ISupportBinaryImage)
Top
Extension Methods
 NameDescription
Public Extension MethodBinaryImage Returns a binary image of an object that implements ISupportBinaryImage.
(Defined by ISupportBinaryImageExtensions)
Public Extension MethodCopyBinaryImageToStream Copies binary image of object that implements ISupportBinaryImage to a Stream.
(Defined by ISupportBinaryImageExtensions)
Public Extension MethodCopyImage This is a common optimized block copy function for any kind of data.
(Defined by Common)
Public Extension MethodParseBinaryImageFromStream Parses binary image of object that implements ISupportBinaryImage from a Stream.
(Defined by ISupportBinaryImageExtensions)
Top
Remarks
Each instance of IChannelValue<T> will have a more specific derived implementation (e.g., IDigitalValue and IPhasorValue), these specific implementations of IChannelValue<T> will be referenced children of a IDataCell.
The IChannelValue<T> uses the specified IChannelDefinition type to define its properties.
See Also