Files
qt5-legatus-legacy/Lts/Services/ParticipantManagement/WebSocketInterface/json_keys.h
T
2026-08-13 18:33:10 +02:00

36 lines
1.2 KiB
C++
Executable File

/**
* @RDE_HEADER@
* Header file which holds all occuring JSON keys
* $Id$
* $HeadURL$
* $Author$
* Created by Philipp Dassow, SLST, 2017-12-05
*/
#pragma once
#include <QString>
#include <OcBaseDownload/WebSocketInterface/json_keys.h>
namespace ParticipantManagement
{
namespace WebSocketInterface
{
/**
* @brief Namespace which holds all occuring JSON keys as const QString objects
*/
namespace JsonKeys
{
// types for client --> server messages
inline QString EQUIPMENT_NR() { return QStringLiteral("equipmentNr"); }
// types for server --> client messages
inline QString EQUIPMENT_TYPE_BASE_DATA() { return QStringLiteral("equipmentTypeBaseData"); }
inline QString TYPE_BASE_DATA() { return QStringLiteral("typeBaseData"); }
inline QString PARTY_BASE_DATA() { return QStringLiteral("partyBaseData"); }
inline QString PARTICIPANT_BASE_DATA() { return QStringLiteral("participantBaseData"); }
inline QString OC_POSITION_DATA() { return QStringLiteral("ocPositionData"); }
} // namespace JsonKeys
} // namespace WebSocketInterface
} // namespace ParticipantManagement