OPC UA 方法参数信息
更多...
#include <rmvl/opcua/method.hpp>
OPC UA 方法参数信息
- 注解
- 不储备任何调用时数据,仅用于描述方法参数
◆ create()
static Argument rm::Argument::create |
( |
const std::string & | name, |
|
|
DataType | type, |
|
|
uint32_t | dims = 1, |
|
|
const std::string & | desc = "" ) |
|
inlinestatic |
创建方法参数信息
- 参数
-
[in] | name | 参数名称 |
[in] | type | 参数数据类型 |
- 参见
- rm::DataType
- 参数
-
[in] | dims | 参数维数,单数据则是 1 ,数组则是数组长度 |
- 警告
- 不能为
0
- 参数
-
- 返回
- 方法参数信息
◆ description
std::string rm::Argument::description {} |
◆ dims
uint32_t rm::Argument::dims {1U} |
参数维数,单数据则是 1
,数组则是数组长度
- 警告
- 不能为
0
◆ name
std::string rm::Argument::name |
◆ type
该结构体的文档由以下文件生成: