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.163 -- Release Build+97192eed2051f39bed46b5b7b6ce36ee5f3afc99
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