Click or drag to resize

IChannelDefinition Interface

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

Namespace: GSF.PhasorProtocols
Assembly: GSF.PhasorProtocols (in GSF.PhasorProtocols.dll) Version: 2.4.218-beta
Syntax
public interface IChannelDefinition : IChannel, 
	ISupportBinaryImage, ISerializable, IEquatable<IChannelDefinition>, IComparable<IChannelDefinition>, 
	IComparable
View Source

The IChannelDefinition 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 propertyConversionFactor Gets or sets the conversion factor of this IChannelDefinition.
Public propertyDataFormat Gets the DataFormat of this IChannelDefinition.
Public propertyIndex Gets or sets the index of this IChannelDefinition.
Public propertyLabel Gets or sets the label of this IChannelDefinition.
Public propertyLabelImage Gets the binary image of the Label of this IChannelDefinition.
Public propertyMaximumLabelLength Gets the maximum length of the Label of this IChannelDefinition.
Public propertyMaximumScalingValue Gets the maximum value for the ScalingValue of this IChannelDefinition.
Public propertyOffset Gets or sets the offset of this IChannelDefinition.
Public propertyParent Gets the IConfigurationCell parent of this IChannelDefinition.
Public propertyScalePerBit Gets the scale/bit value of this IChannelDefinition.
Public propertyScalingValue Gets or sets the integer scaling value of this IChannelDefinition.
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 methodCompareTo(T)Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
(Inherited from IComparableIChannelDefinition)
Public methodCompareTo(Object)Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
(Inherited from IComparable)
Public methodEqualsIndicates whether the current object is equal to another object of the same type.
(Inherited from IEquatableIChannelDefinition)
Public methodGenerateBinaryImage Generates binary image of the object and copies it into the given buffer, for BinaryLength bytes.
(Inherited from ISupportBinaryImage)
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 IChannelDefinition will have a more specific derived implementation (e.g., IAnalogDefinition and IFrequencyDefinition), these specific implementations of IChannelDefinition will be referenced children of a IConfigurationCell.
The IChannelDefinition defines the properties of an associated IChannelValueT.
See Also