CAS.CommServer.DataProvider.MODBUSCore Namespace
CAS.CommServer.DataProvider.TextReader Namespace
CAS.Lib.CommonBus.ApplicationLayer Namespace
N:CAS.Lib.CommonBus.ApplicationLayer.Modbus
CAS.Lib.CommonBus.ApplicationLayer.Modbus Namespace
CAS.Lib.CommonBus.ApplicationLayer.SBUS Namespace
ProcessObserver.DataProviders

ModbusProtocol<(Of <(<'ModBusMessage>)>)> Constructor

MODBUS protocol initialization

Namespace:  CAS.CommServer.DataProvider.MODBUSCore
Assembly:  DataProvider.MODBUSCore (in DataProvider.MODBUSCore.dll)

Syntax


public ModbusProtocol(
	ICommunicationLayer communicationLayer,
	ProtocolParameters protocolParameters,
	IProtocolParent protocolParent,
	SesDBufferPool<ModBusMessage> pool
)
Public Sub New ( _
	communicationLayer As ICommunicationLayer, _
	protocolParameters As ProtocolParameters, _
	protocolParent As IProtocolParent, _
	pool As SesDBufferPool(Of ModBusMessage) _
)
public:
ModbusProtocol(
	ICommunicationLayer^ communicationLayer, 
	ProtocolParameters^ protocolParameters, 
	IProtocolParent^ protocolParent, 
	SesDBufferPool<ModBusMessage>^ pool
)

Parameters

communicationLayer
Type: ICommunicationLayer
Interface responsible for providing the communication
protocolParameters
Type: ProtocolParameters
Protocol parameters
protocolParent
Type: IProtocolParent
Statistical information about the communication performance
pool
Type: SesDBufferPool<(Of <(<'ModBusMessage>)>)>
Empty data messages pool to be used by the protocol.