将指定的命令写入机器人,该命令是完全自定义的,需要遵循机器人的通讯协议,在写入之前,需要调用
ServerStart(Int32) 方法
Write the specified command to the robot. The command is completely customized and needs to follow the robot's communication protocol.
Before writing, you need to call the
ServerStart(Int32)
命名空间:
HslCommunication.Robot.Hyundai
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public OperateResult Write(
HyundaiData data
)
Public Function Write (
data As HyundaiData
) As OperateResult
public:
OperateResult^ Write(
HyundaiData^ data
)
member Write :
data : HyundaiData -> OperateResult
参数
- data
- 类型:HslCommunication.Robot.HyundaiHyundaiData
机器人数据
返回值
类型:
OperateResult是否写入成功
参见