Gemstone PhasorProtocols Library
Show/Hide TOC

# DigitalValue(DataCell, DigitalDefinition, UInt16) Constructor

Creates a new DigitalValue from specified parameters.

## Definition

Namespace: Gemstone.PhasorProtocols.Macrodyne
Assembly: Gemstone.PhasorProtocols (in Gemstone.PhasorProtocols.dll) Version: 1.0.158 -- Release Build+4e142f43dbc4b789ed7256dff03daee71604570b
C#
View Source Request Example

    public DigitalValue(
    	DataCell parent,
    	DigitalDefinition digitalDefinition,
    	ushort value
    )

VB
View Source Request Example

    Public Sub New (
    	parent As DataCell,
    	digitalDefinition As DigitalDefinition,
    	value As UShort
    )

C++
View Source Request Example

    public:
    DigitalValue(
    	DataCell^ parent,
    	DigitalDefinition^ digitalDefinition,
    	unsigned short value
    )

JavaScript
View Source Request Example

    Gemstone.PhasorProtocols.Macrodyne.DigitalValue = function(parent, digitalDefinition, value);

#### Parameters

parent DataCell
  The DataCell parent of this DigitalValue.
digitalDefinition DigitalDefinition
  The DigitalDefinition associated with this DigitalValue.
value UInt16
  The unsigned 16-bit integer value (composed of digital bits) that represents this DigitalValue.

## See Also

#### Reference

DigitalValue Class
DigitalValue Overload
Gemstone.PhasorProtocols.Macrodyne Namespace