YRC1000TcpNetSetMJAsync 方法 |
指定的程序设定为主程序。设定主程序的同时执行程序也被设定。
The specified program is set as the main program. The execution program is also set when the main program is set.
命名空间:
HslCommunication.Robot.YASKAWA
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public Task<OperateResult> SetMJAsync(
string programName = null
)
Public Function SetMJAsync (
Optional programName As String = Nothing
) As Task(Of OperateResult)
public:
Task<OperateResult^>^ SetMJAsync(
String^ programName = nullptr
)
member SetMJAsync :
?programName : string
(* Defaults:
let _programName = defaultArg programName null
*)
-> Task<OperateResult>
参数
- programName (Optional)
- 类型:SystemString
设定的程序名称
返回值
类型:
TaskOperateResult是否设定成功
参见