点击或拖拽改变大小

ModbusTcpServerGetSerialMessageLogText 方法

获取串口模式下消息的日志记录方式,可以继承重写。
Get the logging method of messages in serial mode, which can be inherited and rewritten.

命名空间:  HslCommunication.ModBus
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:11.8.2.0 (11.8.2.0)
语法
protected override string GetSerialMessageLogText(
	byte[] data,
	bool isTcp
)

参数

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

返回值

类型:String
消息
参见