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
)
Public Function PublishSecsMessage (
stream As Byte,
function As Byte,
data As SecsValue,
messageId As UInteger,
wBit As Boolean
) As OperateResult
public:
OperateResult^ PublishSecsMessage(
unsigned char stream,
unsigned char function,
SecsValue^ data,
unsigned int messageId,
bool wBit
)
member PublishSecsMessage :
stream : byte *
function : byte *
data : SecsValue *
messageId : uint32 *
wBit : bool -> OperateResult
参数
- stream
- 类型:SystemByte
功能码1 - function
- 类型:SystemByte
功能码2 - data
- 类型:HslCommunication.Secs.TypesSecsValue
数据对象 - messageId
- 类型:SystemUInt32
Secs协议的系统消息,也可以认为是消息ID - wBit
- 类型:SystemBoolean
是否必须回复讯息
返回值
类型:
OperateResult是否发送成功
参见