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

Restart delay used by IOutstationApplication.ColdRestart and IOutstationApplication.WarmRestart More...

Public Member Functions

 RestartDelay (RestartDelayType restartType, ushort value)
 Initialize RestartDelay to default values More...
 

Static Public Member Functions

static RestartDelay NotSupported ()
 Creates a restart delay that indicates that this operation is not supported. More...
 
static RestartDelay ValidSeconds (ushort value)
 Creates a restart delay with a value specified in seconds. More...
 
static RestartDelay ValidMillis (ushort value)
 Creates a restart delay with a value specified in milliseconds. More...
 

Public Attributes

RestartDelayType RestartType
 Indicates what RestartDelay.Value is. More...
 
ushort Value
 Expected delay before the outstation comes back online. More...
 

Detailed Description

Restart delay used by IOutstationApplication.ColdRestart and IOutstationApplication.WarmRestart

If RestartDelay.RestartType is not RestartDelayType.NotSupported, then the RestartDelay.Value is valid. Otherwise, the outstation will return IIN2.0 NO_FUNC_CODE_SUPPORT.

Constructor & Destructor Documentation

◆ RestartDelay()

dnp3.RestartDelay.RestartDelay ( RestartDelayType  restartType,
ushort  value 
)
inline

Initialize RestartDelay to default values

Parameters
restartTypeIndicates what RestartDelay.Value is.
valueExpected delay before the outstation comes back online.

Member Function Documentation

◆ NotSupported()

static RestartDelay dnp3.RestartDelay.NotSupported ( )
inlinestatic

Creates a restart delay that indicates that this operation is not supported.

Returns
Unsupported restart delay

◆ ValidMillis()

static RestartDelay dnp3.RestartDelay.ValidMillis ( ushort  value)
inlinestatic

Creates a restart delay with a value specified in milliseconds.

Returns
Valid restart delay

◆ ValidSeconds()

static RestartDelay dnp3.RestartDelay.ValidSeconds ( ushort  value)
inlinestatic

Creates a restart delay with a value specified in seconds.

Returns
Valid restart delay

Member Data Documentation

◆ RestartType

RestartDelayType dnp3.RestartDelay.RestartType

Indicates what RestartDelay.Value is.

◆ Value

ushort dnp3.RestartDelay.Value

Expected delay before the outstation comes back online.


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