18 #ifndef MODBUS_MSG_RUN_PERMITTED_WRAPPER_H 19 #define MODBUS_MSG_RUN_PERMITTED_WRAPPER_H 21 #include <prbt_hardware_support/ModbusMsgInStamped.h> 28 using namespace modbus_api::v3;
46 virtual void checkStructuralIntegrity()
const override;
54 bool getRunPermitted()
const;
63 bool hasRunPermitted()
const;
86 #endif // MODBUS_MSG_RUN_PERMITTED_WRAPPER_H static constexpr uint16_t MODBUS_RUN_PERMITTED_FALSE
Wrapper class to add semantic to a raw ModbusMsgInStamped.
bool hasRunPermitted() const
Check if the message contains a RUN_PERMITTED definition.
static const std::string RUN_PERMITTED
bool getRunPermitted() const
Get the RUN_PERMITTED from the Modbus message.
static constexpr uint16_t MODBUS_RUN_PERMITTED_TRUE
Wrapper class to add semantic to a raw ModbusMsgInStamped.
Specifies the meaning of the holding registers.