点击或拖拽改变大小

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
)

参数

data
类型:SystemByte
原始数据
isTcp
类型:SystemBoolean
是否是TCP相关的

返回值

类型:String
消息
参见