/** * @RDE_HEADER@ * Header file which holds all occuring JSON keys * $Id$ * $HeadURL$ * $Author$ * Created by Philipp Dassow, SLST, 2017-12-05 */ #pragma once #include #include 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