![]() |
dnp3 (C++ API) 1.6.0
|
Event transferred from master to outstation when the outstation receives a corresponding command. More...
#include <dnp3.hpp>
Public Member Functions | |
| BinaryOutputCommandEvent (uint16_t index, CommandStatus status, bool commanded_state, const Timestamp &time) | |
| Fully construct BinaryOutputCommandEvent specifying the value of each field. More... | |
Public Attributes | |
| uint16_t | index |
| Index of the binary command event. More... | |
| CommandStatus | status |
| Status from processing the command that triggered this event. More... | |
| bool | commanded_state |
| Commanded state of the binary output. More... | |
| Timestamp | time |
| Associated timestamp. More... | |
Friends | |
| class | CppBinaryOutputCommandEventFriend |
Event transferred from master to outstation when the outstation receives a corresponding command.
Maps to group 13 variations 1 and 2.
These objects are part of subset level 4 and are not commonly used.
| dnp3::BinaryOutputCommandEvent::BinaryOutputCommandEvent | ( | uint16_t | index, |
| CommandStatus | status, | ||
| bool | commanded_state, | ||
| const Timestamp & | time | ||
| ) |
Fully construct BinaryOutputCommandEvent specifying the value of each field.
| index | Index of the binary command event |
| status | Status from processing the command that triggered this event |
| commanded_state | Commanded state of the binary output |
| time | Associated timestamp |
| bool dnp3::BinaryOutputCommandEvent::commanded_state |
Commanded state of the binary output.
From the spec: 0 = Latch Off / Trip / NULL, 1 = Latch On / Close. Where the commanded state is unknown, the commanded state flag shall be 0.
| uint16_t dnp3::BinaryOutputCommandEvent::index |
Index of the binary command event.
| CommandStatus dnp3::BinaryOutputCommandEvent::status |
Status from processing the command that triggered this event.
| Timestamp dnp3::BinaryOutputCommandEvent::time |
Associated timestamp.