dnp3 (C++ API) 1.6.0
Loading...
Searching...
No Matches
dnp3::AnalogOutputCommandEvent Struct Reference

Event transferred from master to outstation when the outstation receives a corresponding command. More...

#include <dnp3.hpp>

Public Member Functions

 AnalogOutputCommandEvent (uint16_t index, CommandStatus status, double commanded_value, AnalogCommandType command_type, const Timestamp &time)
 Fully construct AnalogOutputCommandEvent specifying the value of each field. More...
 

Public Attributes

uint16_t index
 Index of the command event. More...
 
CommandStatus status
 Status from processing the command that triggered this event. More...
 
double commanded_value
 Commanded state of the binary output. More...
 
AnalogCommandType command_type
 Describes how the value was encoded in the protocol. More...
 
Timestamp time
 Associated timestamp. More...
 

Friends

class CppAnalogOutputCommandEventFriend
 

Detailed Description

Event transferred from master to outstation when the outstation receives a corresponding command.

Maps to group 43 variations 1 to 8.

These objects are part of subset level 4 and are not commonly used.

Constructor & Destructor Documentation

◆ AnalogOutputCommandEvent()

dnp3::AnalogOutputCommandEvent::AnalogOutputCommandEvent ( uint16_t  index,
CommandStatus  status,
double  commanded_value,
AnalogCommandType  command_type,
const Timestamp time 
)

Fully construct AnalogOutputCommandEvent specifying the value of each field.

Parameters
indexIndex of the command event
statusStatus from processing the command that triggered this event
commanded_valueCommanded state of the binary output
command_typeDescribes how the value was encoded in the protocol
timeAssociated timestamp
Returns
New instance of AnalogOutputCommandEvent

Member Data Documentation

◆ command_type

AnalogCommandType dnp3::AnalogOutputCommandEvent::command_type

Describes how the value was encoded in the protocol.

◆ commanded_value

double dnp3::AnalogOutputCommandEvent::commanded_value

Commanded state of the binary output.

All of the variations in group 43 are mapped to double-precision floats

◆ index

uint16_t dnp3::AnalogOutputCommandEvent::index

Index of the command event.

◆ status

CommandStatus dnp3::AnalogOutputCommandEvent::status

Status from processing the command that triggered this event.

◆ time

Timestamp dnp3::AnalogOutputCommandEvent::time

Associated timestamp.


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