Click or drag to resize

IChannelValueT 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.181-beta
Syntax
public interface IChannelValue<T> : IChannel, 
	ISupportBinaryImage, ISerializable
where T : IChannelDefinition
View Source

Type Parameters

T
Specific IChannelDefinition type that represents the IChannelValueT definition.

The IChannelValueT type exposes the following members.

Properties
 NameDescription
Public propertyAttributes Gets a DictionaryTKey, 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 IChannelValueT provides.
Public propertyDataFormat Gets the DataFormat of this IChannelValueT typically derived from DataFormat.
Public propertyDefinition Gets the IChannelDefinition associated with this IChannelValueT.
Public propertyIsEmpty Gets boolean value that determines if none of the composite values of IChannelValueT have been assigned a value.
Public propertyLabel Gets text based label of this IChannelValueT typically derived from Label.
Public propertyMeasurements Gets the composite values of this IChannelValueT as an array of IMeasurement values.
Public propertyParent Gets the IDataCell parent of this IChannelValueT.
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 IChannelValueT.
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 IChannelValueT will have a more specific derived implementation (e.g., IDigitalValue and IPhasorValue), these specific implementations of IChannelValueT will be referenced children of a IDataCell.
The IChannelValueT uses the specified IChannelDefinition type to define its properties.
See Also