#include <system_info.h>
arcs::common_interface::SystemInfo::SystemInfo |
( |
| ) |
|
virtual arcs::common_interface::SystemInfo::~SystemInfo |
( |
| ) |
|
|
virtual |
std::string arcs::common_interface::SystemInfo::getControlSoftwareBuildDate |
( |
| ) |
|
获取控制器软件构建时间
- 返回
- 返回控制器软件构建时间
- Python函数原型
- getControlSoftwareBuildDate(self: pyaubo_sdk.SystemInfo) -> str
- Lua函数原型
- getControlSoftwareBuildDate() -> string
- C++示例
std::string build_date =
rpc_cli->getSystemInfo()->getControlSoftwareBuildDate();
- JSON-RPC请求示例
- {"jsonrpc":"2.0","method":"SystemInfo.getControlSoftwareBuildDate","params":[],"id":1}
- JSON-RPC响应示例
- {"id":1,"jsonrpc":"2.0","result":"2024-3-5 07:03:20"}
std::string arcs::common_interface::SystemInfo::getControlSoftwareFullVersion |
( |
| ) |
|
获取完整控制器软件版本号
- 返回
- 返回完整控制器软件版本号
- Python函数原型
- getControlSoftwareFullVersion(self: pyaubo_sdk.SystemInfo) -> str
- Lua函数原型
- getControlSoftwareFullVersion() -> string
- C++示例
std::string control_version =
rpc_cli->getSystemInfo()->getControlSoftwareFullVersion();
- JSON-RPC请求示例
- {"jsonrpc":"2.0","method":"SystemInfo.getControlSoftwareFullVersion","params":[],"id":1}
- JSON-RPC响应示例
- {"id":1,"jsonrpc":"2.0","result":"0.31.0-alpha.16+20alc76"}
int arcs::common_interface::SystemInfo::getControlSoftwareVersionCode |
( |
| ) |
|
获取控制器软件版本号
- 返回
- 返回控制器软件版本号
- Python函数原型
- getControlSoftwareVersionCode(self: pyaubo_sdk.SystemInfo) -> int
- Lua函数原型
- getControlSoftwareVersionCode() -> number
- C++示例
int control_version =
rpc_cli->getSystemInfo()->getControlSoftwareVersionCode();
- JSON-RPC请求示例
- {"jsonrpc":"2.0","method":"SystemInfo.getControlSoftwareVersionCode","params":[],"id":1}
- JSON-RPC响应示例
- {"id":1,"jsonrpc":"2.0","result":28003}
std::string arcs::common_interface::SystemInfo::getControlSoftwareVersionHash |
( |
| ) |
|
获取控制器软件git版
- 返回
- 返回控制器软件git版本
- Python函数原型
- getControlSoftwareVersionHash(self: pyaubo_sdk.SystemInfo) -> str
- Lua函数原型
- getControlSoftwareVersionHash() -> string
- C++示例
std::string git_version =
rpc_cli->getSystemInfo()->getControlSoftwareVersionHash();
- JSON-RPC请求示例
- {"jsonrpc":"2.0","method":"SystemInfo.getControlSoftwareVersionHash","params":[],"id":1}
- JSON-RPC响应示例
- {"id":1,"jsonrpc":"2.0","result":"fa4f64a"}
uint64_t arcs::common_interface::SystemInfo::getControlSystemTime |
( |
| ) |
|
获取系统时间(软件启动时间 ns 纳秒)
- 返回
- 返回系统时间(软件启动时间 ns 纳秒)
- Python函数原型
- getControlSystemTime(self: pyaubo_sdk.SystemInfo) -> int
- Lua函数原型
- getControlSystemTime() -> number
- C++示例
std::string system_time =
rpc_cli->getSystemInfo()->getControlSystemTime();
- JSON-RPC请求示例
- {"jsonrpc":"2.0","method":"SystemInfo.getControlSystemTime","params":[],"id":1}
- JSON-RPC响应示例
- {"id":1,"jsonrpc":"2.0","result":9287799079682}
int arcs::common_interface::SystemInfo::getInterfaceVersionCode |
( |
| ) |
|
获取接口版本号
- 返回
- 返回接口版本号
- Python函数原型
- getInterfaceVersionCode(self: pyaubo_sdk.SystemInfo) -> int
- Lua函数原型
- getInterfaceVersionCode() -> number
- C++示例
int interface_version =
rpc_cli->getSystemInfo()->getInterfaceVersionCode();
- JSON-RPC请求示例
- {"jsonrpc":"2.0","method":"SystemInfo.getInterfaceVersionCode","params":[],"id":1}
- JSON-RPC响应示例
- {"id":1,"jsonrpc":"2.0","result":22003}
void* arcs::common_interface::SystemInfo::d_ |
|
protected |
该类的文档由以下文件生成: