.NET Based OPC UA Client/Server SDK
2.6.0.418
|
A type description for a structured which is also a simple union. More...
Inherits UnifiedAutomation.UaBase.GenericStructureDataType.
Public Member Functions | |
GenericOptionalFieldListDataType () | |
Initializes a new instance of the GenericOptionalFieldListDataType class. More... | |
void | AddOptional (GenericStructureDataTypeField value) |
Adds the field for the specified field name. More... | |
bool | IsFieldOptional (string fieldName) |
Checks if the field is optional. More... | |
bool | IsFieldEncoded (string fieldName, long encodingMask) |
Checks if the field is encoded given a value for the encoding mask. More... | |
void | SetEncodingMask (string fieldName, string encodingMaskFieldName) |
Sets the encoding mask field name for the specified field. More... | |
void | SetEncodingMask (string fieldName, byte bitPosition) |
Sets the bit position of the encoding mask for the specified field. More... | |
int | GetEncodingMask (string fieldName) |
Gets the bit position of the encoding mask for the specified field. More... | |
string | GetEncodingMaskField (string fieldName) |
Gets the encoding mask field name for the specified field. More... | |
override string | ToString (string format, IFormatProvider formatProvider) |
Returns a System.String that represents this instance. More... | |
override DataTypeDefinitionSettings | DataTypeDefinition (NamespaceTable namespaceUris) |
Returns the DataTypeDefinitionSettings for the structure. 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... | |
virtual void | Add (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 | EncodingMaskField [get] |
The name of the encoding mask field More... | |
override GenericDataTypeClass | TypeClass [get] |
Gets the type class for the object. More... | |
IList< string > | EncodingMaskFields [get, set] |
The an ordered list of the names of the fields in the encoding mask. More... | |
IList< int > | EncodingMaskLengths [get, set] |
The an ordered list of the lengths of each field in the encoding mask. More... | |
IDictionary< string, int > | EncodingMaskIndex [get] |
Gets a table with the mapping between a field and the index of the encoding mask used to select it. More... | |
Properties inherited from UnifiedAutomation.UaBase.GenericStructureDataType | |
ExpandedNodeId | XmlEncodingNodeId [get, set] |
The NodeId for the DefaultXML encoding node. More... | |
ExpandedNodeId | BinaryEncodingNodeId [get, set] |
The NodeId for the DefaultBinary encoding node. More... | |
override GenericDataTypeClass | TypeClass [get] |
Gets the type class for the object. More... | |
int | Count [get] |
Gets the number of fields in the structure. More... | |
IList< string > | Fields [get] |
Gets list of field names. 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... | |
abstract GenericDataTypeClass | TypeClass [get] |
Gets the type class for the object. More... | |
virtual ExpandedNodeId | DataTypeId [get, set] |
Gets or sets the DataTypeId More... | |
Additional Inherited Members | |
Protected Member Functions inherited from UnifiedAutomation.UaBase.GenericStructureDataType | |
void | Rename (string oldName, string newName) |
Renames the specified field. More... | |
A type description for a structured which is also a simple union.
|
inline |
Initializes a new instance of the GenericOptionalFieldListDataType class.
|
inline |
Adds the field for the specified field name.
value | A description for the field. |
|
inlinevirtual |
Returns the DataTypeDefinitionSettings for the structure.
namespaceUris | The NamespaceTable to resolve the DataTypeIds of the fields. |
Reimplemented from UnifiedAutomation.UaBase.GenericStructureDataType.
|
inline |
Gets the bit position of the encoding mask for the specified field.
fieldName | Name of the field. |
|
inline |
Gets the encoding mask field name for the specified field.
fieldName | Name of the field. |
|
inline |
Checks if the field is encoded given a value for the encoding mask.
fieldName | Name of the field. |
encodingMask | The encoding mask. |
|
inline |
Checks if the field is optional.
fieldName | Name of the field. |
|
inline |
Sets the encoding mask field name for the specified field.
fieldName | Name of the field. |
encodingMaskFieldName | Name of the encoding mask field. |
The encoding mask field name is added to the end of the list if it does not exist.
|
inline |
Sets the bit position of the encoding mask for the specified field.
fieldName | Name of the field. |
bitPosition | The zero based bit position. |
New encoding mask fields are allocated to allow the value to be set. Each automatically added field has a name "Bit#" and a width of 1.
|
inlinevirtual |
Returns a System.String that represents this instance.
format | The format. |
formatProvider | The format provider. |
Reimplemented from UnifiedAutomation.UaBase.GenericStructureDataType.
|
get |
The name of the encoding mask field
|
getset |
The an ordered list of the names of the fields in the encoding mask.
|
get |
Gets a table with the mapping between a field and the index of the encoding mask used to select it.
A table with the mapping between a field and the index of the encoding mask used to select it.
|
getset |
The an ordered list of the lengths of each field in the encoding mask.
|
get |
Gets the type class for the object.
The type class.