.NET Based OPC UA Client/Server SDK
3.0.9.490
|
A class which builds schemas associated with dynamically defined data types. More...
Public Member Functions | |
SchemaBuilder (string uriForNodes, string uriForSchema) | |
Initializes a new instance of the SchemaBuilder class. More... | |
byte[] | GetBinaryDictionary () |
Gets the OPC Binary dictionary which describes the types managed by the instance. More... | |
GenericEnumeratedDataType | NewEnumeration (string name) |
Creates a new generic enumerated data type. More... | |
GenericEnumeratedDataType | NewEnumeration (NewEnumerationSettings settings) |
Creates a new generic enumerated data type. More... | |
GenericStructureDataType | NewStructure (string name) |
Creates a new generic structured data type. More... | |
GenericStructureDataType | NewStructure (NewStructureSettings settings) |
Creates a new generic structured data type. More... | |
GenericUnionDataType | NewUnion (string name) |
Creates a new generic union data type. More... | |
GenericUnionDataType | NewUnion (NewStructureSettings settings) |
Creates a new generic union data type. More... | |
GenericOptionalFieldListDataType | NewOptionalFieldList (string name) |
Creates a new generic optional field list data type. More... | |
GenericOptionalFieldListDataType | NewOptionalFieldList (NewStructureSettings settings) |
Creates a new generic optional field list data type. More... | |
GenericStructureDataTypeField | AddField (GenericStructureDataType definition, string name, BuiltInType type) |
Adds a field with a simple data type to a structure data type. More... | |
GenericStructureDataTypeField | AddField (GenericStructureDataType definition, string name, BuiltInType type, int valueRank) |
Adds a field with a simple data type to a structure data type. More... | |
GenericStructureDataTypeField | AddField (GenericStructureDataType definition, string name, BuiltInType type, ExpandedNodeId dataTypeId, int valueRank) |
Adds a field with a simple data type to a structure data type. More... | |
GenericStructureDataTypeField | AddField (GenericStructureDataType definition, string name, Type enumeration) |
Adds a field with an enumerated data type to a structured data type. More... | |
GenericStructureDataTypeField | AddField (GenericStructureDataType definition, string name, Type enumeration, int valueRank) |
Adds a field with an enumerated data type to a structured data type. More... | |
GenericStructureDataTypeField | AddField (GenericStructureDataType definition, string name, GenericEnumeratedDataType enumeration, int valueRank) |
Adds a field with an enumerated data type to a structured data type. More... | |
GenericStructureDataTypeField | AddField (GenericStructureDataType definition, string name, GenericDataType type) |
Adds a field with the specified data type to a structured data type. More... | |
GenericStructureDataTypeField | AddField (GenericStructureDataType definition, string name, GenericDataType type, int valueRank) |
Adds a field with the specified data type to a structured data type. More... | |
GenericStructureDataTypeField | AddOptionalField (GenericOptionalFieldListDataType definition, string name, BuiltInType type) |
Adds an optional field with a simple data type to a structure data type. More... | |
GenericStructureDataTypeField | AddOptionalField (GenericOptionalFieldListDataType definition, string name, BuiltInType type, int valueRank) |
Adds an optional field with a simple data type to a structure data type. More... | |
GenericStructureDataTypeField | AddOptionalField (GenericOptionalFieldListDataType definition, string name, BuiltInType type, ExpandedNodeId dataTypeId, int valueRank) |
Adds an optional field with a simple data type to a structure data type. More... | |
GenericStructureDataTypeField | AddOptionalField (GenericOptionalFieldListDataType definition, string name, Type enumeration) |
Adds an optional field with a simple data type to a structure data type. More... | |
GenericStructureDataTypeField | AddOptionalField (GenericOptionalFieldListDataType definition, string name, Type enumeration, int valueRank) |
Adds an optional field with a simple data type to a structure data type. More... | |
GenericStructureDataTypeField | AddOptionalField (GenericOptionalFieldListDataType definition, string name, GenericEnumeratedDataType enumeration, int valueRank) |
Adds an optional field with a simple data type to a structure data type. More... | |
GenericStructureDataTypeField | AddOptionalField (GenericOptionalFieldListDataType definition, string name, GenericDataType type) |
Adds an optional field with a simple data type to a structure data type. More... | |
GenericStructureDataTypeField | AddOptionalField (GenericOptionalFieldListDataType definition, string name, GenericDataType type, int valueRank) |
Adds an optional field with a simple data type to a structure data type. More... | |
bool | TypeExists (string name) |
Checks if the type is in the current dictionary. More... | |
T | Find< T > (string name) |
Finds type with the specified name. More... | |
void | Add (GenericDataType definition) |
Adds the specified data type to the dictionaries managed by the instance. More... | |
Properties | |
NodeId | BinaryDictionaryId [get, set] |
Gets or sets the id for the OPC Binary dictionary node. More... | |
string | NamespaceUriForNodes [get] |
Gets the namespace URI to use for data type and encoding nodes. More... | |
string | NamespaceUriForSchema [get] |
Gets the namespace URI to use for the schemas. More... | |
IdType | AutoGeneratedIdType [get, set] |
Gets or sets the type for automatically generated NodeIds. More... | |
A class which builds schemas associated with dynamically defined data types.
|
inline |
Initializes a new instance of the SchemaBuilder class.
uriForNodes | The namespace URI to use for data type and encoding node ids. |
uriForSchema | The namespace to use for the schemas. |
|
inline |
Adds the specified data type to the dictionaries managed by the instance.
definition | The data type to add. |
|
inline |
Adds a field with a simple data type to a structure data type.
definition | The structured data type to update. |
name | The name of the field. |
type | The type of . |
|
inline |
Adds a field with a simple data type to a structure data type.
definition | The structured data type to update. |
name | The name of the field. |
type | The type of . |
valueRank | OneDimension if the field is array; Scalar otherwise. |
|
inline |
Adds a field with a simple data type to a structure data type.
definition | The structured data type to update. |
name | The name of the field. |
type | The type of . |
dataTypeId | The NodeId of the DataType node. |
valueRank | OneDimension if the field is array; Scalar otherwise. |
|
inline |
Adds a field with an enumerated data type to a structured data type.
definition | The structured data type to update. |
name | The name of the field. |
enumeration | A type which respresents the enumeration. |
|
inline |
Adds a field with an enumerated data type to a structured data type.
definition | The structured data type to update. |
name | The name of the field. |
enumeration | A type which respresents the enumeration. |
valueRank | OneDimension if the field is array; Scalar otherwise. |
|
inline |
Adds a field with an enumerated data type to a structured data type.
definition | The structured data type to update. |
name | The name of the field. |
enumeration | A type which respresents the enumeration. |
valueRank | OneDimension if the field is array; Scalar otherwise. |
|
inline |
Adds a field with the specified data type to a structured data type.
definition | The structured data type to update. |
name | The name of the field. |
type | A generic type representing the field. |
|
inline |
Adds a field with the specified data type to a structured data type.
definition | The structured data type to update. |
name | The name of the field. |
type | A generic type representing the field. |
valueRank | OneDimension if the field is array; Scalar otherwise. |
|
inline |
Adds an optional field with a simple data type to a structure data type.
definition | The structured data type to update. |
name | The name of the field. |
type | The type of . |
|
inline |
Adds an optional field with a simple data type to a structure data type.
definition | The structured data type to update. |
name | The name of the field. |
type | The type of . |
valueRank | OneDimension if the field is array; Scalar otherwise. |
|
inline |
Adds an optional field with a simple data type to a structure data type.
definition | The structured data type to update. |
name | The name of the field. |
type | The type of . |
dataTypeId | The NodeId of the DataType node. |
valueRank | OneDimension if the field is array; Scalar otherwise. |
|
inline |
Adds an optional field with a simple data type to a structure data type.
definition | The structured data type to update. |
name | The name of the field. |
enumeration | A type which respresents the enumeration. |
|
inline |
Adds an optional field with a simple data type to a structure data type.
definition | The structured data type to update. |
name | The name of the field. |
enumeration | A type which respresents the enumeration. |
valueRank | OneDimension if the field is array; Scalar otherwise. |
|
inline |
Adds an optional field with a simple data type to a structure data type.
definition | The structured data type to update. |
name | The name of the field. |
enumeration | A type which respresents the enumeration. |
valueRank | OneDimension if the field is array; Scalar otherwise. |
|
inline |
Adds an optional field with a simple data type to a structure data type.
definition | The structured data type to update. |
name | The name of the field. |
type | A generic type representing the field. |
|
inline |
Adds an optional field with a simple data type to a structure data type.
definition | The structured data type to update. |
name | The name of the field. |
type | A generic type representing the field. |
valueRank | OneDimension if the field is array; Scalar otherwise. |
|
inline |
Finds type with the specified name.
T | The expected subtype of GenericDataType. |
name | The name. |
T | : | GenericDataType |
|
inline |
Gets the OPC Binary dictionary which describes the types managed by the instance.
|
inline |
Creates a new generic enumerated data type.
Creates the required nodes in addressspace and entries in the dictionaries.
name | The name of the enumerated data type. |
|
inline |
Creates a new generic enumerated data type.
Creates the required nodes in addressspace and entries in the dictionaries.
settings | Information about the DataType to be used for Dictionary and Nodes. |
|
inline |
Creates a new generic optional field list data type.
Creates the required nodes in addressspace and entries in the dictionaries.
name | The name of the optional field list data type. |
|
inline |
Creates a new generic optional field list data type.
Creates the required nodes in addressspace and entries in the dictionaries.
settings | Information about the DataType to be used for Dictionary and Nodes. |
|
inline |
Creates a new generic structured data type.
Creates the required nodes in addressspace and entries in the dictionaries.
name | The name of the structured data type. |
|
inline |
Creates a new generic structured data type.
Creates the required nodes in addressspace and entries in the dictionaries.
settings | Information about the DataType to be used for Dictionary and Nodes. |
|
inline |
Creates a new generic union data type.
Creates the required nodes in addressspace and entries in the dictionaries.
name | The name of the union data type. |
|
inline |
Creates a new generic union data type.
Creates the required nodes in addressspace and entries in the dictionaries.
settings | Information about the DataType to be used for Dictionary and Nodes. |
|
inline |
Checks if the type is in the current dictionary.
name | The name of the type. |
|
getset |
Gets or sets the type for automatically generated NodeIds.
The type for automatically generated NodeIds.
When data types are created the NodeIds for the DataType, DefaultBinary Encoding and DefaultXML Encoding are automatically generated. The AutoGeneratedIdType controls the type of identifiers of the new NodeIds.
The following algorithms are used: Numeric: monotonically increasing counter; Guid: new GUID created for each identifier; String: a string within the dictionary that incorporates the type name; ByteString: a UTF-8 encoded version of a string within the dictionary that incorporates the type name;
If autogenerated NodeIds are not desired they can be manually replace by the caller.
|
getset |
Gets or sets the id for the OPC Binary dictionary node.
The id for the OPC Binary dictionary node.
|
get |
Gets the namespace URI to use for data type and encoding nodes.
The namespace URI to use for data type and encoding nodes.
|
get |
Gets the namespace URI to use for the schemas.
The namespace URI to use for the schemas.