指定收发数据实例化一个对象
命名空间:
HslCommunication.Profinet.Siemens.S7PlusHelper
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public OpenSslConnect(
Func<byte[], OperateResult> sendDataFunc,
Action<byte[]> receiveByte
)
Public Sub New (
sendDataFunc As Func(Of Byte(), OperateResult),
receiveByte As Action(Of Byte())
)
public:
OpenSslConnect(
Func<array<unsigned char>^, OperateResult^>^ sendDataFunc,
Action<array<unsigned char>^>^ receiveByte
)
new :
sendDataFunc : Func<byte[], OperateResult> *
receiveByte : Action<byte[]> -> OpenSslConnect
参数
- sendDataFunc
- 类型:SystemFuncByte, OperateResult
发送数据的委托方法 - receiveByte
- 类型:SystemActionByte
接收数据的委托方法
参见