SecsHsmsServerSendByCommand 方法 (PipeSession, SecsMessage, Byte, Byte, SecsValue, Boolean) |
向指定的会话信息发送SECS格式的原始字节数据信息,session 为当前的会话对象,receiveMessage 为从客户端接收的数据,data 是真实的返回数据
Send the original byte data information in SECS format to the specified session information. Session is the current session object, receiveMessage is the data received from the client, and data is the real returned data
命名空间:
HslCommunication.Secs
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.3.1.0 (12.3.1.0)
语法public OperateResult SendByCommand(
PipeSession session,
SecsMessage receiveMessage,
byte stream,
byte function,
SecsValue data,
bool wBit
)
Public Function SendByCommand (
session As PipeSession,
receiveMessage As SecsMessage,
stream As Byte,
function As Byte,
data As SecsValue,
wBit As Boolean
) As OperateResult
public:
OperateResult^ SendByCommand(
PipeSession^ session,
SecsMessage^ receiveMessage,
unsigned char stream,
unsigned char function,
SecsValue^ data,
bool wBit
)
member SendByCommand :
session : PipeSession *
receiveMessage : SecsMessage *
stream : byte *
function : byte *
data : SecsValue *
wBit : bool -> OperateResult
参数
- session
- 类型:HslCommunication.Core.NetPipeSession
当前的会话对象 - receiveMessage
- 类型:HslCommunication.Secs.TypesSecsMessage
接收到的Secs数据 - stream
- 类型:SystemByte
功能码1 - function
- 类型:SystemByte
功能码2 - data
- 类型:HslCommunication.Secs.TypesSecsValue
原始的字节数据,或是SecsValue数据类 - wBit
- 类型:SystemBoolean
是否必须回复讯息
返回值
类型:
OperateResult是否发送成功
参见