dnp3  0.9.0
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
dnp3.EventBufferConfig Class Reference

Maximum number of events for each type More...

Public Member Functions

 EventBufferConfig (ushort maxBinary, ushort maxDoubleBitBinary, ushort maxBinaryOutputStatus, ushort maxCounter, ushort maxFrozenCounter, ushort maxAnalog, ushort maxAnalogOutputStatus, ushort maxOctetString)
 Initialize EventBufferConfig to default values More...
 

Static Public Member Functions

static EventBufferConfig AllTypes (ushort max)
 Initialize an event buffer configuration with the same maximum values for all types More...
 
static EventBufferConfig NoEvents ()
 Initialize an event buffer configuration to support no events More...
 

Public Attributes

ushort MaxBinary
 Maximum number of Binary Input events (g2) More...
 
ushort MaxDoubleBitBinary
 Maximum number of Double-Bit Binary Input events (g4) More...
 
ushort MaxBinaryOutputStatus
 Maximum number of Binary Output Status events (g11) More...
 
ushort MaxCounter
 Maximum number of Counter events (g22) More...
 
ushort MaxFrozenCounter
 Maximum number of Frozen Counter events (g23) More...
 
ushort MaxAnalog
 Maximum number of Analog Input events (g32) More...
 
ushort MaxAnalogOutputStatus
 Maximum number of Analog Output Status events (g42) More...
 
ushort MaxOctetString
 Maximum number of Octet String events (g111) More...
 

Detailed Description

Maximum number of events for each type

A value of zero means that events will not be buffered for that type.

Constructor & Destructor Documentation

◆ EventBufferConfig()

dnp3.EventBufferConfig.EventBufferConfig ( ushort  maxBinary,
ushort  maxDoubleBitBinary,
ushort  maxBinaryOutputStatus,
ushort  maxCounter,
ushort  maxFrozenCounter,
ushort  maxAnalog,
ushort  maxAnalogOutputStatus,
ushort  maxOctetString 
)
inline

Initialize EventBufferConfig to default values

Parameters
maxBinaryMaximum number of Binary Input events (g2)
maxDoubleBitBinaryMaximum number of Double-Bit Binary Input events (g4)
maxBinaryOutputStatusMaximum number of Binary Output Status events (g11)
maxCounterMaximum number of Counter events (g22)
maxFrozenCounterMaximum number of Frozen Counter events (g23)
maxAnalogMaximum number of Analog Input events (g32)
maxAnalogOutputStatusMaximum number of Analog Output Status events (g42)
maxOctetStringMaximum number of Octet String events (g111)

Member Function Documentation

◆ AllTypes()

static EventBufferConfig dnp3.EventBufferConfig.AllTypes ( ushort  max)
inlinestatic

Initialize an event buffer configuration with the same maximum values for all types

Returns
Event buffer configuration

◆ NoEvents()

static EventBufferConfig dnp3.EventBufferConfig.NoEvents ( )
inlinestatic

Initialize an event buffer configuration to support no events

Returns
Event buffer configuration

Member Data Documentation

◆ MaxAnalog

ushort dnp3.EventBufferConfig.MaxAnalog

Maximum number of Analog Input events (g32)

◆ MaxAnalogOutputStatus

ushort dnp3.EventBufferConfig.MaxAnalogOutputStatus

Maximum number of Analog Output Status events (g42)

◆ MaxBinary

ushort dnp3.EventBufferConfig.MaxBinary

Maximum number of Binary Input events (g2)

◆ MaxBinaryOutputStatus

ushort dnp3.EventBufferConfig.MaxBinaryOutputStatus

Maximum number of Binary Output Status events (g11)

◆ MaxCounter

ushort dnp3.EventBufferConfig.MaxCounter

Maximum number of Counter events (g22)

◆ MaxDoubleBitBinary

ushort dnp3.EventBufferConfig.MaxDoubleBitBinary

Maximum number of Double-Bit Binary Input events (g4)

◆ MaxFrozenCounter

ushort dnp3.EventBufferConfig.MaxFrozenCounter

Maximum number of Frozen Counter events (g23)

◆ MaxOctetString

ushort dnp3.EventBufferConfig.MaxOctetString

Maximum number of Octet String events (g111)


The documentation for this class was generated from the following file: