CVBpy 14.0
MethodNodeArgument Class Reference

A helper class to manage arguments of a method node. More...

Inherits object.

Public Member Functions

Union[str, float, int] read (self)
 Returns the value of the argument. More...
 
None write (self, Union[str, float, int] value)
 Sets the value of the argument. More...
 

Properties

 data_type = property
 int: Gets the data type of the argument (see cvb.opcua.DataType).
 

Detailed Description

A helper class to manage arguments of a method node.

Member Function Documentation

◆ read()

Union[str, float, int] read (   self)

Returns the value of the argument.

Returns

Union[str, float, int] Value of the argument.

◆ write()

None write (   self,
Union[str, float, int]  value 
)

Sets the value of the argument.

Parameters

value : Union[str, float, int] New value for the argument.