YRC1000TcpNetStartAsync 方法 |
开始程序。操作时指定程序名时,此程序能附带对应主程序,则从该程序的开头开始执行。如果没有指定,则从前行开始执行
Start the program. When the program name is specified during operation, the program can be accompanied by the corresponding main program,
and the execution starts from the beginning of the program. If not specified, execute from the previous line
命名空间:
HslCommunication.Robot.YASKAWA
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public Task<OperateResult> StartAsync(
string programName = null
)
Public Function StartAsync (
Optional programName As String = Nothing
) As Task(Of OperateResult)
public:
Task<OperateResult^>^ StartAsync(
String^ programName = nullptr
)
member StartAsync :
?programName : string
(* Defaults:
let _programName = defaultArg programName null
*)
-> Task<OperateResult>
参数
- programName (Optional)
- 类型:SystemString
开始动作程序名称,可以省略
返回值
类型:
TaskOperateResult是否启动成功
参见