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

Outstation configuration More...

Public Member Functions

 OutstationConfig (ushort outstationAddress, ushort masterAddress)
 Initialize OutstationConfig to default values More...
 

Public Attributes

ushort OutstationAddress
 Link-layer outstation address More...
 
ushort MasterAddress
 Link-layer master address More...
 
ushort SolicitedBufferSize = (ushort)2048
 Solicited response buffer size More...
 
ushort UnsolicitedBufferSize = (ushort)2048
 Unsolicited response buffer size More...
 
ushort RxBufferSize = (ushort)2048
 Receive buffer size More...
 
DecodeLevel DecodeLevel = new DecodeLevel()
 Decoding level More...
 
TimeSpan ConfirmTimeout = TimeSpan.FromMilliseconds(5000)
 Confirmation timeout More...
 
TimeSpan SelectTimeout = TimeSpan.FromMilliseconds(5000)
 Select timeout More...
 
OutstationFeatures Features = new OutstationFeatures()
 Optional features More...
 
uint MaxUnsolicitedRetries = (uint)4294967295
 Maximum number of unsolicited retries More...
 
TimeSpan UnsolicitedRetryDelay = TimeSpan.FromMilliseconds(5000)
 Delay to wait before retrying an unsolicited response More...
 
TimeSpan KeepAliveTimeout = TimeSpan.FromMilliseconds(60000)
 Delay of inactivity before sending a REQUEST_LINK_STATUS to the master More...
 
ushort MaxReadRequestHeaders = (ushort)64
 Maximum number of headers that will be processed in a READ request. More...
 
ushort MaxControlsPerRequest = (ushort)64
 Maximum number of controls in a single request. More...
 
ClassZeroConfig ClassZero = new ClassZeroConfig()
 Controls responses to Class 0 reads More...
 

Detailed Description

Outstation configuration

Constructor & Destructor Documentation

◆ OutstationConfig()

dnp3.OutstationConfig.OutstationConfig ( ushort  outstationAddress,
ushort  masterAddress 
)
inline

Initialize OutstationConfig to default values

Parameters
outstationAddressLink-layer outstation address
masterAddressLink-layer master address

Member Data Documentation

◆ ClassZero

ClassZeroConfig dnp3.OutstationConfig.ClassZero = new ClassZeroConfig()

Controls responses to Class 0 reads

◆ ConfirmTimeout

TimeSpan dnp3.OutstationConfig.ConfirmTimeout = TimeSpan.FromMilliseconds(5000)

Confirmation timeout

Default value is 5s

◆ DecodeLevel

DecodeLevel dnp3.OutstationConfig.DecodeLevel = new DecodeLevel()

Decoding level

◆ Features

OutstationFeatures dnp3.OutstationConfig.Features = new OutstationFeatures()

Optional features

◆ KeepAliveTimeout

TimeSpan dnp3.OutstationConfig.KeepAliveTimeout = TimeSpan.FromMilliseconds(60000)

Delay of inactivity before sending a REQUEST_LINK_STATUS to the master

A value of zero means no automatic keep-alives.

Default value is 60s

◆ MasterAddress

ushort dnp3.OutstationConfig.MasterAddress

Link-layer master address

◆ MaxControlsPerRequest

ushort dnp3.OutstationConfig.MaxControlsPerRequest = (ushort)64

Maximum number of controls in a single request.

Default value is 64

◆ MaxReadRequestHeaders

ushort dnp3.OutstationConfig.MaxReadRequestHeaders = (ushort)64

Maximum number of headers that will be processed in a READ request.

Internally, this controls the size of a pre-allocated buffer used to process requests. A minimum value of DEFAULT_READ_REQUEST_HEADERS is always enforced. Requesting more than this number will result in the PARAMETER_ERROR IIN bit being set in the response.

Default value is 64

◆ MaxUnsolicitedRetries

uint dnp3.OutstationConfig.MaxUnsolicitedRetries = (uint)4294967295

Maximum number of unsolicited retries

Default value is 4294967295

◆ OutstationAddress

ushort dnp3.OutstationConfig.OutstationAddress

Link-layer outstation address

◆ RxBufferSize

ushort dnp3.OutstationConfig.RxBufferSize = (ushort)2048

Receive buffer size

Must be at least 249 bytes

Default value is 2048

◆ SelectTimeout

TimeSpan dnp3.OutstationConfig.SelectTimeout = TimeSpan.FromMilliseconds(5000)

Select timeout

Default value is 5s

◆ SolicitedBufferSize

ushort dnp3.OutstationConfig.SolicitedBufferSize = (ushort)2048

Solicited response buffer size

Must be at least 249 bytes

Default value is 2048

◆ UnsolicitedBufferSize

ushort dnp3.OutstationConfig.UnsolicitedBufferSize = (ushort)2048

Unsolicited response buffer size

Must be at least 249 bytes

Default value is 2048

◆ UnsolicitedRetryDelay

TimeSpan dnp3.OutstationConfig.UnsolicitedRetryDelay = TimeSpan.FromMilliseconds(5000)

Delay to wait before retrying an unsolicited response

Default value is 5s


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