YamahaRCXReadFromServerAsync 方法 |
发送命令行到socket, 并从机器人读取指定的命令行
命名空间:
HslCommunication.Robot.YAMAHA
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public Task<OperateResult<string[]>> ReadFromServerAsync(
byte[] send,
int lines
)
Public Function ReadFromServerAsync (
send As Byte(),
lines As Integer
) As Task(Of OperateResult(Of String()))
public:
Task<OperateResult<array<String^>^>^>^ ReadFromServerAsync(
array<unsigned char>^ send,
int lines
)
member ReadFromServerAsync :
send : byte[] *
lines : int -> Task<OperateResult<string[]>>
参数
- send
- 类型:SystemByte
等待发送的数据 - lines
- 类型:SystemInt32
接收的行数
返回值
类型:
TaskOperateResultString结果的结果数据内容
参见