UA Bundle SDK .NET  2.3.1.334
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Groups Pages
UnifiedAutomation.UaBase.GenericUnionDataType Class Reference

A type description for a structured which is a simple union. More...

Inherits UnifiedAutomation.UaBase.GenericStructureDataType.

Public Member Functions

 GenericUnionDataType ()
 Initializes a new instance of the GenericUnionDataType class. More...
 
override string ToString (string format, IFormatProvider formatProvider)
 Returns a System.String that represents this instance. More...
 
- Public Member Functions inherited from UnifiedAutomation.UaBase.GenericStructureDataType
 GenericStructureDataType ()
 Initializes a new instance of the GenericStructureDataType class. More...
 
bool TryGetValue (string name, out GenericStructureDataTypeField value)
 Checks whether the specified field exists and returns it if it does. More...
 
void Add (string name, GenericStructureDataTypeField value)
 Adds the field for the specified field name. More...
 
bool Remove (string name)
 Removes the field with the specified name. More...
 
void RemoveAt (int ii)
 Removes the field at the specified index. More...
 
IEnumerator< KeyValuePair
< string,
GenericStructureDataTypeField > > 
GetEnumerator ()
 Returns an enumerator that iterates through the collection. More...
 
- Public Member Functions inherited from UnifiedAutomation.UaBase.GenericDataType
override string ToString ()
 Returns a System.String that represents this instance. More...
 

Properties

string SwitchField [get, set]
 The name of switch field which specifies the field stored in the union. More...
 
IDictionary< long, string > SwitchTable [get]
 Gets the mapping between a switch value and the field that is stored in the union. More...
 
- Properties inherited from UnifiedAutomation.UaBase.GenericStructureDataType
int Count [get]
 Gets the number of fields in the structure. More...
 
GenericStructureDataTypeField this[string key] [get, set]
 Gets or sets the field with the specified field name. More...
 
GenericStructureDataTypeField this[int index] [get, set]
 Gets or sets the field at the specified index. More...
 
- Properties inherited from UnifiedAutomation.UaBase.GenericDataType
XmlQualifiedName Name [get, set]
 Gets or sets the qualified name for the type. More...
 
object SchemaInfo [get, set]
 Gets or sets the OPCBinary or XML schema object which defines the type. More...
 

Detailed Description

A type description for a structured which is a simple union.

Constructor & Destructor Documentation

UnifiedAutomation.UaBase.GenericUnionDataType.GenericUnionDataType ( )
inline

Initializes a new instance of the GenericUnionDataType class.

Member Function Documentation

override string UnifiedAutomation.UaBase.GenericUnionDataType.ToString ( string  format,
IFormatProvider  formatProvider 
)
inlinevirtual

Returns a System.String that represents this instance.

Parameters
formatThe format.
formatProviderThe format provider.
Returns
A System.String that represents this instance.

Reimplemented from UnifiedAutomation.UaBase.GenericStructureDataType.

Property Documentation

string UnifiedAutomation.UaBase.GenericUnionDataType.SwitchField
getset

The name of switch field which specifies the field stored in the union.

IDictionary<long, string> UnifiedAutomation.UaBase.GenericUnionDataType.SwitchTable
get

Gets the mapping between a switch value and the field that is stored in the union.

The switch table.


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