The method creates an Object with a subtype of ProductType from the address space. The Object needs a reference of the type "0:HasComponent" to the product folder of the scale device. The signature of this Method is specified below. Table 26 and Table 27 specify the Arguments and AddressSpace representation, respectively.

Note: To simplify the handling, it is recommended that during the creation of the product the object is immediately locked for the client. (see section 8.8)

Signature

AddProduct(

[in]String ProductName

[in]String ProductId

[in]NodeId ProductType

[out]NodeId ProductNodeId

);

Table 26 – AddProduct Method Arguments

Argument

Description

ProductName

A user-readable name of this Batch.

ProductId

A unique Id of this product

ProductType

The NodeId of a subtype of the ProductType or the NodeId of the ProductType itself

ProductNodeId

The NodeId of the created Object

Table 27 – AddProduct Method AddressSpace definition

Attribute

Value

BrowseName

AddProduct

References

NodeClass

BrowseName

DataType

TypeDefinition

ModellingRule

0:HasProperty

Variable

InputArguments

Argument[]

0:PropertyType

Mandatory

0:HasProperty

Variable

OutputArguments

Argument[]

0:PropertyType

Mandatory