C# Class Gurux.DLMS.GXDLMSSettings

This class includes DLMS communication settings.
Mostra file Open project: Gurux/Gurux.DLMS.Net Class Usage Examples

Private Properties

Property Type Description
GXDLMSSettings System
IncreaseBlockIndex void
IncreaseReceiverSequence byte
IncreaseSendSequence byte
KeepAlive byte
NextSend byte
ReceiverReady byte
ResetBlockIndex void

Public Methods

Method Description
CheckFrame ( byte frame ) : bool
GXDLMSSettings ( ) : System

Constructor.

GXDLMSSettings ( GXDLMSObjectCollection objects ) : System

Constructor.

ResetFrameSequence ( ) : void

Reset frame sequence.

Private Methods

Method Description
GXDLMSSettings ( bool server ) : System

Constructor.

IncreaseBlockIndex ( ) : void

Increases block index.

IncreaseReceiverSequence ( byte value ) : byte

Increase receiver sequence.

IncreaseSendSequence ( byte value ) : byte

Increase sender sequence.

KeepAlive ( ) : byte

Generates Keep Alive S-frame.

NextSend ( ) : byte

Generates I-frame.

ReceiverReady ( ) : byte

Generates Receiver Ready S-frame.

ResetBlockIndex ( ) : void

Resets block index to default value.

Method Details

CheckFrame() public method

public CheckFrame ( byte frame ) : bool
frame byte
return bool

GXDLMSSettings() public method

Constructor.
public GXDLMSSettings ( ) : System
return System

GXDLMSSettings() public method

Constructor.
public GXDLMSSettings ( GXDLMSObjectCollection objects ) : System
objects GXDLMSObjectCollection
return System

ResetFrameSequence() public method

Reset frame sequence.
public ResetFrameSequence ( ) : void
return void