NetworkDataServerBaseGetSerialMessageLogText 方法 |
获取串口模式下消息的日志记录方式,可以继承重写。
Get the logging method of messages in serial mode, which can be inherited and rewritten.
命名空间:
HslCommunication.Core.Net
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:11.8.2.0 (11.8.2.0)
语法protected virtual string GetSerialMessageLogText(
byte[] data,
bool isTcp
)
Protected Overridable Function GetSerialMessageLogText (
data As Byte(),
isTcp As Boolean
) As String
protected:
virtual String^ GetSerialMessageLogText(
array<unsigned char>^ data,
bool isTcp
)
abstract GetSerialMessageLogText :
data : byte[] *
isTcp : bool -> string
override GetSerialMessageLogText :
data : byte[] *
isTcp : bool -> string
参数
- data
- 类型:SystemByte
原始数据 - isTcp
- 类型:SystemBoolean
是否是TCP相关的
返回值
类型:
String消息
参见