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.156 -- Release Build+566b4839b04c9b0049b576901a43e8cdb3b7d9ea
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