ModBus_ApplicationLayerPluginHelperBase<(Of <(<'TModbusMessage, TProtocolParameters, TModbusProtocol>)>)>..::..CreateApplicationLayerSlave Method
Creates the application layer slave.
Namespace:
CAS.CommServer.DataProvider.MODBUSCoreAssembly: DataProvider.MODBUSCore (in DataProvider.MODBUSCore.dll)
Syntax
public IApplicationLayerSlave CreateApplicationLayerSlave( ICommunicationLayerFactory communicationLayerFactory, ProtocolParameters protocolParameters, out IProtocolParent protocolParent, string cName, ulong cID, CommonBusControl cParent )
Public Function CreateApplicationLayerSlave ( _ communicationLayerFactory As ICommunicationLayerFactory, _ protocolParameters As ProtocolParameters, _ <OutAttribute> ByRef protocolParent As IProtocolParent, _ cName As String, _ cID As ULong, _ cParent As CommonBusControl _ ) As IApplicationLayerSlave
public: IApplicationLayerSlave^ CreateApplicationLayerSlave( ICommunicationLayerFactory^ communicationLayerFactory, ProtocolParameters^ protocolParameters, [OutAttribute] IProtocolParent^% protocolParent, String^ cName, unsigned long long^ cID, CommonBusControl^ cParent )
Parameters
- communicationLayerFactory
- Type: ICommunicationLayerFactory
The communication factory.
- protocolParameters
- Type: ProtocolParameters
The protocol parameters.
- protocolParent
- Type: IProtocolParent%
The statistic.
- cName
- Type: String
the name
- cID
- Type: UInt64
The Identifier.
- cParent
- Type: CommonBusControl
The parent.