/** * The Uas class represents a Uas. It holds the data and offers some conversion methods. * $Id$ * $HeadURL$ * $Author$ * Created by Hannes Fritsche, ESZS, 2025-04-08 */ #pragma once #include #include namespace ParticipantManagement { namespace UasHandling { class Uas { public: explicit Uas(const Database::PpmUas &data) : m_data(data) {} int32_t id() const; int32_t participantId() const; Database::PpmUas toDbUas() const; UAS toDdsUas() const; bool hasChanges(const CreateModifyUasRequest &request); void unlinkUas(); void setState(const ProjectDataManagement::UasState &newState); bool compareHostname( const QString &hostname); bool compareHostPort(int hostport); private: Database::PpmUas m_data; }; } // namespace UasHandling } // namespace ParticipantManagement