Block qualifier: whether a Set operation is temporary or permanent.
More...
#include <dcp.h>
|
| static std::string | GetName (std::uint16_t qualifier) |
| | Get the human-readable name for a qualifier value.
|
| |
|
| static constexpr std::uint16_t | TEMPORARY = 0x0000 |
| | Change applies until the next power cycle only.
|
| |
| static constexpr std::uint16_t | PERMANENT = 0x0001 |
| | Change is persisted permanently.
|
| |
Block qualifier: whether a Set operation is temporary or permanent.
Definition at line 274 of file dcp.h.
◆ GetName()
| std::string profinet::dcp::BlockQualifier::GetName |
( |
std::uint16_t |
qualifier | ) |
|
|
static |
Get the human-readable name for a qualifier value.
- Parameters
-
| qualifier | Raw qualifier value. |
- Returns
- "Temporary", "Permanent", or an "Unknown (0xXXXX)" fallback.
Definition at line 359 of file dcp.cpp.
References profinet::Hex4().
◆ PERMANENT
| constexpr std::uint16_t profinet::dcp::BlockQualifier::PERMANENT = 0x0001 |
|
staticconstexpr |
Change is persisted permanently.
Definition at line 281 of file dcp.h.
◆ TEMPORARY
| constexpr std::uint16_t profinet::dcp::BlockQualifier::TEMPORARY = 0x0000 |
|
staticconstexpr |
Change applies until the next power cycle only.
Definition at line 278 of file dcp.h.
The documentation for this struct was generated from the following files: