PlcMeterConnect Delegate

Delegate for meter connection events.

Definition

Namespace: OddPrg.Communication.Plc
Assembly: OddPrg.Communication.Listeners (in OddPrg.Communication.Listeners.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public delegate void PlcMeterConnect(
	Listener listener,
	string clientDescription,
	string meterID,
	ushort address,
	int level,
	AddDispatchMessage addLogLine
)

Parameters

listener  Listener
Listener that caught meter connect/disconnect.
clientDescription  String
Description of PLC base node that caught meter connect/disconnect.
meterID  String
Meter ID, e.g. ZPA0123456789.
address  UInt16
Meter address
level  Int32
Prime tree level or 1 if it is unknown.
addLogLine  AddDispatchMessage
Procedure that adds a line to the listener log.

See Also