Click or drag to resize

DataType

Home
DataType

The DataType Model is used to define simple and complex data types. Data types are used to describe the structure of the Value Attribute of Variables and their VariableTypes. Therefore each Variable and VariableType is pointing with its DataType Attribute to a Node of the DataType node class.

DataType properties description
Data Type Property Grid
Figure 1: DataType property grid

DataType properties:

  1. No Arrays Allowed - A value indicating whether no arrays are allowed.

  2. Not In AddressSpace - A value indicating whether node is not in Address Space.

  3. Browse Name - the name used in the information model. The validator will create the BrowseName automatically from the SymbolicName. The BrowseName is qualified by the namespace used for the SymbolicName.

  4. Description – optionally, a vendor specific description is provided. The validator automatically creates a generic Description from the BrowseName and NodeClass.

  5. Key – an optional key that can be used to look up the Description for other locales in a resource DB.

  6. Value – the value of the Description attribute for the Node.

  7. Display Name – a human readable name for the Node. The validator automatically creates the DisplayName from the BrowseName.

  8. Key – an optional key that can be used to look up the display name for other locales in a resource DB.

  9. Value – the value of the Display Name.

  10. IsDeclaration - this flag indicates that the Node is defined elsewhere and no code will be generated. Nodes that are declarations do not need to be completely defined. They only need to have the information required to generate a code for the nodes that reference it (e.g. the BaseType).

  11. StringId - an alternate unique identifier for the node. It is used instead of the NumericId if it is specified in the CSV input file.

  12. Symbolic Name - identifies the Node within the ModelDesign or within the containing Node. The SymbolicName should always be specified. It is used to create the BrowseName and SymbolicId if they are not specified.

  13. Is Empty - indicates whether the Symbolic Name is empty.

  14. Name – a name, which is a part of the Symbolic Name.

  15. Namespace – a namespace, which qualifies the Name from the Symbolic Name.

  16. Write access - a bit mask that indicates, which attributes are writeable. Optionally, the WriteMask Attribute can be provided. If the WriteMask Attribute is provided, it shall set all Attributes to not writeable that are not said to be vendor-specific. For example, the Description Attribute may be set to writeable since a Server may provide a server-specific description for the Node. The NodeId shall not be writeable, because it is defined for each Node in the specification.

  17. Base Type - the name of the base type pointed out by the HasSubtype reference. The semantic of the HasSubtype type is to express a subtype relationship of types.

  18. Default value – a default BaseType

  19. Is Empty - indicates if there is no Base Type.

  20. Name - BaseType name.

  21. Namespace – a namespace that qualifies the BaseType name

  22. Class name - a name for the instance of the type. If not specified, the validator creates it by removing the 'Type' suffix from the SymbolicName for the Node.

  23. Is Abstract - indicates whether this type is abstract.

  24. No Class Generation - indicates whether to suppress class generation for the type.