点击或拖拽改变大小

BinaryCommunicationSetDtuPipeAsync 方法

将当前的通信对象设置DTU模式,允许传入现成的管道,并返回初始化结果,如果该设备重写了握手报文,就是返回握手结果
Set the current communication object to DTU mode, allow the existing pipe to be passed in, and return the initialization result, if the device rewrites the handshake packet, the handshake result is returned

命名空间:  HslCommunication.Core.Net
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:12.1.0.0 (12.1.0.0)
语法
public Task<OperateResult> SetDtuPipeAsync(
	PipeDtuNet pipe
)

参数

pipe
类型:HslCommunication.Core.PipePipeDtuNet
DTU的管道信息

返回值

类型:TaskOperateResult
是否设置管道并初始化成功
参见