UA Bundle SDK .NET
2.3.1.334
|
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... | |
A type description for a structured which is a simple union.
|
inline |
Initializes a new instance of the GenericUnionDataType class.
|
inlinevirtual |
Returns a System.String that represents this instance.
format | The format. |
formatProvider | The format provider. |
Reimplemented from UnifiedAutomation.UaBase.GenericStructureDataType.
|
getset |
The name of switch field which specifies the field stored in the union.
|
get |
Gets the mapping between a switch value and the field that is stored in the union.
The switch table.