点击或拖拽改变大小

SecsHsmsSendByCommand 方法 (Byte, Byte, SecsValue, Boolean)

将数据发送到设备方去,只是单纯的发送数据过去,并不等待设备的数据返回,返回是否发送成功。
Sending data to the device side simply sends the data to the past, and does not wait for the data from the device to return, and returns whether the transmission is successful.

命名空间:  HslCommunication.Secs
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:12.0.0.0 (12.0.0.0)
语法
public OperateResult SendByCommand(
	byte stream,
	byte function,
	SecsValue data,
	bool back
)

参数

stream
类型:SystemByte
功能码1
function
类型:SystemByte
功能码2
data
类型:HslCommunication.Secs.TypesSecsValue
Secs格式的对象信息
back
类型:SystemBoolean
是否必须返回,此标记仅仅是secs报文的是否返回标记,不表示问答模式

返回值

类型:OperateResult
是否发送成功的结果对象

实现

ISecsSendByCommand(Byte, Byte, SecsValue, Boolean)
参见