dnp3 (C++ API) 1.1.0
|
Control Relay Output Block. More...
#include <dnp3.hpp>
Public Member Functions | |
Group12Var1 (const ControlCode &code, uint8_t count, uint32_t on_time, uint32_t off_time) | |
Fully construct Group12Var1 specifying the value of each field. More... | |
Static Public Member Functions | |
static Group12Var1 | from_code (const ControlCode &code) |
Construct a Group12Var1 from a ControlCode. More... | |
Public Attributes | |
ControlCode | code |
Control code. More... | |
uint8_t | count |
Count. More... | |
uint32_t | on_time |
Duration the output drive remains active (in milliseconds) More... | |
uint32_t | off_time |
Duration the output drive remains non-active (in milliseconds) More... | |
Friends | |
class | CppGroup12Var1Friend |
Control Relay Output Block.
dnp3::Group12Var1::Group12Var1 | ( | const ControlCode & | code, |
uint8_t | count, | ||
uint32_t | on_time, | ||
uint32_t | off_time | ||
) |
Fully construct Group12Var1 specifying the value of each field.
code | Control code |
count | Count |
on_time | Duration the output drive remains active (in milliseconds) |
off_time | Duration the output drive remains non-active (in milliseconds) |
|
static |
Construct a Group12Var1 from a ControlCode.
Group12Var1::count = 1, Group12Var1::on_time = 1000 and Group12Var1::off_time = 1000.
code | Control code |
ControlCode dnp3::Group12Var1::code |
Control code.
uint8_t dnp3::Group12Var1::count |
Count.
uint32_t dnp3::Group12Var1::off_time |
Duration the output drive remains non-active (in milliseconds)
uint32_t dnp3::Group12Var1::on_time |
Duration the output drive remains active (in milliseconds)