11#include "Arp/System/Nm/SpecializedPayload.hpp"
12#include "Arp/System/NmPayload/Io/ProfinetStack/PnStationType.hpp"
16namespace Arp {
namespace System {
namespace NmPayload {
namespace Io {
namespace ProfinetStack
25 using ArgumentsType = std::tuple<const char*, PnStationType, bool, bool>;
29 const String& componentName, PnStationType stationType,
bool bfLed,
bool sfLed);
30 String GetComponentName()
const;
31 PnStationType GetStationType()
const;
32 bool GetBfLed()
const;
33 bool GetSfLed()
const;
36 String GetFormatstring(
bool bfLed,
bool sfLed)
const;
37 String LedStateToString(
bool state)
const;
41 const size_t indexComponentName = this->AddField<String>();
42 const size_t indexStationType = this->AddField<PnStationType>();
43 const size_t indexBfLed = this->AddField<bool>();
44 const size_t indexSfLed = this->AddField<bool>();
This class represents the Arp String. The implementation is based on std::string.
Definition: String.hpp:39
Payload class for state changes of PROFINET LEDs
Definition: PnStationStatePayload.hpp:22
std::tuple< const char *, PnStationType, bool, bool > ArgumentsType
ArgumentsType to be used with NonBlockingNotificationRegistration3
Definition: PnStationStatePayload.hpp:25
Base class for custom Payload classes
Definition: SpecializedPayload.hpp:44
SpecializedPayload(const Notification ¬ification)
Creates a view on a Notification object
Definition: SpecializedPayload.hpp:211
Root namespace for the PLCnext API