VibrationSensorClientConnectServerAsync 方法 |
连接服务器,实例化客户端之后,至少要调用成功一次,如果返回失败,那些请过一段时间后重新调用本方法连接。
After connecting to the server, the client must be called at least once after instantiating the client.
If the return fails, please call this method to connect again after a period of time.
命名空间:
HslCommunication.Profinet.Geniitek
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public Task<OperateResult> ConnectServerAsync()
Public Function ConnectServerAsync As Task(Of OperateResult)
public:
Task<OperateResult^>^ ConnectServerAsync()
member ConnectServerAsync : unit -> Task<OperateResult>
返回值
类型:
TaskOperateResult连接是否成功
参见