YamahaRCXReadCommandAsync 方法 |
读取指定的命令的方法,需要指定命令,和接收命令的行数信息
The method of reading the specified command requires the specified command and the line number information of the received command
命名空间:
HslCommunication.Robot.YAMAHA
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public Task<OperateResult<string[]>> ReadCommandAsync(
string command,
int lines
)
Public Function ReadCommandAsync (
command As String,
lines As Integer
) As Task(Of OperateResult(Of String()))
public:
Task<OperateResult<array<String^>^>^>^ ReadCommandAsync(
String^ command,
int lines
)
member ReadCommandAsync :
command : string *
lines : int -> Task<OperateResult<string[]>>
参数
- command
- 类型:SystemString
命令 - lines
- 类型:SystemInt32
接收的行数信息
返回值
类型:
TaskOperateResultString接收的命令
参见