xCore-SDK  0.7.1
xCore SDK C# API
rokae::clr::BaseUpgrade类 参考

Controller upgrade and backup APIs. 更多...

#include <upgrade_cli.hpp>

Public 成员函数

 BaseUpgrade ()
 Default constructor without connection. 更多...
 
 BaseUpgrade (String^ remote_ip)
 Construct and connect to upgrade server. 更多...
 
 ~BaseUpgrade ()
 Destructor
 
void connect ([System::Runtime::InteropServices::Out] ErrorCode^% ec)
 Connect to robot upgrade server. 更多...
 
void connect (String^ remote_ip)
 Connect to robot upgrade server. 更多...
 
void upgrade (String^ local_file_path, [System::Runtime::InteropServices::Out] ErrorCode^% ec)
 Upgrade controller package. 更多...
 
void exportBackup (String^ local_file_path, array< BackupItem >^ items, [System::Runtime::InteropServices::Out] ErrorCode^% ec)
 Export controller backup. 更多...
 

详细描述

Controller upgrade and backup APIs.

在文件 upgrade_cli.hpp19 行定义.

构造及析构函数说明

◆ BaseUpgrade() [1/2]

rokae::clr::BaseUpgrade::BaseUpgrade ( )

Default constructor without connection.

◆ BaseUpgrade() [2/2]

rokae::clr::BaseUpgrade::BaseUpgrade ( String^  remote_ip)

Construct and connect to upgrade server.

参数
remote_ipRobot IP address

成员函数说明

◆ connect() [1/2]

void rokae::clr::BaseUpgrade::connect ( [System::Runtime::InteropServices::Out] ErrorCode^%  ec)

Connect to robot upgrade server.

参数
ecError code output

◆ connect() [2/2]

void rokae::clr::BaseUpgrade::connect ( String^  remote_ip)

Connect to robot upgrade server.

参数
remote_ipRobot IP address

◆ exportBackup()

void rokae::clr::BaseUpgrade::exportBackup ( String^  local_file_path,
array< BackupItem >^  items,
[System::Runtime::InteropServices::Out] ErrorCode^%  ec 
)

Export controller backup.

参数
local_file_pathLocal backup file path
itemsBackup items
ecError code output

◆ upgrade()

void rokae::clr::BaseUpgrade::upgrade ( String^  local_file_path,
[System::Runtime::InteropServices::Out] ErrorCode^%  ec 
)

Upgrade controller package.

参数
local_file_pathLocal package path
ecError code output

该类的文档由以下文件生成: