点击或拖拽改变大小

SecsHsmsServerPublishSecsMessage 方法 (Byte, Byte, SecsValue, UInt32, 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(
	byte stream,
	byte function,
	SecsValue data,
	uint messageId,
	bool wBit
)

参数

stream
类型:SystemByte
功能码1
function
类型:SystemByte
功能码2
data
类型:HslCommunication.Secs.TypesSecsValue
数据对象
messageId
类型:SystemUInt32
Secs协议的系统消息,也可以认为是消息ID
wBit
类型:SystemBoolean
是否必须回复讯息

返回值

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