Gemstone PhasorProtocols Library
Show/Hide TOC

# DigitalDefinition3 Class

Represents the IEEE C37.118 configuration frame 3 implementation of a IDigitalDefinition.

## Definition

Namespace: Gemstone.PhasorProtocols.IEEEC37_118
Assembly: Gemstone.PhasorProtocols (in Gemstone.PhasorProtocols.dll) Version: 1.0.160 -- Release Build+513330b2be7fdb9c9f4bfe60fd4f0a256321d484
C#
View Source Request Example

    [SerializableAttribute]
    public sealed class DigitalDefinition3 : ChannelDefinitionBase3,
    	IDigitalDefinition, IChannelDefinition, IChannel, ISupportBinaryImage, ISerializable,
    	IEquatable<IChannelDefinition>, IComparable<IChannelDefinition>, IComparable

VB
View Source Request Example

    <SerializableAttribute>
    Public NotInheritable Class DigitalDefinition3
    	Inherits ChannelDefinitionBase3
    	Implements IDigitalDefinition, IChannelDefinition, IChannel, ISupportBinaryImage,
    	ISerializable, IEquatable(Of IChannelDefinition), IComparable(Of IChannelDefinition),
    	IComparable

C++
View Source Request Example

    [SerializableAttribute]
    public ref class DigitalDefinition3 sealed : public ChannelDefinitionBase3,
    	IDigitalDefinition, IChannelDefinition, IChannel, ISupportBinaryImage, ISerializable,
    	IEquatable<IChannelDefinition^>, IComparable<IChannelDefinition^>, IComparable

JavaScript
View Source Request Example

    Gemstone.PhasorProtocols.IEEEC37_118.DigitalDefinition3 = function();

    Type.createClass(
    	'Gemstone.PhasorProtocols.IEEEC37_118.DigitalDefinition3',
    	Gemstone.PhasorProtocols.IEEEC37_118.ChannelDefinitionBase3,
    	Gemstone.PhasorProtocols.IDigitalDefinition,
    	Gemstone.PhasorProtocols.IChannelDefinition,
    	Gemstone.PhasorProtocols.IChannel,
    	ISupportBinaryImage,
    	ISerializable,
    	IEquatable`1,
    	IComparable`1,
    	IComparable);

Inheritance
  Object BinaryImageBase ChannelBase ChannelDefinitionBase3 DigitalDefinition3

Implements
  ISupportBinaryImage, IChannel, IChannelDefinition, IDigitalDefinition, IComparable, IComparable IChannelDefinition, IEquatable IChannelDefinition, ISerializable

## Constructors

DigitalDefinition3(IConfigurationCell) | Creates a new DigitalDefinition3.
DigitalDefinition3(ConfigurationCell3, String, UInt16, UInt16) | Creates a new DigitalDefinition3 from specified parameters.

## Properties

Attributes | Gets a DictionaryTKey, TValue of string based property names and values for this DigitalDefinition3 object. (Overrides ChannelDefinitionBase3Attributes)
BinaryImage | Gets the binary image of the ChannelBase object. (Inherited from ChannelBase)
BinaryLength | Gets the length of the BinaryImageBase object. (Inherited from BinaryImageBase)
ConversionFactor | Gets or sets the conversion factor of this ChannelDefinitionBase3. (Inherited from ChannelDefinitionBase3)
DataFormat | Gets the DataFormat of this DigitalDefinitionBase. (Overrides ChannelDefinitionBase3DataFormat)
DraftRevision | Gets the DraftRevision of this DigitalDefinition3.
Index | Gets or sets the index of this ChannelDefinitionBase3. (Inherited from ChannelDefinitionBase3)
Label | Gets or sets the combined set of label images of this DigitalDefinition3. (Overrides ChannelDefinitionBase3Label)
LabelCount | Gets the number of labels defined in this DigitalDefinition3.
LabelImage | Gets the binary image of the Label of this DigitalDefinition3. (Overrides ChannelDefinitionBase3LabelImage)
Labels | Gets array of 16-digital labels.
MaximumLabelLength | Gets the maximum length of the Label of this DigitalDefinition3. (Overrides ChannelDefinitionBase3MaximumLabelLength)
MaximumScalingValue | Gets the maximum value for the ScalingValue of this ChannelDefinitionBase3. (Inherited from ChannelDefinitionBase3)
NormalStatus | Gets or sets normal status for this DigitalDefinition3.
Offset | Gets or sets the offset of this DigitalDefinitionBase. (Overrides ChannelDefinitionBase3Offset)
Parent | Gets or sets the ConfigurationCell3 parent of this DigitalDefinition3.
ScalePerBit | Gets the scale/bit for the ScalingValue of this DigitalDefinitionBase. (Overrides ChannelDefinitionBase3ScalePerBit)
ScalingValue | Gets or sets the integer scaling value of this DigitalDefinitionBase. (Overrides ChannelDefinitionBase3ScalingValue)
State | Gets or sets the parsing state for this ChannelBase object. (Inherited from ChannelBase)
Tag | Gets or sets a user definable reference to an object associated with this ChannelBase object. (Inherited from ChannelBase)
ValidInputs | Gets or sets valid input for this DigitalDefinition3.

## Methods

CompareTo(IChannelDefinition) | Compares this instance to a specified IChannelDefinition object and returns an indication of their relative values. (Inherited from ChannelDefinitionBase3)
CompareTo(Object) | Compares this instance to a specified object and returns an indication of their relative values. (Inherited from ChannelDefinitionBase3)
Equals(IChannelDefinition) | Returns a value indicating whether this instance is equal to specified IChannelDefinition value. (Inherited from ChannelDefinitionBase3)
Equals(Object) | Returns a value indicating whether this instance is equal to a specified object. (Inherited from ChannelDefinitionBase3)
GenerateBinaryImage | Generates binary image of the object and copies it into the given buffer, for BinaryLength bytes. (Inherited from ChannelBase)
GetHashCode | Returns the hash code for this instance. (Inherited from ChannelDefinitionBase3)
GetObjectData | Populates a SerializationInfo with the data needed to serialize the target object. (Overrides ChannelDefinitionBase3GetObjectData(SerializationInfo, StreamingContext))
GetType | Gets the Type of the current instance. (Inherited from Object)
ParseBinaryImage(Byte[], Int32, Int32) | Initializes object by parsing the specified buffer containing a binary image. (Inherited from BinaryImageBase)
ToString | Gets the string representation of this ChannelDefinitionBase3. (Inherited from ChannelDefinitionBase3)

## Extension Methods

CopyImage | This is a common optimized block copy function for any kind of data. (Defined by Common)

## See Also

#### Reference

Gemstone.PhasorProtocols.IEEEC37_118 Namespace