dnp3
0.9.0
|
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... | |
Outstation configuration
|
inline |
Initialize OutstationConfig to default values
outstationAddress | Link-layer outstation address |
masterAddress | Link-layer master address |
ClassZeroConfig dnp3.OutstationConfig.ClassZero = new ClassZeroConfig() |
Controls responses to Class 0 reads
TimeSpan dnp3.OutstationConfig.ConfirmTimeout = TimeSpan.FromMilliseconds(5000) |
Confirmation timeout
Default value is 5s
DecodeLevel dnp3.OutstationConfig.DecodeLevel = new DecodeLevel() |
Decoding level
OutstationFeatures dnp3.OutstationConfig.Features = new OutstationFeatures() |
Optional features
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
ushort dnp3.OutstationConfig.MasterAddress |
Link-layer master address
ushort dnp3.OutstationConfig.MaxControlsPerRequest = (ushort)64 |
Maximum number of controls in a single request.
Default value is 64
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
uint dnp3.OutstationConfig.MaxUnsolicitedRetries = (uint)4294967295 |
Maximum number of unsolicited retries
Default value is 4294967295
ushort dnp3.OutstationConfig.OutstationAddress |
Link-layer outstation address
ushort dnp3.OutstationConfig.RxBufferSize = (ushort)2048 |
Receive buffer size
Must be at least 249 bytes
Default value is 2048
TimeSpan dnp3.OutstationConfig.SelectTimeout = TimeSpan.FromMilliseconds(5000) |
Select timeout
Default value is 5s
ushort dnp3.OutstationConfig.SolicitedBufferSize = (ushort)2048 |
Solicited response buffer size
Must be at least 249 bytes
Default value is 2048
ushort dnp3.OutstationConfig.UnsolicitedBufferSize = (ushort)2048 |
Unsolicited response buffer size
Must be at least 249 bytes
Default value is 2048
TimeSpan dnp3.OutstationConfig.UnsolicitedRetryDelay = TimeSpan.FromMilliseconds(5000) |
Delay to wait before retrying an unsolicited response
Default value is 5s