点击或拖拽改变大小

SecsHsmsServerPublishSecsMessage 方法 (PipeSession, Byte, Byte, SecsValue, Boolean)

发布一个 SecsValue 数据到指定的客户端信息,返回是否发送成功
Publish a SecsValue data to all the online client information and return whether the sending was successful

命名空间:  HslCommunication.Secs
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:12.3.1.0 (12.3.1.0)
语法
public OperateResult PublishSecsMessage(
	PipeSession session,
	byte stream,
	byte function,
	SecsValue data,
	bool wBit
)

参数

session
类型:HslCommunication.Core.NetPipeSession
会话信息
stream
类型:SystemByte
功能码1
function
类型:SystemByte
功能码2
data
类型:HslCommunication.Secs.TypesSecsValue
数据对象
wBit
类型:SystemBoolean
是否必须回复讯息

返回值

类型:OperateResult
是否发送成功
参见