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

CROB (G12v1) control code More...

Public Member Functions

 ControlCode (TripCloseCode tcc, bool clear, OpType opType)
 Initialize ControlCode to default values More...
 

Public Attributes

TripCloseCode Tcc
 This field is used in conjunction with the op_type field to specify a control operation More...
 
bool Clear
 Support for this field is optional. When the clear bit is set, the device shall remove pending control commands for that index and stop any control operation that is in progress for that index. The indexed point shall go to the state that it would have if the command were allowed to complete normally. More...
 
bool Queue = false
 This field is obsolete and should always be 0 More...
 
OpType OpType
 This field is used in conjunction with the tcc field to specify a control operation More...
 

Detailed Description

CROB (G12v1) control code

Constructor & Destructor Documentation

◆ ControlCode()

dnp3.ControlCode.ControlCode ( TripCloseCode  tcc,
bool  clear,
OpType  opType 
)
inline

Initialize ControlCode to default values

Parameters
tccThis field is used in conjunction with the op_type field to specify a control operation
clearSupport for this field is optional. When the clear bit is set, the device shall remove pending control commands for that index and stop any control operation that is in progress for that index. The indexed point shall go to the state that it would have if the command were allowed to complete normally.
opTypeThis field is used in conjunction with the tcc field to specify a control operation

Member Data Documentation

◆ Clear

bool dnp3.ControlCode.Clear

Support for this field is optional. When the clear bit is set, the device shall remove pending control commands for that index and stop any control operation that is in progress for that index. The indexed point shall go to the state that it would have if the command were allowed to complete normally.

◆ OpType

OpType dnp3.ControlCode.OpType

This field is used in conjunction with the tcc field to specify a control operation

◆ Queue

bool dnp3.ControlCode.Queue = false

This field is obsolete and should always be 0

Default value is false

◆ Tcc

TripCloseCode dnp3.ControlCode.Tcc

This field is used in conjunction with the op_type field to specify a control operation


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