.NET Based OPC UA Client/Server SDK  2.6.1.422
UnifiedAutomation.UaBase.ValueRanks Class Reference

Constants defined for the ValueRank attribute. More...

Static Public Member Functions

static bool IsValid (int actualValueRank, int expectedValueRank)
 Checks if the actual value rank is compatible with the expected value rank. More...
 
static bool IsValid (IList< uint > actualArrayDimensions, int valueRank, IList< uint > expectedArrayDimensions)
 Checks if the actual array diminesions is compatible with the expected value rank and array dimensions. More...
 

Public Attributes

const int ScalarOrOneDimension = -3
 The variable may be a scalar or a one dimensional array. More...
 
const int Any = -2
 The variable may be a scalar or an array of any dimension. More...
 
const int Scalar = -1
 The variable is always a scalar. More...
 
const int OneOrMoreDimensions = 0
 The variable is always an array with one or more dimensions. More...
 
const int OneDimension = 1
 The variable is always one dimensional array. More...
 
const int TwoDimensions = 2
 The variable is always an array with two or more dimensions. More...
 

Detailed Description

Constants defined for the ValueRank attribute.

Member Function Documentation

static bool UnifiedAutomation.UaBase.ValueRanks.IsValid ( int  actualValueRank,
int  expectedValueRank 
)
inlinestatic

Checks if the actual value rank is compatible with the expected value rank.

static bool UnifiedAutomation.UaBase.ValueRanks.IsValid ( IList< uint >  actualArrayDimensions,
int  valueRank,
IList< uint >  expectedArrayDimensions 
)
inlinestatic

Checks if the actual array diminesions is compatible with the expected value rank and array dimensions.

Member Data Documentation

const int UnifiedAutomation.UaBase.ValueRanks.Any = -2

The variable may be a scalar or an array of any dimension.

const int UnifiedAutomation.UaBase.ValueRanks.OneDimension = 1

The variable is always one dimensional array.

const int UnifiedAutomation.UaBase.ValueRanks.OneOrMoreDimensions = 0

The variable is always an array with one or more dimensions.

const int UnifiedAutomation.UaBase.ValueRanks.Scalar = -1

The variable is always a scalar.

const int UnifiedAutomation.UaBase.ValueRanks.ScalarOrOneDimension = -3

The variable may be a scalar or a one dimensional array.

const int UnifiedAutomation.UaBase.ValueRanks.TwoDimensions = 2

The variable is always an array with two or more dimensions.


The documentation for this class was generated from the following file: